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
436 stars 112 forks source link

Can't use variable in cd command under lshell #97

Closed jfucanada closed 9 years ago

jfucanada commented 9 years ago

Can someone help on this. Thanks.

jfucanada commented 9 years ago

For example, cd $HOME. LSHELL CAN't recognize $HOME variable. But echo command can recognize $HOME.

s_testuser@(mockbc):~$ echo $HOME /home/s_testuser s_testuser@(mockbc):~$ s_testuser@test(mockbc):~$ cd $HOME lshell: $HOME: No such file or directory s_testuser@test(mockbc):~$

jfucanada commented 9 years ago

Got none.

ghantoos commented 9 years ago

I'm re-opening the issue, because this is clearly a bug, and needs to be fixed. Thanks for reporting it.

jfucanada commented 9 years ago

I really appreciate your help.

jfucanada commented 9 years ago

Thank you. It works!!