Followers

Wednesday, November 11, 2009

How to change the root password in Ubuntu

I have some unix experience, but I am new to ubuntu and still in WinXP thought-mode. I recently installed ubuntu and noticed that when I did a sudo the system asked for my password, the user pw that I entered when I installed ubuntu.



So in a ubuntu terminal I changed the root pw:

$ sudo passwd

So now I have a changed root pw, but when I do a:

$ su

I am prompted for a password, but when I do a:

$ sudo su

0 comments: