Red_Hat
RH302 · Question #11
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root…
Answers: When you Boot the System, it starts on default Runlevel specified in /etc/inittab: id:?:initdefault: When System Successfully boot, it will ask for username and password. But you don't know the root's password. To change the root password you need to boot the system…
Process and Service Management
Question
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.
Explanation
Answers: When you Boot the System, it starts on default Runlevel specified in /etc/inittab: id:?:initdefault: When System Successfully boot, it will ask for username and password. But you don't know the root's password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader.
- Restart the System.
- You will get the boot loader GRUB screen.
- Press a and type 1 or s for single mode ro root=LABEL=/ rhgb queit s
- System will boot on Single User mode.
Topics
#root password recovery#single user mode#runlevel#GRUB
Community Discussion
No community discussion yet for this question.