Results 11 to 12 of 12
Read these two links. They explain everything you want to know: http://www.psychocats.net/linux/permissions.php https://wiki.ubuntu.com/RootSudo...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2006 #11
- 01-23-2006 #12Originally Posted by noescasa
You are not supposed to be able to access anything except the /home/user folder. Every other folder on your computer is a system directory that only root can access.
Now then, you say you are the only user. This is true. However, you do not want to operate with root permissions, as this is extremely insecure.
Let's say that you have root permissions, and you execute malicious code somehow that executes "rm -Rf /". You have just deleted every single file on your computer.
Now let's say that you have regular permissions and execute that same code. You have deleted ONLY your home directory, and everything else: settings, installed programs, etc. is still perfectly safe.
If you need to do something as root (for example, install a program), you can prefix the command with 'sudo' in order to execute it as though you were root.
In most distros, the way to do this is to run the 'su' command, which would basically switch you into the root account for that session. However, Ubuntu intentionally cripples su because they see it as being a vulnerability.
If you wish to enable su, you can do:
sudo passwd root <enter root password> <enter root password again>
I understand what you want to do: be root always. This is a SEVERE security problem, and is HIGHLY discouraged.