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.
|
|
11-11-2004, 02:48 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4
Rep:
|
vsftpd not allowing users to log in
I had set up my ftp server a while ago, but reformatted my hard drive and started from scratch, and there is something I'm missing when setting the options for vsftpd that is screwing up my ftp service.
Every time that someone goes to my ftp site it only allows anonymous logins...(it complains when you put a user name and password) and on top of that it doesn't allow the anonymous user to change anything in the pub (the folder that comes up) no matter what i do... does anyone have any ideas?
Thanks!
|
|
|
11-11-2004, 03:17 AM
|
#2
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
You probably want these in your /etc/vsftpd.conf:
Code:
anonymous_enable=NO
local_enable=YES # Enable local (real) users to log in
write_enable=YES
Håkan
|
|
|
11-11-2004, 02:24 PM
|
#3
|
LQ Newbie
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4
Original Poster
Rep:
|
Still not working
The options in the conf file had been changed to just that, and yet it still says that the ftp server is anonymous only... is there something i have to do to reload the configuration file?
|
|
|
11-11-2004, 05:34 PM
|
#4
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
Restart the vsftpd daemon, typically by typing /etc/init.d/vsftpd restart if you're using classic init.d services.
Håkan
|
|
|
11-11-2004, 08:34 PM
|
#5
|
LQ Newbie
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4
Original Poster
Rep:
|
hmm
Well, i do that and it displays these two lines:
Shutting down vsftpd: [failed]
Starting vsftpd for vsftpd: [ok]
and it still doesnt work...
I must be missing something important, but i just cant figure out what that could be.
|
|
|
11-14-2004, 05:45 AM
|
#6
|
Member
Registered: Feb 2003
Location: USA
Distribution: Slackware-current
Posts: 47
Rep:
|
Stick this in vsftpd.conf
userlist_enable=YES
userlist_file=/etc/ftpallow
userlist_deny=NO
/etc/ftpallow is the file listing all allowed users for vsftpd ...
Do a 'man vsftpd.conf' for more details.
Last edited by tuxq; 11-14-2004 at 05:46 AM.
|
|
|
11-14-2004, 08:46 PM
|
#7
|
LQ Newbie
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4
Original Poster
Rep:
|
hmmm
Ok so i am using init.d to control vsftpd so i set listen to no... i checked the status of the service vsftpd and it sais "vsftpd dead but subsys locked"... what does this mean?
EDIT: by the way, now vsftpd seems to restart just fine (i restarted)... yet though i changed /etc/vsftpd/vsftpd.conf to strictly disallow anonymouse users, it still says its an anonymouse user only ftp service
EDIT AGAIN: well the status of the service was "running" until i restarted the service, then it went back to the dead but subsys locked message... then after that it wouldnt restart correctly again >.<
Last edited by Rokkun; 11-14-2004 at 09:01 PM.
|
|
|
All times are GMT -5. The time now is 03:15 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
|
|