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.
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>
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.
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.
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.
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
>
> 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.
> 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> 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.
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+?
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.
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.
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