Search Engine



RedhatEnterpriseLinux Blog

The Difference of SU AND ROOT

There have been many questions about, what is the difference between “su” and “root” . . well, the difference is minimal but still very important.

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.
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. So the rest of the system is still in “normal user” mode, and this makes it safer.
We do use the same password for “su” and “root”, but once you are logged in as normal user, typing “root” in terminal will only give you “bash: root: command not found”.


Post a Comment

Powered by Blogger.


Copyright © Redhat Enterprise linux. Original Concept and Design by My Blogger Themes
My name is Abdul Razaq but people call me Raziq. Here is my home page: I live in Quetta, Pakistan and work as an IT-Engineer.