LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2006, 06:22 AM   #1
Waerner
Member
 
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Rep: Reputation: 15
Talking Deny SSH-users to read filesystem, except their homedirs?


Hi, this might be a question that belongs in the Security section, but it can also be n00b-question, but I rather want to be called a n00b in the n00b-forum than in the Security-forum
(But moderator, please move the thread if it placed in the wrong category)

Anyway, I've a server that runs FTP, DC-hub, Apache2+PHP4 etc etc.

All new users I add to the system are allowed to connect to the FTP, and their homedir is a sub-directory in the www-dir. BUT, they're also allowed to connect to the SSH-server, and browse the whole filesystem. The access via SSH is pretty fun when it makes it possible to use nmap and irssi or whatever through SSH.
BUT, I want them to stay in their homedirs.

Is this possible to perform in an easy way? I'm not really familiar with chmod (If it's nessasary).

Thank you!
/Linus Waerner
 
Old 01-22-2006, 08:29 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Keyword you want to search on is chroot.
 
Old 02-12-2006, 07:44 AM   #3
Waerner
Member
 
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Omg, sorry for a reaaally late reply from my side

Thanks alot mate

Last edited by Waerner; 02-12-2006 at 07:50 AM.
 
  


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
ssh: deny all users, except one hamish Linux - Security 13 09-07-2008 07:58 PM
how to deny ssh for ip range? maginotjr Slackware 11 11-01-2005 07:01 AM
Apache forwarding users to their homedirs ashembers Linux - Newbie 5 06-17-2004 09:16 AM
how to deny all users in vsftp except one? lzyking Linux - Software 7 12-11-2002 10:02 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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