Difference between su and root
by Sanju[ Edit ] 2009-11-07 08:11:58
Difference between su and root
1. As you login as "root" right from booting the system, all the privileges are set to root, what makes your system more vulnerable to your own mistakes and those wishing to enter your system.
2. As you login as normal user, the privileges are limited, thus it┤s safer. To be able to do administrative tasks you can temporally login as root using "su" in a console/terminal, that way the root privileges are limited to the actions you do in the console (and the applications you start from the console). So the rest of the system is still in "normal user" mode, and this makes it safer.
3. We do use the same password for "su" and "root", but once you are logged in as normal user, typing "root" in console/terminal will only give you "bash: root: command not found".