Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UX:ftp: ERROR: Login failed.

Status
Not open for further replies.

vodkadrinker

Technical User
May 16, 2002
163
GB
Unixware 7.1.3

I have check the usual files hosts.allow, hosts.equiv, ftpaccess and I still get the following error.

Note:I have tried other users apart from root but still no joy.

# ftp localhost
Connected to localhost.
220 uware713 FTP server (wu-2.4.2-academ-15 + security patches) ready.
Name (localhost:root):
530 User root access denied.
UX:ftp: ERROR: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
 
from Solaris "man ftpd":
Second, if the user name appears in the file /etc/ftpusers,
ftp access is denied.

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Checked the /etc/ftpusers file and it is empty.

# pg /etc/ftpusers
#ident "@(#)unixsrc:usr/src/common/cmd/cmd-inet/usr.sbin/in.ftpd/ftpusers /main
/uw7_uk/1"
#
# ftpd restricted users list, see ftpusers(4tcp).
#
(EOF):

Anymore suggestion's will be most welcome.
 
from the same source:

Third, ftp access is denied if the user's shell (from
/etc/passwd) is not listed in the file /etc/shells. If the
file /etc/shells does not exist, then the user's shell must
be one of the following:
/usr/bin/sh /usr/bin/csh /usr/bin/ksh
/usr/bin/jsh /bin/sh /bin/csh
/bin/ksh /bin/jsh /sbin/sh
/sbin/jsh

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Hi vlad,

I had already unhashed the /sbin/sh to allow root and the user shells were already unhashed.

# pg /etc/shells
#ident "@(#)unixsrc:usr/src/common/cmd/cmd-inet/etc/shells /main/uw7_uk/2"
#ident "$Header: $"
#Un-comment these shells that inherit privilege at your own risk.
/sbin/sh


I just know this ones going to be something stupid I've missed so any comments welcome, however obvious they seem.

VD
 
Do you have a user 'ftp' defined in /etc/passwd ? I don't believe it will affect your current problem but it should be there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top