LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2006, 08:21 PM   #1
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Rep: Reputation: 15
Locking users to home directory...


Hello,

I have found several topics on the web regarding how to lock a user to their home directory. However, none of the solutions seem to work. I am running Suse Enterprise Server 9 and not even sure which FTP program I am using. There is pure-ftpd, WU-FTP, vsftpd, etc. Are all of these different types of FTP? Anyway, is there any one simple way to lock a user to their home directory?

Thanks!
 
Old 08-18-2006, 08:49 PM   #2
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Ok, I sort of understand what these are. They are just different FTP server programs? None of them are running on the Suse box, but I can still FTP in. What's up with this? Thanks.
 
Old 08-19-2006, 01:17 AM   #3
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Anybody have an idea?
 
Old 08-19-2006, 06:03 AM   #4
branden_burger
Member
 
Registered: Dec 2004
Posts: 66

Rep: Reputation: 15
Well, do your homework first, dude!

Find out which ftp server's running on your box. On red hat (and I think on suse) I'd do at the terminal:

rpm -qa| grep ftp

and see what kind of ftp server I'm running.

I'd recommend unistalling it and installing vsftp. It's easy to use. What you want to be doing, is "chroot" your users to their home directories. This can easily be done in vsftp by adding the user to be chrooted to /etc/vsftpd.chroot_list and restarting the vsftp service.
 
  


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
Adding users with no home directory keysorsoze Linux - Newbie 2 04-02-2006 09:52 PM
Users can only see home directory bluenix Linux - General 20 03-12-2005 08:51 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 08:13 AM
multi users on the same home directory rpinatel Linux - General 4 09-05-2003 10:22 AM
2 users, 1 mailbox and 1 home directory keevitaja Linux - Newbie 3 08-15-2002 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:59 PM.

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