If you need to change the role to root or other, which of the following you use?
-
userchange
-
logas
-
su
-
uchangeto
C
Correct answer
Explanation
The 'su' command (short for substitute user or switch user) is the standard Unix/Linux command used to change to another user account, most commonly root. When executed without arguments, it attempts to switch to root and prompts for the root password. Modern systems also use 'sudo' for temporary privilege escalation, but su is the direct user-switching tool.