Solved

Change root password on RedHat Enterprise Linux 5.3

Posted on 2011-03-08
5
831 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:KRZA30
  • 4
5 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35076053
If you can logon
Enter the command

passwd

Enter the passwd twice
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35076068
This would work too without typing password twice
echo "NewPassWord" | passwd --stdin root

Open in new window

0
 
LVL 31

Expert Comment

by:farzanj
ID: 35076075
You need to be root before you may be able to do it
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 500 total points
ID: 35076112
1) Login as root

2) At the command prompt, type passwd and press ENTER

3) You will be prompted for the current password; enter it

4) You will be prompted for your new password; enter it

5) You will be again prompted for your new password; enter it
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35076147
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
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now