If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
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.
(more…)
Tags:
restrict su command to superuser,
restrict su command to superuser in linux,
super user linux