Possible Duplicate:
How can I allow one user to su to another without allowing root access?
We have a user account that our DBAs use (oracle
). I do not want to set a password on this account and want to only allow users in the dba
group to su - oracle
.
How can I accomplish this?
I was thinking of just giving them sudo
access to the su - oracle
command. However, I wouldn't be surprised if there was a more polished/elegant/secure way.