su - userX (allow anyone to issue su command to userX) - nopasswd
Hi,
I have several users that belong to a group - group1. I would like to allow all users from group1 in using - su command and to the user5, for exemple, that also belong to group1, but no password is required.
How can I define it on sudoers file?
this user5 is a normal user, it is not an admin, and it cannot su to root.
the user5 will execute a script after this su, and then it must return to user that called it.
tks
|