Solved

root passwor change

Posted on 2011-09-29
4
292 Views
Last Modified: 2012-05-12
if i change the root password - then su to another user and do su - it doesn't like the root password that i enter. i can't test the root password on the console
0
Comment
Question by:lolaferrari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
kinsey earned 500 total points
ID: 36818175
How did you cahnge the root passwd?
$ su - root
# passwd root
# exit
should work
or
sudo passwd root
0
 

Author Comment

by:lolaferrari
ID: 36818660
passwd root to change it
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36818737
> change the root password - then su to another user and do su -
You need to logout root to release the credential after change the root password.
0
 

Expert Comment

by:asifbe
ID: 36909037
first Change the root password then logout and login to get affect the changes, Now you can switch over to user and back to root
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

687 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