[Bug 1083] Disable login for locked account

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Oct 5 14:33:09 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1083





------- Additional Comments From senthilkumar_sen at hotpop.com  2005-10-05 14:33 -------
(In reply to comment  #5)
> can it get into this situation with a normal HP-UX configuration?
I assume this means a configuration with shadow feature installed. With this, 
spw will not be set to NULL unless getspnam fails for the user(bogus user). In 
11.11, for a misconfigured system spw will be NULL and thus passwd also NULL. 

So I think this wont affect the Normal configuration and also my testing says it 
worked well for systems with normal configuration and problem happens only with 
misconfigured systems.

>Also, a slightly simpler patch would be to put the "passwd = pw->pw_passwd;"
>without the "if" before all of the #ifdefs.

Yes, it will have same effect. One more thing, can we move that like below,

const char *hostname = NULL, *ipaddr = NULL, *passwd = pw->pw_passwd;





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list