Tired of SUDO? Go for the root!

lol Since shifting to Ubuntu, i was destabilized by one thing, to get access to some folders you needed to use the SUDO command in the terminal.

Thus, when trying to implement my Blog Sandbox technique into ubuntu, i found i couldnt work at all for any modification would require me entering the sudo command followed by my instructions. granted, it works and is kind of safe ) but wouldnt it be nice to get full write/edit ability in the gui itself? perso i prefer New folder->cut->paste to
sudo mkdir etc…
So here is how to gain root access in UBUNTU.

Warning

Dont do this unless you know what you are doing. it is really easy to mess up your system in root so be cautious! )

To gain root access:

go to menu -> system -> administration -> users and groups
and enter your password (the one you use to log in your account on ubuntu.)

In the list click root and click the properties button

Set the password by hand, it can be any password, not just your normal ubuntu account password.

Ok -> Close, log out and when you are asked for username and password, enter root and the password set above.

DONE!!! you now have full access to all dirs and files!! )

>>Jump to comment form, or trackback from your own site.



4 Responses to “Tired of SUDO? Go for the root!”

  1. See my profile on MyBlogLog.com! leo Says:

    Chris, Sudo su does the same thing as what avinash said.

    Also, if you need root gui access, in kde just do a kdesu konqueror (or any program you need to run with admin privileges) or for gnome do a gksudo nautilus (Or any program you need)

  2. See my profile on MyBlogLog.com! Hans Says:

    grinnod you blogged that first ;P yeah it’s just the same trick that I came with …..allowing you to gain root access through the login screen….. :sly:

  3. See my profile on MyBlogLog.com! kyu Says:

    @ Avinash Thanks for the tip! yeah, surely makes the whole thing simpler! ) =D

  4. See my profile on MyBlogLog.com! Avinash Meetoo Says:

    You can also simply log in as the first user (i.e. the one that can use sudo) and type:

    sudo -H -s

    VoilĂ ! You’ll get a fully functional root prompt. One added benefit is that you don’t have to assign a password for the root user hence (slightly) increasing security (as root logins are not allowed)

Leave a Reply


roll yes =O wink smile =( =P no =| love lol grinnod =D 8) X


This blog is under a Creative Commons licence.

© 2008 Kyusphere