Bugzilla – Attachment 615 Details for
Bug 848
OpenSSH_3.8.1p1 - passwd -f does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add debug for pw_age
openssh-hpux-pwage.patch (text/plain), 1.18 KB, created by
Darren Tucker
on 2004-04-21 22:09:28 AEST
(
hide
)
Description:
Add debug for pw_age
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-04-21 22:09:28 AEST
Size:
1.18 KB
patch
obsolete
>Index: auth-shadow.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-shadow.c,v >retrieving revision 1.5 >diff -u -r1.5 auth-shadow.c >--- auth-shadow.c 21 Feb 2004 23:22:05 -0000 1.5 >+++ auth-shadow.c 21 Apr 2004 11:57:55 -0000 >@@ -86,6 +86,10 @@ > time_t today; > int daysleft, disabled = 0; > >+#ifdef HAVE_STRUCT_PASSWD_PW_AGE >+ debug("passwd %s pw_age %s", ctxt->pw->pw_passwd, ctxt->pw->pw_age); >+#endif >+ > if ((spw = getspnam((char *)user)) == NULL) { > error("Could not get shadow information for %.100s", user); > return 0; >Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.215 >diff -u -r1.215 configure.ac >--- configure.ac 20 Apr 2004 10:28:56 -0000 1.215 >+++ configure.ac 21 Apr 2004 11:20:37 -0000 >@@ -1895,6 +1895,7 @@ > OSSH_CHECK_HEADER_FOR_FIELD(ut_tv, utmpx.h, HAVE_TV_IN_UTMPX) > > AC_CHECK_MEMBERS([struct stat.st_blksize]) >+AC_CHECK_MEMBERS([struct passwd.pw_age]) > > AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage], > ac_cv_have_ss_family_in_struct_ss, [
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 848
:
609
|
610
|
611
|
612
|
613
| 615 |
968