[SunHELP] restricting "su" access

Bashar sunhelp at sunhelp.org
Sun Nov 4 02:13:54 CST 2001


vi /etc/group and add your self to the root group , say your usernae is
big your root group line should be
root::0:root,big,anyotheradmin
save and exit and try to open new session and su from non-root group user
and a root-group user

chgrp root /usr/bin/su && chmod 750 /usr/bin/su

	 or you can just add your self to sys grop and chmod 750 to
/usr/bin/su while su yas root:sys user:group


                    KuwaitNet Communications Inc.
        Bashar A AlAbdulhadi            UNIX Systems Administrator
        bashar at kuwaitnet.net            http://www.KuwaitNet.net
        Phone: (KW) +965-2647060        Fax: (KW) +965-5337060
        Phone: (KW) +965-807060         Fax: (US) +801-4373934
        ICQ UIN: 19907999               Pager: (KW) 9327060
        IRC: Big @ #Kuwaitnet           YaHoO ID: kuwaitnets

           "Quality, Stability, 24 Hours Tech. Support"
                          "Think KuwaitNet"

On Sat, 3 Nov 2001, Jan Johansson wrote:

> On Sat, Nov 03, 2001 at 02:37:56AM -0800, Solaris Neophyte wrote:
> >
> >Ther's something I really like on my FreeBSD box that I haven't seen
> >implemented on Solaris.
> >
> >Only people belonging to the "wheel" on FreeBSD can "su" to root.
> >
> >Is there anyway to set the same thing up with my Solaris machine?
> >
> >Would i change the ownership and then change the access rights or something?
>
> I think you want sudo, no more sharing a root pass.
>
> http://www.courtesan.com/sudo/
>
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>




More information about the SunHELP mailing list