LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2005, 09:04 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Allow ftp user


I have 500 users in our RH server , I want to let 10 of them can use ftp to connect our server , we user vsftpd , could suggest what can I do ? thx
 
Old 06-17-2005, 05:12 AM   #2
jack_n_jilllll
LQ Newbie
 
Registered: Nov 2004
Location: Bangalore
Distribution: Redhat,Fedora
Posts: 8

Rep: Reputation: 0
Hi,

You can restrict the ftp use to certain users by adding them to /etc/vsftpd.ftpusers .you can get more info from the link

http://www.siliconvalleyccie.com/lin...m#_Toc92808799

In some versions it will be /etc/ftpusers.
 
Old 06-17-2005, 05:18 AM   #3
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
you mean you want to allow 10 users into the ftp, but deny access to all the other 490?

easily done.

http://www.die.net/doc/linux/man/man...pd.conf.5.html is an online copy of the man page for vsftpd, detailing all the options in vsftpd.conf

what you need to do is.... set userlist_enable to yes, then set userlist_deny to no. this will deny users login unless they are listed in the userlist file. you can see where your userlist file is by checking/setting the userlist_file setting. just add the 10 people you want to be allowed to log in into the userlist file, they can log in, everyone else will be denied.



edit: hehe, double answers, jack'n'jill is a faster typist than me,

Last edited by zidane_tribal; 06-17-2005 at 05:20 AM.
 
Old 06-21-2005, 10:09 AM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
If I want ten specific users ( eg. department head ) , what can I do ? thx
 
Old 06-21-2005, 08:32 PM   #5
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
Quote:
Originally posted by ust
If I want ten specific users ( eg. department head ) , what can I do ? thx
well, you can read the two posts above..... the two where people kinda explain what to do. or, if they dont answer your quesiton, maybe you could expand your questions and give us a lil more information about what you want to do.....
 
  


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
new FTP user in SSH aciesd Linux - Newbie 4 07-01-2005 10:01 AM
Ftp user /passwd apenguinlinux Linux - Security 3 02-04-2005 04:06 AM
ftp only user chongluo Linux - Newbie 3 03-25-2004 12:57 PM
Only Allow ftp for a user kelper Linux - Software 1 03-10-2003 06:04 AM
ftp user dsgdevil Linux - General 11 02-05-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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