What would you do to fix this error and change the root password successfully?

You forgot the root password of the system. The single-user mode is also set to ask for the root
password during login. You entered the rescue mode to fix this trouble and received an error as
shown below:
Your system is mounted under the /mnt/sysimage directory. When finished please exit from the
shell and your system will reboot.
-/bin/sh-3.00# passwd
Changing password for user root.
passwd: unable to start pam
-/bin/sh-3.00#
What would you do to fix this error and change the root password successfully?

You forgot the root password of the system. The single-user mode is also set to ask for the root
password during login. You entered the rescue mode to fix this trouble and received an error as
shown below:
Your system is mounted under the /mnt/sysimage directory. When finished please exit from the
shell and your system will reboot.
-/bin/sh-3.00# passwd
Changing password for user root.
passwd: unable to start pam
-/bin/sh-3.00#
What would you do to fix this error and change the root password successfully?

A.
Security Enhanced Linux (SELinux) should be disabled on the system.

B.
The /boot file system should be mounted on the /mnt/sysimage directory in rescue mode.

C.
The / (root) file system should be mounted on the /mnt/sysimage directory in rescue mode.

D.
The root environment should be changed to /mnt/sysimage using the chroot /mnt/sysimage
command.



Leave a Reply 0

Your email address will not be published. Required fields are marked *