Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd security problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thefatguy
n00b
n00b


Joined: 24 Jun 2003
Posts: 3

PostPosted: Tue Jun 24, 2003 7:27 pm    Post subject: vsftpd security problem? Reply with quote

Having a tough time getting vsftpd to run correctly. It is run by xinetd on my server, FWIW. I'm getting the following error:

Code:
$ ftp localhost
Connected to localhost.
500 OOPS: vsf_sysutil_getpwnam
ftp> bye


Here's the /etc/xinetd.d/vsftpd file:
Code:
service ftp
{
        only_from       = localhost 192.168.0.0/24
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/vsftpd
        server_args     = /etc/vsftpd/vsftpd.conf
        log_on_success  += DURATION USERID
        log_on_failure  += USERID
        nice            = 10
        disable         = no
}


Here's xinetd.conf:
Code:
defaults
{
        instances      = 60
        log_type       = SYSLOG authpriv info
        log_on_success = HOST PID
        log_on_failure = HOST
        cps            = 25 30
}

includedir /etc/xinetd.d


And, finally, here's /etc/vsftpd/vsftpd.conf (only uncommented entries):
Code:
local_enable=YES
write_enable=YES
dirmessage_enable=YES
chown_uploads=YES
chown_username=whoever
xferlog_enable=YES
xferlog_std_format=YES
xferlog_file=/var/log/vsftpd.log
nopriv_user=nobody
ascii_upload_enable=YES
ascii_download_enable=YES
ls_recurse_enable=YES


I'm about ready to pull it out, since I can get 99.9% of my work done using Samba on my local net. The main reason I want it is that ftp is totally second nature to me, and I like it.

Any help out there? Google gets me nowhere when searching for the error message.
Back to top
View user's profile Send private message
thefatguy
n00b
n00b


Joined: 24 Jun 2003
Posts: 3

PostPosted: Wed Jun 25, 2003 1:52 am    Post subject: Reply with quote

I finally said "eff it" :evil:

I emerge -C vsftpd out of the system, emerged proftpd in, and badda-boom, badda-bing -- ftp! It did take a re-boot, but that's not too surprising what with the emerge -C of vsftpd.

Now if I could just get my samba crap to stay working more than 30 minutes, I'd be pretty close to being a happy man. Maybe it's time to emerge -C that bunch of hooey.

I'd still love to see if anyone has an answer to the vsftpd question. That's just weird.
Back to top
View user's profile Send private message
Messiah
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2002
Posts: 139

PostPosted: Wed Jun 25, 2003 8:24 am    Post subject: Reply with quote

Ohh my, you did a reboot to use another ftp daemon? What is it, did you port portage, vsftpd, proftpd and xinetd to windows, and you are trying to do all these things on windows?
Back to top
View user's profile Send private message
thefatguy
n00b
n00b


Joined: 24 Jun 2003
Posts: 3

PostPosted: Wed Jun 25, 2003 11:23 am    Post subject: Reply with quote

Messiah wrote:
Ohh my, you did a reboot to use another ftp daemon?


Well, it DID make it work. It's not like it's a production machine, or I'm going for some kind of uptime record. Plus, I'm very impatient. Did I mention that the reboot made ftpd work after a full day of nothing?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum