Bugzilla – Attachment 2590 Details for
Bug 378
sshd does not update utmp/utmpx records correctly when "UseLogin" feature on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
skip record_login in privsep when UseLogin is active
skip_recordlogin_uselogin.diff (text/plain), 364 bytes, created by
Damien Miller
on 2015-04-17 14:14:01 AEST
(
hide
)
Description:
skip record_login in privsep when UseLogin is active
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-04-17 14:14:01 AEST
Size:
364 bytes
patch
obsolete
>diff --git a/monitor.c b/monitor.c >index e459ef9..f468854 100644 >--- a/monitor.c >+++ b/monitor.c >@@ -1186,6 +1186,9 @@ mm_record_login(Session *s, struct passwd *pw) > socklen_t fromlen; > struct sockaddr_storage from; > >+ if (!options.use_login) >+ return; >+ > /* > * Get IP address of client. If the connection is not a socket, let > * the address be 0.0.0.0.
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 378
:
2590
|
2591