LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-02-2003, 01:03 PM   #1
spammity
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
limit directory access for ssh account


How do I give a user ssh access but limit them to their home directory?
 
Old 02-02-2003, 01:14 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Easiest way (NOT THE SECUREST WAY) I've found is to use rbash. Search the site for rbash or read the VERY BRIEF man rbash page (actually just read man bash).

my .02 cents

Cool
 
Old 02-02-2003, 01:36 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,666
Blog Entries: 54

Rep: Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952
There's also http://chrootssh.sourceforge.net/patches/
 
  


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
limit access to SSH server by IP nick1 Suse/Novell 6 03-29-2005 05:36 PM
can not access directory from user account - only root walterbyrd Linux - General 1 03-05-2005 12:23 AM
account and email attachment limit red_phoenix Debian 2 09-16-2003 04:22 AM
How to limit telnet access to a specific directory based on logon? Saeven Linux - Networking 3 10-20-2002 06:17 PM
SSH Q - How to limit access to certain directory Lexx Linux - Networking 1 03-06-2002 06:20 PM


All times are GMT -5. The time now is 05:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration