Bugzilla – Attachment 955 Details for
Bug 1083
Disable login for locked account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for denying login to locked account through public key
shadow-lock-fix.txt (text/plain), 436 bytes, created by
senthilkumar
on 2005-09-09 20:02:48 AEST
(
hide
)
Description:
Fix for denying login to locked account through public key
Filename:
MIME Type:
Creator:
senthilkumar
Created:
2005-09-09 20:02:48 AEST
Size:
436 bytes
patch
obsolete
>--- auth.c 2005-09-09 15:08:18.000000000 +0530 >+++ auth.c-fix 2005-09-09 15:11:12.000000000 +0530 >@@ -102,9 +102,9 @@ > #else > passwd = spw->sp_pwdp; > #endif /* HAVE_LIBIAF && !BROKEN_LIBIAF */ >-#else >- passwd = pw->pw_passwd; > #endif >+ if(passwd == NULL) >+ passwd = pw->pw_passwd; > > /* check for locked account */ > if (!options.use_pam && passwd && *passwd) {
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1083
:
955
|
982
|
1148
|
1542