Skip to contentSkip to conversation

sshd always wants to change password

Buildroot fritz huber 2 participants 5 messages May 16, 2007

lore
Share & tools
lore
#0 lore raw

Hello

I'm working with buildroot from 2006-04-18 and kernel 2.6.12 on a ARM9 system. Now i have a problem with the ssh deamon. I would like to use ssh with classic login. My problem:

When i would like to login with a non-root user:

sshd at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again!
passwd: This applet requires root priviledges! Connection to 10.0.0.190 closed.

login as root user:

root at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again! Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters) Please use a combination of upper and lower case letters and numbers. Enter new password:
Bad password: too simple.

Warning: weak password (continuing).
Re-enter new password:
Password changed.
Connection to 10.0.0.190 closed.

I got no chance to login without changing the password. Any idea? Thanks a lot.

Best regards,
Fritz Huber

Signature · 2 lines
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
#1 lore raw
Quoted 11 lines · fritz huber

Hello

I'm working with buildroot from 2006-04-18 and kernel 2.6.12 on a ARM9 system. Now i have a problem with the ssh deamon. I would like to use ssh with classic login. My problem:

When i would like to login with a non-root user:

sshd at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again!
passwd: This applet requires root priviledges! Connection to 10.0.0.190 closed.

1) your password is set to expired, fix the expiration date.
2) configure busybox according to your needs (suid bits, busybox.conf)

#2 lore raw
Quoted 9 lines · fritz huber
Quoted 3 lines

Hello

I'm working with buildroot from 2006-04-18 and kernel 2.6.12 on a ARM9

system. Now i have a problem with the ssh deamon. I would like to use ssh with classic login. My problem:

Quoted 3 lines

When i would like to login with a non-root user:

Quoted 8 lines
Quoted 5 lines

sshd at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again!
passwd: This applet requires root priviledges! Connection to 10.0.0.190 closed.

1) your password is set to expired, fix the expiration date.
2) configure busybox according to your needs (suid bits, busybox.conf)

Thank you for your answer.

1) When i login on the standard terminal with RS232 it works correct. Just with ssh i must change my passwords (doesn't matter witch account).

Here is the entry from my shadow file:
sshd:"PASSWORD":0:0:99999:7:::

All accounts have the same shadow-file entry (i mean the same numbers)

Here is the entry from my passwd file:
sshd:x:27:27:sshd-User:/home/sshd:/bin/sh

Best regards,
Fritz Huber

Signature · 2 lines
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
#3 lore raw
Quoted 19 lines · fritz huber
Quoted 9 lines · fritz huber
Quoted 3 lines

Hello

I'm working with buildroot from 2006-04-18 and kernel 2.6.12 on a ARM9

system. Now i have a problem with the ssh deamon. I would like to use ssh with classic login. My problem:

Quoted 3 lines

When i would like to login with a non-root user:

Quoted 8 lines
Quoted 5 lines

sshd at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again!
passwd: This applet requires root priviledges! Connection to 10.0.0.190 closed.

1) your password is set to expired, fix the expiration date.
2) configure busybox according to your needs (suid bits, busybox.conf)

Quoted 6 lines

Thank you for your answer.

1) When i login on the standard terminal with RS232 it works correct. Just with ssh i must change my passwords (doesn't matter witch account).

Here is the entry from my shadow file:
sshd:"PASSWORD":0:0:99999:7:::

set the last changed field to non-null

#4 lore raw
Quoted 23 lines · fritz huber
Quoted 5 lines
Quoted 5 lines · fritz huber
Quoted 3 lines

Hello

I'm working with buildroot from 2006-04-18 and kernel 2.6.12 on a ARM9

system. Now i have a problem with the ssh deamon. I would like to use

ssh

Quoted 16 lines
Quoted 4 lines

with classic login. My problem:

Quoted 3 lines

When i would like to login with a non-root user:

Quoted 8 lines
Quoted 5 lines

sshd at 10.0.0.190's password:
WARNING: Your password has expired.
You must change your password now and login again!
passwd: This applet requires root priviledges! Connection to 10.0.0.190 closed.

1) your password is set to expired, fix the expiration date.
2) configure busybox according to your needs (suid bits, busybox.conf)

Thank you for your answer.

Quoted 7 lines
Quoted 1 line

1) When i login on the standard terminal with RS232 it works correct.

Just with ssh i must change my passwords (doesn't matter witch account).

Quoted 3 lines

Here is the entry from my shadow file:
sshd:"PASSWORD":0:0:99999:7:::

set the last changed field to non-null

That was the failure. Thank you for your fast support. Have a nice day.

Best regards
Fritz Huber

Signature · 2 lines
Psssst! Schon vom neuen GMX MultiMessenger geh?rt?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger