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

How to start LSHELL in a different directory #206

Open Freelensia opened 4 years ago

Freelensia commented 4 years ago

Hello,

We use ConEmu to access Windows-Subsystem-Linux (WSL) and have the terminal start at a desired directory using ConEmu task like this: set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C "~/freelensia" -cur_console:pm:/mnt

The relevant syntax is "~/freelensia"

However this code no longer works after we started using LSHELL.

Is it possible configure startup directory using LSHELL config file? We tried this: [root] allowed : 'all' - ['script'] path : 'all' home_path : '~/freelensia'

But it did not work.