[Sunhelp] Preventing users from suing to root
    James Lockwood 
    james at foonly.com
       
    Sat Dec 11 22:08:13 CST 1999
    
    
  
On Fri, 10 Dec 1999, Douglas R. Floyd wrote:
> > 
> > On Thu, Dec 09, 1999 at 02:21:38PM -0800, Sean Heshmati wrote:
> > > How do I prevent users from su'ing to root on a solaris 2.6 system
> > > utilizing the root group?
> > 
> > chgrp root `which su`
> > chmod 750 `which su`
> 
> er...
> 
> chmod 4750 `which su`
> 
> would be better. ;)
This prevents all su usage, which is probably not what the original poster
was after. 
Casper Dik wrote a module to this, do a search on dejanews.  I'd try "su
wheel solaris casper". 
-James
    
    
More information about the SunHELP
mailing list