LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 02-06-2007, 12:54 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
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
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration