openssh3.8p1 passwd -f for uid's longer than 8 char problem

Walczak, Stanislaw stanislaw.walczak at eds.com
Tue May 11 23:27:42 EST 2004


Hi !
Solaris 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-60
Putty 0.53b
sshd version OpenSSH_3.8p1, OpenSSL 0.9.7d 17 Mar 2004

While using passwd -f for uid 10 char long, I'm not able to logon again to
change password because uid is truncated to 8 char.

Incoming packet type 14 / 0x0e (SSH1_SMSG_SUCCESS)
Event Log: Allocated pty
Outgoing packet type 12 / 0x0c (SSH1_CMSG_EXEC_SHELL)
Event Log: Started session
Incoming packet type 17 / 0x11 (SSH1_SMSG_STDOUT_DATA)
  00000000  00 00 00 95 4c 61 73 74 20 6c 6f 67 69 6e 3a 20  ....Last login:

  00000010  4d 6f 6e 20 4d 61 79 20 31 30 20 30 38 3a 31 31  Mon May 10
08:11
  00000020  3a 31 36 20 32 30 30 34 20 66 72 6f 6d 20 31 35  :16 2004 from
15
  00000030  39 2e 32 34 39 2e 31 37 39 2e 31 32 30 0d 0d 0a
9.249.179.120...
  00000040  57 41 52 4e 49 4e 47 3a 20 59 6f 75 72 20 70 61  WARNING: Your
pa
  00000050  73 73 77 6f 72 64 20 68 61 73 20 65 78 70 69 72  ssword has
expir
  00000060  65 64 2e 0d 0a 59 6f 75 20 6d 75 73 74 20 63 68  ed...You must
ch
  00000070  61 6e 67 65 20 79 6f 75 72 20 70 61 73 73 77 6f  ange your
passwo
  00000080  72 64 20 6e 6f 77 20 61 6e 64 20 6c 6f 67 69 6e  rd now and
login
  00000090  20 61 67 61 69 6e 21 0d 0a                        again!..
Incoming packet type 17 / 0x11 (SSH1_SMSG_STDOUT_DATA)
  00000000  00 00 00 5b 70 61 73 73 77 64 3a 20 43 68 61 6e  ...[passwd:
Chan
  00000010  67 69 6e 67 20 70 61 73 73 77 6f 72 64 20 66 6f  ging password
fo
  00000020  72 20 6f 70 73 77 61 72 65 30 0d 0a 70 61 73 73  r
opsware0..pass
  00000030  77 64 3a 20 55 73 65 72 20 75 6e 6b 6e 6f 77 6e  wd: User
unknown
  00000040  3a 20 6f 70 73 77 61 72 65 30 0d 0a 50 65 72 6d  :
opsware0..Perm
  00000050  69 73 73 69 6f 6e 20 64 65 6e 69 65 64 0d 0a     ission denied..
Incoming packet type 20 / 0x14 (SSH1_SMSG_EXIT_STATUS)
  00000000  00 00 00 01                                      ....
Event Log: Server sent command exit status 1

Version 3.7p2 with pwexp is behaving the same way.

Thank you for help in advance


/s.w.




More information about the openssh-unix-dev mailing list