If you receive a "su: Authentication failure" error message when su
trying to switch to root
the user using the command, there are several possible causes:
-
Password error: The password you entered
root
for the user is incorrect. -
root
User account disabled: The system administrator may have disabledroot
the user account, or made its password unavailable. -
su
Command disabled: The system administrator may have disabledsu
the command, or restricted which users can usesu
the command.
The way to solve this problem:
-
Confirm
root
User is Enabled: Checkroot
if the user is disabled. Ifroot
the user has been disabled, you will need to contact your system administrator for assistance. -
Confirm
su
that the command is available: Check to seesu
if the command has been disabled, or restricted which users can use the command. If this is the case, you will need to contact your system administrator for assistance. -
Enter sudo passwd root to reset the password, and enter the new password to log in after reset.