ghantoos / lshell

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.
GNU General Public License v3.0
436 stars 112 forks source link

Run lshell on CentOS 6.7 #111

Closed zarr12steven closed 9 years ago

zarr12steven commented 9 years ago

Environment: CentOS 6.7 Run lshell version: lshell-0.9.14 - Limited Shell

Q1: When I comment #forbidden, and user login the server show below

ERROR: Missing parameter 'forbidden'
ERROR: Add it in the in the [foo] or [default] section of conf file.

Q2: When I change lshell.conf, how to reload the config to effect already login user ? I try it arleady, but it's not work, the user have to logout, and login again, Have any other way can to do this ?

ghantoos commented 9 years ago

Q1: When I comment #forbidden, and user login the server show below

ERROR: Missing parameter 'forbidden' ERROR: Add it in the in the [foo] or [default] section of conf file.

forbidden is a mandatory parameter. You can just set it to [].

*Q2: When I change lshell.conf, how to reload the config to effect already

login user ? I try it arleady, but it's not work, the user have to logout, and login again, Have any other way can to do this ?*

This use to work in version 0.9.15 (I believe). I will check it out, but this feature is not included in the version you are using.