root passwor change

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
lolaferrariAsked:
Who is Participating?
 
kinseyCommented:
How did you cahnge the root passwd?
$ su - root
# passwd root
# exit
should work
or
sudo passwd root
0
 
lolaferrariAuthor Commented:
passwd root to change it
0
 
wesly_chenCommented:
> 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
 
asifbeCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.