-1

How to make jailed shell?

jailed shell means limited shell account for linux users. (as cpanel defination)

I don't use any control panel like cpanel.

  • 1
    We need way more details of what you're trying to do. – Chris S Jul 13 '11 at 13:52
0

There is a lot of documentation available for jail on the net. What you specifically need will depend on your specific linux distro and what you want to achieve exactly.

A good starting point might be http://rhcelinuxguide.wordpress.com/2006/07/02/linux-jail/ - first Google result for "jail linux".

0

A simple alternative to complex jail is assigning lshell to the concerned user(s).

lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restriction, and more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.