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
434 stars 113 forks source link

Using words that include restricted commands fail with forbidden syntax #195

Open ghost opened 5 years ago

ghost commented 5 years ago

I'm restricting usage of vi and vim within lshell.

I'm allowing dig to be used.

When I attempt to dig @davita.com <some-ip> for example, I am unable to complete this command as the word davita has the restricted command vi listed.