* ftpd problem with 4.0D
@ 2000-05-04 4:00 andy thomas
2000-05-08 4:00 ` Nikola Milutinovic
0 siblings, 1 reply; 7+ messages in thread
From: andy thomas @ 2000-05-04 4:00 UTC (permalink / raw)
I've set up a system with Tru 64 4.0D and every thing seems to work except
the FTP daemon. If I try to make a connection to it from another host, it
responds with the username prompt and then refuses the connection after
it receives my input, as shown below.
$ ftp system2
Connected to system2.mydomain.com.
220 system2.mydomian.com FTP sever (Digital UNIX Version 5.60) ready.
Name (system2:andy): andyt1
530 User andyt1 access denied.
Login failed.
Now, andyt1 is a valid user on the system (which uses NIS/yp for login
authentication), there is currently no TCP wrapper to block connections
and inetd.conf has the following entry for FTP:
ftp stream tcp nowait root /usr/sbin/ftpd ftpd -dl
(I added the -dl to get more debugging info).
I've also tried logging in as a user whose username appears in the normal
etc/passwd file but this doesn't work either.
In /var/adm/syslog.dated/04-May-13:52, the user.log file has entries like:
May 4 20:13:19 system2 syslog: getpeername (/usr/sbin/ftpd):
Socket operation on non-socket
What does this mean?
Andy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-04 4:00 ftpd problem with 4.0D andy thomas
@ 2000-05-08 4:00 ` Nikola Milutinovic
2000-05-10 4:00 ` Steve Cousins
0 siblings, 1 reply; 7+ messages in thread
From: Nikola Milutinovic @ 2000-05-08 4:00 UTC (permalink / raw)
andy thomas wrote:
>
> I've set up a system with Tru 64 4.0D and every thing seems to work except
> the FTP daemon. If I try to make a connection to it from another host, it
> responds with the username prompt and then refuses the connection after
> it receives my input, as shown below.
>
> $ ftp system2
> Connected to system2.mydomain.com.
> 220 system2.mydomian.com FTP sever (Digital UNIX Version 5.60) ready.
> Name (system2:andy): andyt1
> 530 User andyt1 access denied.
> Login failed.
One possibilty is that user's shell is not in /etc/shells.
> Now, andyt1 is a valid user on the system (which uses NIS/yp for login
> authentication), there is currently no TCP wrapper to block connections
> and inetd.conf has the following entry for FTP:
>
> ftp stream tcp nowait root /usr/sbin/ftpd ftpd -dl
>
> (I added the -dl to get more debugging info).
>
> I've also tried logging in as a user whose username appears in the normal
> etc/passwd file but this doesn't work either.
>
> In /var/adm/syslog.dated/04-May-13:52, the user.log file has entries like:
>
> May 4 20:13:19 system2 syslog: getpeername (/usr/sbin/ftpd):
> Socket operation on non-socket
>
> What does this mean?
No idea.
Nix.
--
... Always remember to pillage BEFORE you burn.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-10 4:00 ` Steve Cousins
@ 2000-05-10 4:00 ` mitsura
2000-05-22 4:00 ` Gunter von Hayn
0 siblings, 1 reply; 7+ messages in thread
From: mitsura @ 2000-05-10 4:00 UTC (permalink / raw)
Check the /etc/ftpusers file, maybe there is something in there
that blocks the ftp
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-08 4:00 ` Nikola Milutinovic
@ 2000-05-10 4:00 ` Steve Cousins
2000-05-10 4:00 ` mitsura
0 siblings, 1 reply; 7+ messages in thread
From: Steve Cousins @ 2000-05-10 4:00 UTC (permalink / raw)
Nikola Milutinovic wrote:
> andy thomas wrote:
> >
> > I've set up a system with Tru 64 4.0D and every thing seems to work except
> > the FTP daemon. If I try to make a connection to it from another host, it
> > responds with the username prompt and then refuses the connection after
> > it receives my input, as shown below.
> >
> > $ ftp system2
> > Connected to system2.mydomain.com.
> > 220 system2.mydomian.com FTP sever (Digital UNIX Version 5.60) ready.
> > Name (system2:andy): andyt1
> > 530 User andyt1 access denied.
> > Login failed.
>
> One possibilty is that user's shell is not in /etc/shells.
>
> > Now, andyt1 is a valid user on the system (which uses NIS/yp for login
> > authentication), there is currently no TCP wrapper to block connections
> > and inetd.conf has the following entry for FTP:
> >
> > ftp stream tcp nowait root /usr/sbin/ftpd ftpd -dl
> >
> > (I added the -dl to get more debugging info).
> >
> > I've also tried logging in as a user whose username appears in the normal
> > etc/passwd file but this doesn't work either.
> >
> > In /var/adm/syslog.dated/04-May-13:52, the user.log file has entries like:
> >
> > May 4 20:13:19 system2 syslog: getpeername (/usr/sbin/ftpd):
> > Socket operation on non-socket
> >
> > What does this mean?
Is the entry for ftp (tcp port 21)in the /etc/services file commented out?
--
_____________________________________________________________
Steve Cousins Email: cousins@umit.maine.edu
Research Associate Phone: (207) 581-4302
Ocean Modeling Group
School of Marine Sciences 208 Libby Hall
University of Maine Orono, Maine 04469
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-10 4:00 ` mitsura
@ 2000-05-22 4:00 ` Gunter von Hayn
2000-05-23 4:00 ` Nick Ntarmos
0 siblings, 1 reply; 7+ messages in thread
From: Gunter von Hayn @ 2000-05-22 4:00 UTC (permalink / raw)
mitsura wrote:
>
> Check the /etc/ftpusers file, maybe there is something in there
> that blocks the ftp
>
No.
I've got the same problem, but
/etc/ftpusers
/etc/shells
are ok and ftp (tcp port 21)in the /etc/services
is not commented out.
No idea whats wrong.
Gunter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-22 4:00 ` Gunter von Hayn
@ 2000-05-23 4:00 ` Nick Ntarmos
2000-05-23 4:00 ` Gunter von Hayn
0 siblings, 1 reply; 7+ messages in thread
From: Nick Ntarmos @ 2000-05-23 4:00 UTC (permalink / raw)
On Mon, 22 May 2000, Gunter von Hayn wrote:
> mitsura wrote:
> >
> > Check the /etc/ftpusers file, maybe there is something in there
> > that blocks the ftp
> >
>
> No.
> I've got the same problem, but
> /etc/ftpusers
> /etc/shells
> are ok and ftp (tcp port 21)in the /etc/services
> is not commented out.
>
Have you checked the '/etc/hosts' file? If you don't rely on an externa
nameserver, you should have a line for every host ftp-ing you in
there... BTW, can you reach the computer by telnet (i mean on port 23)?
See ya,
Nick.
--
------------------------------------
Ntarmos Nikos.
Information Systems Center.
Technical University of Crete.
------------------------------------
e-mail: darmnik @ isc.tuc.gr
ccompiler @ yahoo.com
ccompiler @ sourceforge.net
------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ftpd problem with 4.0D
2000-05-23 4:00 ` Nick Ntarmos
@ 2000-05-23 4:00 ` Gunter von Hayn
0 siblings, 0 replies; 7+ messages in thread
From: Gunter von Hayn @ 2000-05-23 4:00 UTC (permalink / raw)
To: Nick Ntarmos
Nick Ntarmos wrote:
>
> > I've got the same problem, but
> > /etc/ftpusers
> > /etc/shells
> > are ok and ftp (tcp port 21)in the /etc/services
> > is not commented out.
> >
>
> Have you checked the '/etc/hosts' file?
Yep.
I use external name servers, but even if i
register all hosts in /etc/hosts it does not work.
>If you don't rely on an externa
> nameserver, you should have a line for every host ftp-ing you in
> there... BTW, can you reach the computer by telnet (i mean on port 23)?
>
telnet and rlogin work.
Even connecting with X-Window servers works, but not ftp.
Gunter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-05-23 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-04 4:00 ftpd problem with 4.0D andy thomas
2000-05-08 4:00 ` Nikola Milutinovic
2000-05-10 4:00 ` Steve Cousins
2000-05-10 4:00 ` mitsura
2000-05-22 4:00 ` Gunter von Hayn
2000-05-23 4:00 ` Nick Ntarmos
2000-05-23 4:00 ` Gunter von Hayn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox