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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-10-2002, 01:45 AM
|
#1
|
Member
Registered: Dec 2002
Posts: 74
Rep:
|
how to deny all users in vsftp except one?
I use Redhat 8.0 , and vsftp , now I want to deny all users in vsftp except one user , I found that there are 3 files in /etc/
how can i do ? Dose someone have articles intruduce vsftp?
thanks
|
|
|
12-10-2002, 04:17 AM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
edit /etc/vsftpd.conf and add the following:
userlist_enable=YES
userlist_deny=YES
userlist_file=/etc/vsftpd.user_list
Then edit /etc/vsftpd.user_list and add he usernames that you want to deny ftp access. You can do this the other way around (add the users that you will 'allow to ftp'). run this:
man vsftpd.conf
And do a search for options starting with 'userlist_'.
|
|
|
12-10-2002, 06:26 AM
|
#3
|
Member
Registered: Mar 2002
Distribution: Too many to count
Posts: 368
Rep:
|
Can you do that with wu-ftpd or is only for that secure server?
|
|
|
12-11-2002, 05:40 AM
|
#4
|
Member
Registered: Dec 2002
Posts: 74
Original Poster
Rep:
|
thanks , but I have a new question
now, when user use ftp ,they can see other people's directory,I think this is not security, but I don't know how to configure my vsftp to avoid it.
|
|
|
12-11-2002, 06:01 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
Quote:
Originally posted by hotrodowner
Can you do that with wu-ftpd or is only for that secure server?
|
u can do that with wu-ftpd in a different way. what i suggested is only for vsftpd
|
|
|
12-11-2002, 06:07 AM
|
#6
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
Quote:
Originally posted by lzyking
thanks , but I have a new question
now, when user use ftp ,they can see other people's directory,I think this is not security, but I don't know how to configure my vsftp to avoid it.
|
you can. edit /etc/vsftpd.conf and uncomment the following lines:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
Now, create the file /etc/vsftpd.chroot_list and add the usernames you want to jail to their home directory.
u can do this with wu-ftp. i'm digging my notes for that but i think i lost it.
|
|
|
12-11-2002, 06:28 PM
|
#7
|
Member
Registered: Mar 2002
Distribution: Too many to count
Posts: 368
Rep:
|
Sorry to invade on your post, but I need to know this.
How do you deny anyone but anonymous to use the wu-ftpd server?
|
|
|
12-11-2002, 10:02 PM
|
#8
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
check /etc/ftpaccess. not sure how to set that up but you need to set the uid/gid of the users that you don't want to have ftp access.
|
|
|
All times are GMT -5. The time now is 09:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|