restricted chmod - follow up

Smith, Kevin (CAP, GCF) Kevin.Smith3 at
Tue Mar 21 03:32:11 EST 2000


Many thanks to those who responded to my enquiry regarding running a
restricted chmod. {Emil & Matt}

I have found that

!/bin/chmod [1-4]??? * in /etc/sudoers

Appears to work. Basically I wanted to stop users from setting the
sticky/setuid bit on a file.
Upon testing, normal chmod using any octal works and any 'other' bit setting
[between 1 and 4] fails


Kev Smith 
GCF Unix technical support
Kingswood, Bristol, UK
[44] (0)117 991 2645

More information about the sudo-users mailing list