2 poss improvements to 3.6.1p2/passexpire21

Elwell, AD (Andrew) A.D.Elwell at dl.ac.uk
Tue Jul 1 23:32:33 EST 2003


Hi again folks,

The new passexpire21 patch works well (ta Darren) but...

1) is it possible to display the "your password has expired and needs
changing" 
to the users *before* calling the password change routine?

ie ssh shows...
$: ssh 193.62.122.26
ade45 at 193.62.122.26's password: 
Changing password for "ade45"
ade45's Old password:
ade45's New password:
Re-enter ade45's new password:
3004-609 Your password has expired.     Please choose a new password.Last
unsuccessful login: Tue  1 Jul 09:21:49 2003 on /dev/dtlogin/_0
Last login: Tue  1 Jul 14:34:01 2003 on ssh from l1f01



whereas rlogin (yes I know.... it's a development box) shows
$: rlogin !$
rlogin 193.62.122.26
ade45's Password: 
3004-609 Your password has expired.
        Please choose a new password.

ade45's New password: 


2) when a password is *due* to expire soon (ie within the pwdwarntime range)

the message could do with a carriage return...

ade45 at 193.62.122.26's password: 
3004-328 Your password will expire: Tue 15 Jul 14:30:40 2003Last
unsuccessful login: Tue  1 Jul 09:21:49 2003 on /dev/dtlogin/_0
Last login: Tue  1 Jul 14:30:31 2003 on ssh from l1f01


I'm pretty sure this is just a case of re-arranging some stuff* in the patch
code,
but not sure where...

Many thanks,
Andrew

*technical term for blood, sweat n tears




More information about the openssh-unix-dev mailing list