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

unknown syntax #115

Closed lmarkov closed 8 years ago

lmarkov commented 8 years ago

Hello,

When I make test instead of unknown syntax I always receive *\ forbidden command. For example:

:~$ bla
*** forbidden command: bla

Can you suggest what I have to change in my configuration?

Parameter "strict" is set to 0 and "warnings" is -1.

ghantoos commented 8 years ago

Hi,

By default, lshell considers all unknown commands as forbidden. If the command is not allowed, then it's considered forbidden.

I hope this clears it for you.

Cheers