• 1
When you are logged in to a shell as a user and want to become root, you should use su. (Or better yet sudo)
I'm not seeing any advantage to using sudo. Indeed, the horrendous abuse of sudo perpetrated by Ubuntu (and Debian?) arguably makes the system less secure.

I am talking about using sudo to give limited privs to the admin account. For example only allow the admin to execute a script through sudo, or better yet, use SELinux confined administrators and sudo to control what a shell running with UID =0 can do.

  • 1

Log in