[SLUG] shutdown: you must be root to do that!

Gavin Baker gav at supercowpowers.org
Thu Aug 21 16:33:00 BST 2003


oops

On Thu, 2003-08-21 at 12:44, Gavin Baker wrote:

> <snip>
> If we only want users from a special group to be able to execute it, we
> can just make it only executable by the owner and group
> 
> 	$ chmod g-wrx /sbin/shutdown (giving -rwsr-x---)
> <snip>

that should be
	
	$ chmod o-wrx /sbin/shutdown (giving -rwsr-x---)
	        ^^^^^^

of course... just testing.

Gav
	
-- 
Gavin Baker <gav at supercowpowers.org>





More information about the Scarborough mailing list