Link to home
Start Free TrialLog in
Avatar of vmwarecv1
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"
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
please see

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 :)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can just vi the /etc/sudoers file and add your changes that way.