Quote:
Originally Posted by newbiesforever
Is there any way I can give myself root permissions (preferably for anything) while staying out of the root account? It's my computer and only I use it; I'm obviously the admin; I should be able to do anything I want. If something I'm going to do is unwise, that's mine to find out. (As a lesser issue, I don't like needing passwords on a system no one but me uses.)
|
I'm surprised nobody has mentioned
su. Whenever you temporarily want to do something as root, run it in a
su shell and then logout immediately.
Using
sudo with
maximum privileges is not recommended as it's easy to do things as root without the root password. To use sudo effectively, you need to effectively implement policies as to which user can do what. On the other hand, you don't need so much complexity on a single user machine.
There's a reason why Linux/UNIX restricts normal users from getting root access. Because it's a multi-user operating system and you obviously don't want non-admin users to gain write privileges to system files.
You can always configure to login as
normal user without a password (using one of the desktop managers kdm or gdm), but it's still not recommended, even if you're using it as your own system. Imagine that somebody accidentally gets access to your machine - how would you like them to access your documents?