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

Add env_path_before_os_path config parameter (Closes #180) #181

Open brigriffin opened 6 years ago

brigriffin commented 6 years ago

This adds a new configuration parameter in lshell.conf named env_path_before_os_path in order to be able to have the env_path config parameter have precedence over the OS path and hence have env_path be inserted at the beginning of the PATH environment variable.

This is for example required so that rbenv can be used with lshell.