Hey guys, I've just read this post.
A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).
Is there any way to unset the root password? I know how to use sudo now.
Hey guys, I've just read this post.
A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).
Is there any way to unset the root password? I know how to use sudo now.
Yep, you can lock the root account password with:
Code:sudo usermod -p '!' root
Is this the exact same thing as after the installation of Ubuntu?
Is there anything I should take care of?
The following will remove the root account password altogether, thereby making it like it was originally.
* NOTECode:sudo passwd -d root
Nevermind this post. While it disables logging in to root using su, it does allow local terminal access to root without a password so probably NOT what you're looking for.
Last edited by robert_pectol; October 14th, 2010 at 01:56 PM. Reason: updated info
Rob
Yeah, I just realized that my suggestion allows LOCAL terminal logins to root without a password so definitely not how it is by default! I'll make a note on my post above.
Last edited by robert_pectol; October 14th, 2010 at 02:02 PM. Reason: typo correction
Rob
Thanks guys, this helped me.
You're welcome!
Please mark this thread as [SOLVED].
At the top of the page, click the "Thread Tools" menu, then "Mark this thread as Solved".
Thanks.
I did! Thanks again, really great help here.
Bookmarks