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.
For rbenv to work with lshell I need to have the env_path config paramter in lshell.conf config file to have precedence over the operating system $PATH meaning that line 577 of checkconfig.py which is currently:
Would it be possible to add a boolean parameter in lshell.conf to define the precedence of the env_path parameter? It could named be something like env_path_before_os_path with 1 env_path would be before the os_path and with a value of 0 the opposite.
For rbenv to work with lshell I need to have the
env_path
config paramter in lshell.conf config file to have precedence over the operating system$PATH
meaning that line 577 ofcheckconfig.py
which is currently:should be for rbenv to work:
Would it be possible to add a boolean parameter in lshell.conf to define the precedence of the
env_path
parameter? It could named be something likeenv_path_before_os_path
with1
env_path would be before the os_path and with a value of0
the opposite.Or is there maybe another workaround this?