LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-06-2007, 12:54 AM   #1
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 438

Rep: Reputation: 30
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 ?
 
Old 02-06-2007, 01:37 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: OpenSUSE 12.1 CentOS 6.2
Posts: 9,003

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
This is a chroot issue and it can setup via SSH configuration!
 
Old 02-06-2007, 01:40 AM   #3
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
I think you can restrict ssh via pam. Check the ssh file within your pam folder.
 
Old 02-06-2007, 03:56 AM   #4
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 438

Original Poster
Rep: Reputation: 30
chroot - ok let's say I have /home/user1
How to use chroot to limit user1 in his $HOME dir ?
 
Old 02-06-2007, 10:22 AM   #5
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

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

http://gentoo-wiki.com/HOWTO_chroot_login
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limited Network access on Suse 9.3 bwdave Linux - Networking 1 09-14-2005 12:36 PM
limited internal ip access saugato Linux - Security 3 07-20-2005 08:02 AM
Limited User Access Jakeh2k1 Red Hat 1 06-07-2005 07:03 AM
Limited SSH users race Linux - Software 3 10-17-2004 11:32 PM
ssh limited access macadam Linux - Newbie 7 12-23-2003 01:06 PM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration