Unix administration - sudo file question for solaris 10 ..!

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > July 2007 > sudo file question for solaris 10 ..!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author sudo file question for solaris 10 ..!
Nikunj Khakhar

2007-07-03, 1:20 am

hi all gurus,

i got one line to be enter in sudoers file is below


abc01 ALL=NOWPASSWD: /usr/bin/vxdisk, !/usr/sbin/shutdown, !/usr/
sbin/
reboot, !/usr/bin/sh, !/usr/bin/csh/, !/usr/bin/ksh


any body can help me to understnad why "!" has used before
shutdown,reboot,sh,csh,ksh in this line or our team member has made a
mistake to print.


Your reply would be appriciated..


Thanks and regards,


Nikunj Khakhar

Dave Hinz

2007-07-03, 7:24 am

On Mon, 02 Jul 2007 22:20:43 -0700, Nikunj Khakhar <nikunj.khakhar@gmail.com> wrote:

> abc01 ALL=NOWPASSWD: /usr/bin/vxdisk, !/usr/sbin/shutdown, !/usr/
> sbin/
> reboot, !/usr/bin/sh, !/usr/bin/csh/, !/usr/bin/ksh


> any body can help me to understnad why "!" has used before
> shutdown,reboot,sh,csh,ksh in this line or our team member has made a
> mistake to print.


Are you asking about the operand itself, or about why this policy won't
work very well at all?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com