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.
I have 2 users : test1 and test2 , test1 having lshell and i want this user can only read all files/directory under /home/test2 user and only read /etc/hosts file.
Hi,
Is this possible with lshell, that we can read
I have 2 users : test1 and test2 , test1 having lshell and i want this user can only read all files/directory under /home/test2 user and only read /etc/hosts file.
[test1] allowed : ['ls','pwd','cat','vim','echo','cd','vi'] warning_counter : 5 path : ['/etc/', '/usr', '/home/test2/'] home_path : '/home/test_user' logpath : /var/log/lshell/ loglevel : 4
is this right config?