[Bug 1030] sshd writes twice to wtmp when "UseLogin" is yes

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 5 15:54:04 EST 2005


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





------- Additional Comments From senthilkumar_sen at hotpop.com  2005-05-05 15:54 -------
Created an attachment (id=896)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=896&action=view)
Patch for one wtmp entry if uselogin is enabled

This happens because login on invocation writes its own entry in wtmp files. To
avoid I made OpenSSH code not to write in the wtmp file if uselogin is enabled.
I like to hear comments on the approach for the attached patch. This solves the
problem in my system and Im not sure about any side effects? Also Im not sure
why the function login_utmp_only() is doing entry in wtmp?



------- 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