On Mon, Nov 5, 2012 at 5:39 PM, ravi jaya <[email protected]> wrote:

> I am trying to learn, how could I  restrict  the users, from  running the
> >  specific commands. like rm or rmdir or anything else in this case.
> >
>
> Thanks for your comments,
>
> ACL helped me out.  Removed the specific commands rwx permission  for the
> user. That's it problem solved.,
>
> Eg: User 'ravi' should not be allowed to run rm command in his default
> shell
>
> setfacl -m u:ravi:--- /bin/rm
>
>
>
>
>
> --
> Ravi Jaya
>
> Mob: 97909 16181
> Site: www.ravijaya.info
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



   I Have a idea ,create alias(rename) for the commands whatever you want.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to