Can't login after change password

Advertisement

Max_it
Guest

Can't login after change password

Hi,
I have installed Cygwin SSH server on Windows 2003 Server and WinSCP on my XP SP2 client.
All worked fine till yesterday.
I login as administrator.
Today I've changed the administrator password and now I can't login!
Consider that I can telnet on that machine on port 22 and SSH server give me a response.
Here the log.
What can I do?
Thanks.
. --------------------------------------------------------------------------
. WinSCP Version 3.7.1 (Build 257) (OS 5.1.2600 Service Pack 2)
. Login time: ...
. --------------------------------------------------------------------------
. Session name: session
. Host name: 10.243.255.47 (Port: 22)
. User name: administrator (Password: No, Key file: No)
. Transfer Protocol: SCP
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: -,-,-,-,-,-,-,-,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No, Cache: Yes
. Cache directory changes: Yes, Permanent: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "10.243.255.47"
. Connecting to 10.243.255.47 port 22
. Server version: SSH-1.99-OpenSSH_3.9p1
. We claim version: SSH-2.0-WinSCP-release-3.7.1
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 2c:aa:17:a8:c2:20:89:ce:f6:de:88:1d:cf:4d:cb:9a
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
. Initialised HMAC-SHA1 client->server MAC algorithm
. Initialised HMAC-SHA1 server->client MAC algorithm
! Using username "administrator".
. Keyboard-interactive authentication refused
. Session password prompt (administrator@10.243.255.47's password: )
. Asking user for password.
. Sent password
! Access denied
. Access denied
. Keyboard-interactive authentication refused
. Session password prompt (administrator@10.243.255.47's password: )
. Asking user for password.
. Unable to authenticate
. Attempt to close connection due to fatal exception:
* Unable to authenticate
. Closing connection.
* (ESshFatal) Authentication failed.
* Authentication log (see session log for details):
* Using username "administrator".
* Access denied
* 
* Unable to authenticate

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Can't login after change password

I'm not sure, but maybe you have to update /etc/passwd file once you have changed the password.

Reply with quote

Max_it
Guest

password

I think I've already done it.
I write in the bash prompt:
passwd Administrator
(I tried also the command passwd without parameters)
The system confirm that password was changed, but where is it stored?
If I looked at /etc/passwd the file date remains still to 28 december... and in this file at the line Administrator I see Administrator:unused_by_nt/2000/xp:500:513:Administrator, is that normal?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: password

Max_it wrote:

(I tryed also the command passwd without parameters)
The system confirm that password was changed, but where is it stored?
I have no idea how and if does changing password using passwd work on Windows. I suggest you to change your password using Windows Control Panel and to regenerate the /etc/passwd file.

Reply with quote

simonm99
Guest

I had this same issue, but only with a newly created user, suspected SSHD config but

There was an error with the default shell in /etc/passwd and the shell had a trailing slash. Only the original password would work. Clue was in /var/log/auth.log

Reply with quote

Advertisement

You can post new topics in this forum