LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-11-2004, 01:48 AM   #1
Rokkun
LQ Newbie
 
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4

Rep: Reputation: 0
Angry 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!
 
Old 11-11-2004, 02:17 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 11-11-2004, 01:24 PM   #3
Rokkun
LQ Newbie
 
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 11-11-2004, 04:34 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Restart the vsftpd daemon, typically by typing /etc/init.d/vsftpd restart if you're using classic init.d services.


Håkan
 
Old 11-11-2004, 07:34 PM   #5
Rokkun
LQ Newbie
 
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 11-14-2004, 04:45 AM   #6
tuxq
Member
 
Registered: Feb 2003
Location: USA
Distribution: Slackware-current
Posts: 47

Rep: Reputation: 15
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 04:46 AM.
 
Old 11-14-2004, 07:46 PM   #7
Rokkun
LQ Newbie
 
Registered: Nov 2004
Location: California
Distribution: Red Hat 8
Posts: 4

Original Poster
Rep: Reputation: 0
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 08:01 PM.
 
  


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
not allowing me to login as other users madamson Solaris / OpenSolaris 7 10-07-2005 05:49 AM
vsftpd not allowing external access bubby Linux - Software 8 12-06-2004 11:48 AM
allowing /mnt/ to all users bcf2 Mandriva 1 02-18-2004 05:10 PM
NEWBIE: Why does my vsftpd hang when I log in using virtual users? mr_r Red Hat 0 11-18-2003 11:00 AM
vsftpd config- permissions, allowing uploads lynchpin9 Linux - Networking 1 10-20-2003 01:13 PM

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

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