[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] su permission
m_hariprasad forced the electrons to say:
> Hi,
> How do we restrict a normal user from using "su" command and gaining
> root permissions?
Don't give normal users the root password. :-)
If you are worried about normal users using the su command, then a simple
chmod go-x `which su`
should do the trick.
Binand
--
#include <stdio.h> | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program.
int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.