Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ftp login failed

74 views
Skip to first unread message

Nail Araz

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Hi,
if try to login by ftp on a Ultra-10, i get the following message:
******************************************************************
Connected to MACHINE.
220 MACHINE FTP server (SunOS 5.6) ready.
Name (MACHINE:USER): NAME
331 Password required for NAME.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
******************************************************************

The User-Name and the Passwort are definitively correct. Ftp for root
works without any problems. Just for testing i tried the wu-ftpd. The
error is the same. The installed system patches are from october'98.

Can someone help me, please ?

Thanks.
N.A.

Tony Curtis

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Re: ftp login failed, Nail <ar...@ifm.uni-hamburg.de>
said:

Nail> The User-Name and the Passwort are
Nail> definitively correct. Ftp for root works
Nail> without any problems.

[is that necessarily a good idea?]

Nail> the wu-ftpd. The error is the same. The
Nail> installed system patches are from october'98.

ftp won't allow you in unless your shell is listed
in /etc/shells. "man -s4 shells".

hth
tony
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien. | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | private email:
Stupid! Stupid!" ~ Eros, Plan9 fOS.| <URI:mailto:tony_c...@hotmail.com>

Nail Araz

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Tony Curtis wrote:
>[is that necessarily a good idea?]

Correction. Now it is not more possible for root.

> ftp won't allow you in unless your shell is listed
> in /etc/shells. "man -s4 shells".
>

Well, my /etc/shells is correct. My shell (and the shell of all other
users) is tcsh from /usr/local/bin. Look below:

*********************************************************************
#
# File /etc/shells
# List of valid login shells
#
/bin/sh
/bin/csh
/usr/local/bin/tcsh
/bin/ksh
*********************************************************************

Another idea ?

N.A.

Casper H.S. Dik - Network Security Engineer

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

Nail Araz <ar...@ifm.uni-hamburg.de> writes:

>The User-Name and the Passwort are definitively correct. Ftp for root

>works without any problems. Just for testing i tried the wu-ftpd. The
>error is the same. The installed system patches are from october'98.

What shell do you use? Is it listed it /etc/shells?

(Solaris no longer distinquishes between bad user, bad password and bad
shell in the error message)

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Nail Araz

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
***********************************************************************
>>I wrote:
>>nail: Well, my /etc/shells is correct. My shell (and the shell of all >>nail: other
>>nail: users) is tcsh from /usr/local/bin.

Casper H.S. Dik - Network Security Engineer wrote:

> What shell do you use? Is it listed it /etc/shells?
>
> (Solaris no longer distinquishes between bad user, bad password and > > bad
> shell in the error message)

***********************************************************************

I'm using tcsh (/usr/local/bin/tcsh is in /etc/shells). I think, that it
is not important, at which line this appears in /etc/shells.

N.A.

Casper H.S. Dik - Network Security Engineer

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

Nail Araz <ar...@ifm.uni-hamburg.de> writes:

>I'm using tcsh (/usr/local/bin/tcsh is in /etc/shells). I think, that it
>is not important, at which line this appears in /etc/shells.


No, but the entry in /etc/shells must exactly match the one
in /etc/passwd.

Your name should also *not* be listed in /etc/ftpusers

Nail Araz

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Casper H.S. Dik - Network Security Engineer wrote:

>
> No, but the entry in /etc/shells must exactly match the one
> in /etc/passwd.

The entry is the exactly the same as in the passwd and my name is not
listed in /etc/ftpusers.

>
> Your name should also *not* be listed in /etc/ftpusers

Any other ideas ?

N.A.

Doug Freyburger

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Nail Araz wrote:

> if try to login by ftp on a Ultra-10, i get the following message:
> ******************************************************************
> Connected to MACHINE.
> 220 MACHINE FTP server (SunOS 5.6) ready.
> Name (MACHINE:USER): NAME
> 331 Password required for NAME.
> Password:
> 530 Login incorrect.
> Login failed.

> The User-Name and the Passwort are definitively correct.


> Ftp for root works without any problems.

The standard FTP problem which everyone discussed is
your login shell being listed in /etc/shells, but in
that case, the error happens BEFORE FTP prompts for a
password, so it is definitely NOT the problem here.

1) Your example uses all caps. Check your caps lock key.

2) if it works for root and not for other accounts, it
could be an NIS problem. Try telnet, rlogin, and some
other methods that ask for passwords. If they all
have the same problem, your user password must be reset
of NIS must be correctly configured or similar.

Doug Freyburger, Collective Technologies

