Why should one use su and not login as root?
Updated -
Several reasons exist as why a user would want to perform system tasks as 'su' opposed to being logged in as 'root'.
-
Several programs need to run as current user in order to perform specific tasks related to that user. If you are logged in as root and run an exploited application your system is comprised.
-
Constantly using 'su' command will more than likely ke...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.