1834697 Members
2823 Online
110069 Solutions
New Discussion

su restricting

 
avm
Contributor

su restricting

Hai Friends,
Can any body tell me the script which will avoid su as root
(either su root or simply su)
thanx in advance
avm
2 REPLIES 2
Thierry Poels_1
Honored Contributor

Re: su restricting

passwd ;-)
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Philip Chan_1
Respected Contributor

Re: su restricting

I guess what you wanted is to stop people from gaining root access by issuing the "su" command. Let me elaborate, to gain access to root, one would require the "su" program and the "password" of root. Stopping the use of su command won't keep you safe if people knew the root password, because they could still try telnet, rlogin etc.

The most important part is to keep the root "password" away from people.

~Philip