• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4338
  • Last Modified:

RHEL 5 Root Password Change

I am running Red Hat Enterprise Linux 5.0 and need to change the root password via command line.  How do I do this?
0
deklinm
Asked:
deklinm
1 Solution
 
omarfaridCommented:
after login as root and from command line run

passwd
0
 
dainokCommented:
If you have lost the password, you should reboot the system. During Grub splashscreen press ESC to stop the counter, select the right entry (it should be the top most), press e to edit and append a 1 to the kernel line. Now press b to boot. You should reach the prompt, type passwd to change the root password and then reboot.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now