Ubuntu: limiting user account only to access his home dir

listed in answer

Ubuntu: limiting user account only to access his home dir
0 votes, 0.00 avg. rating (0% score)

ANSWER:

This thread is little bit old but anyways you can restrict the users (very restrictive) to home directory by changing the bash shell to rbash if you really want it. By this way the user can’t be able to use cd command. Or change the home directory owner as mentioned above. But remember that the user can execute bash so perform restrictive settings…

by Kashif from http://superuser.com/questions/421460