ghantoos/lshell — Issue #8: Replace 'cd /' to 'cd ~' 
Author: kyrgyz
Created: 2012-01-04 23:52:44+00:00
State: open

Regular SSH users are very much used to type 'cd /' to get to the top directory. And it is not very much convenient when switching to Limited Shell to get warning notice every time you type this command just by force of habit. So taking into attention the fact that the main reason for absolutely majority of cases for switching to Limited Shell is the willing to limit users to their home directories, we might consider a user's home directory as a top directory in a limited shell. And it would be very nice for the lshell to redirect a user typing 'cd /' to his home directory instead of printing error.

This is just a request. I don't know how much this sounds logical to others and how much it is difficult to implement.