Quantcast
Channel: How can I allow one user to su to another without allowing root access? - Server Fault
Viewing all articles
Browse latest Browse all 5

Answer by Brent for How can I allow one user to su to another without allowing root access?

$
0
0

Yes, this is possible.

In /etc/sudoers the item immediately following the equals is the user that the command will be allowed to execute as.

tom  ALL=(oracle) /bin/chown tom *

The user (tom) can type sudo -u oracle /bin/chown tom /home/oracle/oraclefile


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>