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 03-10-2005, 07:44 PM   #1
studeman
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
vsftp server


I am using SuSE 9.2 pro with Samba to do local file serving inside my soho network. I have a specific mount/directory were I keep files. I would like to use vsftp to allow about 6 people read-only access to these files.

I am new to setting up FTP servers, but I have vsftp running, and I can access it both internally and externally.

Now, I want each person to have their own username. I would like this for logging purposes.

Once logged in, they should all see the exact same directory structure.

How do I go about setting that up? Do I create the users and set the home directories to be the same path?

Please advise. Thanks
 
Old 03-10-2005, 09:58 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If I'm reading the vsftpd manpage correctly, to limit access to specific users, you set userlist_deny to NO and then list the users you want to allow in the userlist_file file.

To get them all in the same directory, it looks like you need to set the local_root to a directory. Again, if I'm understanding the manpage correctly, local_root forces all non-anonymous users to that directory.

As long as you leave the write_enabled set to NO, users should only be able to download, not upload.

If you want the users to not have a home directory, you can create the users with adduser -M, which prevents a home directory from being created.
 
Old 03-11-2005, 06:59 PM   #3
studeman
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the help. I got it solved. I added two lines to my /etc/vsftpd.conf

local_root=/myftpdir

I also didn't want them to navigate above that directory, and I accomplished that by:

chroot_local_user=YES

Thanks again for the help!
 
Old 03-12-2005, 01:56 AM   #4
mole_13
LQ Newbie
 
Registered: Mar 2005
Location: philippines
Posts: 13

Rep: Reputation: 0
im new with installing ftp server, can you give me a detailed procedure =)
im using slackware.
thnks for your help =).
 
Old 03-12-2005, 08:24 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally posted by mole_13
im new with installing ftp server, can you give me a detailed procedure =)
im using slackware.
thnks for your help =).
You're going to have to be more specific with your questions. If you did a full install, Slackware already has an FTP server ready to go, you just need to configure it to your tastes. For 10.1, Slackware switched to vsftpd, prior to that it used ProFTP.
 
  


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
vsftp server icedude Linux - Newbie 3 06-15-2006 09:06 PM
problem configuring vsftp server juanb Linux - General 11 09-27-2005 12:01 AM
vsftp server seshank Linux - Software 3 04-11-2005 08:40 PM
VSFTP server set up pradi_net Linux - General 3 05-05-2004 05:49 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM

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

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration