Operating System - HP-UX
1845481 Members
2603 Online
110244 Solutions
New Discussion

Able to telnet to a server but not ftp to it

 
SOLVED
Go to solution
S.Rider
Regular Advisor

Able to telnet to a server but not ftp to it

I have one recently built 11.23 vpar that I can telnet into, but I can't ftp into "Login incorect". I know the unixid/password is correct. I checked inetd.conf and /etc/services against working systems and see no difference.
I can ftp out from the server that I cannot ftp into.
Thoughts ?
Ride Boldly Ride, but watch out for El Dorado's
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: Able to telnet to a server but not ftp to it

I would check to see if this user in in ftpusers --- and remember ftpusers works backwards from what the name implies. If the file exists and the user's login is listed in the file, access is denied.
If it ain't broke, I can fix that.
S.Rider
Regular Advisor

Re: Able to telnet to a server but not ftp to it

Good thought - but no ftpusers file on either system. 8-(
Ride Boldly Ride, but watch out for El Dorado's
leelangco_1
Frequent Advisor

Re: Able to telnet to a server but not ftp to it

check the /var/adm/inetd.sec file

can you ftp the server by itself?
skt_skt
Honored Contributor

Re: Able to telnet to a server but not ftp to it

i have a similar setup. But sftp works for me and hence ignoring about ftp.In my case i know why/where it is disabled

try sftp instead.
Ganesh Balraman
Regular Advisor

Re: Able to telnet to a server but not ftp to it

HI,

Try to check whether IPfileter was installed.

Sometimes Ipfileter wiillbolsk ftp also.

Regds
ganesh
Prasanth Vattoly
Frequent Advisor
Solution

Re: Able to telnet to a server but not ftp to it

Hi,

can you check /etc/shells for list of login shells on the system . Add your user's shell in to this file if it's not exist.

cat > /etc/shells << "EOF"
# Begin /etc/shells

/bin/sh
/bin/bash

# End /etc/shells
EOF
prasanth.v.a
S.Rider
Regular Advisor

Re: Able to telnet to a server but not ftp to it

/etc/shells was the culprit.
Thanks all for the help.
Guess it's time to spin thru the other hundred servers and check to see where else /etc/shells is missing entries.
Missing shells in /etc/shells don't affect a user's ability to telnet into a box, just the ability to ftp into a box.
Ride Boldly Ride, but watch out for El Dorado's