Bugzilla – Attachment 2591 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]
less wrong
skip_recordlogin_uselogin.diff (text/plain), 363 bytes, created by
Damien Miller
on 2015-04-17 14:21:20 AEST
(
hide
)
Description:
less wrong
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-04-17 14:21:20 AEST
Size:
363 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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 378
:
2590
| 2591