Bijoy Lobo wrote:
> Is there a way where i can only assign a few binaries to  user like, "su -"
> "ls" ? I do not want him to access anything else from /bin or /usr/local/bin

This is difficult, subtle and tricky to accomplish completely.  It is
one of those tasks that "if you have to ask" then it is unlikely that
you will be successful.  The classic restricted-shell strategy is the
way to go to do this.  But I can't recommend it since there are so
many traps for the unweary.

  http://en.wikipedia.org/wiki/Restricted_shell

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to