suid programs

From: Date: Wed, 12 Jul 2000 11:02:31 +0000
Subject: suid programs
Groups: php.general 
Request: Send a blank email to php-general+get-6151@lists.php.net to get a copy of this message
Hello I have written two little suid programs in C, one just stops the webserver, the other starts it. The permissions are 4750 and a user from the web group can run it. Actually I tried it 4755 at which point I could su to nobody and stop and restart the web server. The problem Is when I run the script it always seems to stop web services however doesn't resart them. Anyone know what might be causing this? Thanks Ken http://cleveland.lug.net/~rocket/ The answer is simple if you grant that ironies are like submarines; dangerous only when submerged.

« previous php.general (#6151) next »