May 21, 2015

How do I block commands?

I have normal user and i want to block all commands to the user except set of commands are { cd , exit , ls } can any one please help me over here

Creating the user in a chroot jail so that he can't see anything above a...

Creating the user in a chroot jail so that he can't see anything above a certain level , which to him would be his root (/). Make the user login to a secure shell. There are many ways to limit a user.

Like  (0 likes)
Click Here!