KRZA30
asked on
Change root password on RedHat Enterprise Linux 5.3
I need to change the root password on my Enterprise RedHat Linux 5.3. It is still set to the abc123. Can someone please assist on how to do this from terminal?
This would work too without typing password twice
echo "NewPassWord" | passwd --stdin root
You need to be root before you may be able to do it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you enter as root, you are not asked for your current password. You just have to enter the command passwd, enter the new password twice and bingo, you are done.
If you don't want to enter twice, use the second method I stated above
If you don't want to enter twice, use the second method I stated above
Enter the command
passwd
Enter the passwd twice