Restrict Linux su command to root

August 28, 2007 — Nikesh

su is run a shell with substitute user and group IDs. su is used to become another user during a login session. Invoked
without a username, su defaults to becoming the super user. The optional argument – may be used to provide an environment similar to what the user would expect had the user logged in directly. read more…