Nail Araz

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
************************************************************************
On Tue, 9 Feb 1999, Doug Freyburger wrote:
> The standard FTP problem which everyone discussed is
> your login shell being listed in /etc/shells, but in
> that case, the error happens BEFORE FTP prompts for a
> password, so it is definitely NOT the problem here.
>
> 1) Your example uses all caps. Check your caps lock key.
>
> 2) if it works for root and not for other accounts, it
> could be an NIS problem. Try telnet, rlogin, and some
> other methods that ask for passwords. If they all
> have the same problem, your user password must be reset
> of NIS must be correctly configured or similar.
************************************************************************

Everything was ok for telnet and rlogin. I just changed the path of the
local-Users shells from the net-wide-path for tcsh to the local-path for
tcsh. Now it does not work for root (root is now in /etc/ftpusers), but
for everyone else. There've been some special local users on that
machine
(a project-machine). Now ftp works for them and other net-wide-users.

>
> Doug Freyburger, Collective Technologies
>

Thanks.
N.A.

Tony Curtis

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
Re: ftp login failed, Nail
<ar...@ifm.uni-hamburg.de> said:

Nail> Everything was ok for telnet and rlogin. I
Nail> just changed the path of the local-Users
Nail> shells from the net-wide-path for tcsh to the
Nail> local-path for tcsh.

Is this net-wide directory on an NFS mount? Maybe
the root->nobody mapping over NFS is giving
permission problems somewhere in the path to that
tcsh?

Nothign else comes to mind "from here". Another
thing to try would be a different ftpd,
e.g. proftpd.

Chuck

unread,
Feb 9, 1999, 3:00:00 AM2/9/99
to
On Tue, 09 Feb 1999 15:22:35 +0100, Nail Araz
<ar...@ifm.uni-hamburg.de> wrote:

Is your UID unique (perhaps accidentally sharing it with
someone in ftpusers file)?

Did you run od -bc on your entry in /etc/passwd, and
on /etc/shells to make sure there isn't some screwed
up unprintable character involved?

To completely elimate the shell issue, have you tried
changing your login shell in /etc/passwd to /bin/sh
temporarily?

Are you using NIS+?

Rob Schulhof

unread,
Feb 10, 1999, 3:00:00 AM2/10/99
to
HI,

Could be that the user is in /etc/ftpusers ? You shouldn't be able to
FTP to a machine as root.


Jus a thought


In comp.unix.solaris Nail Araz <ar...@ifm.uni-hamburg.de> wrote:
> Hi,


> if try to login by ftp on a Ultra-10, i get the following message:
> ******************************************************************
> Connected to MACHINE.
> 220 MACHINE FTP server (SunOS 5.6) ready.
> Name (MACHINE:USER): NAME
> 331 Password required for NAME.
> Password:
> 530 Login incorrect.
> Login failed.

> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp>
> ******************************************************************

> The User-Name and the Passwort are definitively correct. Ftp for root


> works without any problems. Just for testing i tried the wu-ftpd. The
> error is the same. The installed system patches are from october'98.

> Can someone help me, please ?

> Thanks.
> N.A.

Ribot Nguyen

unread,
Feb 11, 1999, 3:00:00 AM2/11/99
to
In article <36C01E38...@ifm.uni-hamburg.de>, Nail Araz <ar...@ifm.uni-hamburg.de> wrote:
>Hi,
>if try to login by ftp on a Ultra-10, i get the following message:
>******************************************************************
>Connected to MACHINE.
>220 MACHINE FTP server (SunOS 5.6) ready.
>Name (MACHINE:USER): NAME
>331 Password required for NAME.
>Password:
>530 Login incorrect.
>Login failed.
>Remote system type is UNIX.
>Using binary mode to transfer files.
>ftp>
>******************************************************************
>
>The User-Name and the Passwort are definitively correct. Ftp for root
>works without any problems. Just for testing i tried the wu-ftpd. The
>error is the same. The installed system patches are from october'98.
>
>Can someone help me, please ?
>
>Thanks.
>N.A.

Make sure that /usr/local/bin/tcsh is not a link to something else.

Also, are you using the standard Solaris ftp server, or something else? If
you're using something else, there could be a strange configuration issue
somewhere. For instance, if you are attempting, unwittingly or on purpose, to
have your ftp users chrooted into a limited environment, they may not have
access to basic programs they need to log in properly. Or, they may have
access to them, but not the libraries that those programs depend upon.

Urs Meyer

unread,
Feb 11, 1999, 3:00:00 AM2/11/99
to
Hi Nail

I was running into a similar problem on 1 of our Solaris 7 Workstations.
User ID ok.
passwd ok.

no ftp was possible.

There was no entry in the gcos field in the passwd file of this user, after
adding a name into this field
ftp was running as expected.

I know it sounds strange, at least for me, but it works now.

Regards

Urs Meyer

0 new messages