LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 12:14 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 12:36 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:20 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