run as any user *except* root
Georges kesseler
kesseler at Cetrel.LU
Tue Jan 20 03:39:26 EST 2004
This electronic message is not binding on its sender nor on Cetrel S.C.
Any use of information of this mail except the use by the addressee
within his or her business relation with Cetrel is strictly forbidden
CETREL S.C. L-2956 Luxembourg; Tel: 00352 35566-1; http://www.cetrel.lu
=======================================================================
I tried this but it does not work (version 1.6.6)
myuser mymachine = (! root) /usr/bin/pwd
mymachine(myuser): sudo -l
(!root) /usr/bin/pwd
mymachine(myuser):sudo -u wwwuser /usr/bin/pwd #this should work
Sorry, user myuser is not allowed to execute '/usr/bin/pwd' as wwwuser
on mymachine.
mymachine(myuser):sudo /usr/bin/pwd # this should refuse
Sorry, user myuser is not allowed to execute '/usr/bin/pwd' as root on
mymachie.
Georges
More information about the sudo-users
mailing list