LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   limited access via SSH (https://www.linuxquestions.org/questions/linux-software-2/limited-access-via-ssh-525974/)

czezz 02-06-2007 12:54 AM

limited access via SSH
 
How can I restirct access via SSH for regular users ? What I need is to disallow users to go outside of the $HOME dir ? How can I achive that ?

colucix 02-06-2007 01:37 AM

This is a chroot issue and it can setup via SSH configuration!

isuck@linux 02-06-2007 01:40 AM

I think you can restrict ssh via pam. Check the ssh file within your pam folder.

czezz 02-06-2007 03:56 AM

chroot - ok let's say I have /home/user1
How to use chroot to limit user1 in his $HOME dir ?

isuck@linux 02-06-2007 10:22 AM

follow the link, I think this is what you're looking for:

http://gentoo-wiki.com/HOWTO_chroot_login


All times are GMT -5. The time now is 11:41 AM.