Original Question:
I'm trying to configure sudo to give certain users
access to chown/chgrp/rm, but I only want to allow
these users access to do it on certain directories.
I heard something about wiz/opcomm which would allow
me to configure it in such a way so that I wouldn't
have to write some kind of wrapper.
Does anyone know where I can find wiz/opcomm?
Summary:
My thanks to everyone for responding, especially Rene
for letting me know that sudo can handle allow for
certain users to perform a limited function on
selected directories:
Rene B Casalme <rene.casalme@hsc.hac.com>
Harvey Wamboldt <harvey@iotek.ns.ca>
Igor Schein <igor@bob.air-boston.com>
Mariel Feder <mfeder@central.meralco.com.ph>
You might be able to find wizcom at math.berkeley.edu,
and also check out http://www.sunfreeware.com.
In the /etc/sudoers file:
Cmnd_Alias TEST=/usr/bin/chown joe
/this/directory/*,\
/usr/bin/chgrp joegroup
/this/directory/*,\
/usr/bin/rm /this/directory/*
gooduser hostname=TEST
--- Ju julienlim@rocketmail.com_________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:35 CDT