Sudo access requirement
Hi All,
I am facing following problem. We are having 2 user named jzappa and imany. right now jzappa have sudo access but we have to remove it now.imany have sudo access. Now user need to able to 'su' to imany from jzappa and then to 'sudo su' to root from imany. How to make entry in /etc/sudoers files. Ranjit Rajput |
I'm not certain what your trying to do here... do you want sudo privileges without a password? are you trying to get each account sudo privileges?
|
Sudo access
Thanks...
i want 1)jzappa user only able to su to imany user.2)imany user is able to sudo su to root. how to make entry in /etc/sudoers ? Ranjit |
Quote:
If the jzappa users logs in, and can su to imany, and from THERE, get root access, they can easily edit anything they want, including the sudoers file. What you're describing is pointless. I suggest you read the sudoers manual, and see any of the examples you can find online. http://www.gratisoft.us/sudo/sudoers.man.html http://serverfault.com/questions/367...users-commands You can put Code:
User_Alias RESUSER = jzappa |
Hi
after putting below, it is asking for password for imany.I dont want that when i switch from jzappa to imany it dont ask for password. User_Alias RESUSER = jzappa RESUSER ALL = NOPASSWD: !/usr/bin/su,/bin/su imany Kindly suggest. |
Quote:
|
All times are GMT -5. The time now is 11:24 PM. |