Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
netkit-ftpd access
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
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 245
Location: Italy

PostPosted: Mon Jul 25, 2011 10:07 am    Post subject: netkit-ftpd access Reply with quote

Hi!

I installed netkit-ftpd, which installed xinted too.

I enabled (disable = no) in /etc/xinetd.d/ftp the daemon.

I started xinetd.

When I try to login remotely, I get a permisison denied.

What other configuration piece am I missing perhaps?

Thank you,
R
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 245
Location: Italy

PostPosted: Tue Jul 26, 2011 9:19 am    Post subject: Reply with quote

a gentle... bump!
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 245
Location: Italy

PostPosted: Fri Jul 29, 2011 10:41 am    Post subject: Reply with quote

I can FTP from localhost to localhost, but not from a different IP.

xinet.d has this config:
Code:

service ftp
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        server                  = /usr/bin/ftpd
        disable                 = no
}


am I missing something? perhaps in pam.d?
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 245
Location: Italy

PostPosted: Wed Aug 03, 2011 10:55 am    Post subject: Reply with quote

bump...
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23121

PostPosted: Thu Aug 04, 2011 2:20 am    Post subject: Reply with quote

What does the relevant log say about the attempt?
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 245
Location: Italy

PostPosted: Mon Dec 23, 2013 4:18 pm    Post subject: Reply with quote

I finally figured this out casually, I had to remove the logging option from ftpd, that is:

Code:

service ftp
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        server                  = /usr/bin/ftpd
}


Instead of the original
Code:
        server                  = /usr/bin/ftpd -l


I don't really understand, because -l is a documented ftpd option. Perhaps it has problems with my logging daemon? I use syslog-ng
_________________
Unix is user friendly. It is only careful selecting its friends.
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