vmwarecv1
asked on
sudo su - <appid>, understanding sudo
Hi Experts,
I have to provide user sudo access to application account, my usual way is to edit sudoers with /bin/sudo su - <appid>, is this the best approach or /usr/bin/sudo -u <appid> -i
Does su mean "switch user" or "super user"
I have to provide user sudo access to application account, my usual way is to edit sudoers with /bin/sudo su - <appid>, is this the best approach or /usr/bin/sudo -u <appid> -i
Does su mean "switch user" or "super user"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can just vi the /etc/sudoers file and add your changes that way.
http://www.gratisoft.us/sudo/man/sudoers.html
su is switch user when used with username and supper user (root) when used with no user name :)