[CentOS] Wheel and YUM!!

Stephen Harris lists at spuddy.org
Fri Jun 27 14:31:07 UTC 2008


On Fri, Jun 27, 2008 at 10:17:22AM -0400, Jason Pyeron wrote:

> jpyeron ALL=(ALL) NOPASSWD: ALL
> 
> ## allows user jpyeron logged in from ALL locations to act as ALL users without

Not logged in _from_ all locations; logged in _to_ all machines which have
that sudoers file.

eg
  jpyeron A=(root) /bin/cat /etc/A
  jpyeron B=(root) /bin/cat /etc/B
  jpyeron ALL=(root) /bin/cat /etc/C
means that on machine A you can cat /etc/A and on machine B you can
/etc/B and on all machines you can cat /etc/C.

This allows you to have one centrally controlled sudoers file but have
machine specific privileges.

-- 

rgds
Stephen



More information about the CentOS mailing list