bugzilla-daemon at bugzilla.mindrot.org
2016-Nov-26 20:09 UTC
[Bug 2644] New: [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
https://bugzilla.mindrot.org/show_bug.cgi?id=2644 Bug ID: 2644 Summary: [PATCH] set uid for functions that use it to seek in lastlog and wtmp files Product: Portable OpenSSH Version: 7.2p2 Hardware: amd64 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: posix.ru at gmail.com Set uid for functions that use it to seek in lastlog and wtmp files: diff --git a/sshlogin.c b/sshlogin.c index cea3e76..0fcae4c 100644 --- a/sshlogin.c +++ b/sshlogin.c @@ -134,6 +134,7 @@ record_login(pid_t pid, const char *tty, const char *user, uid_t uid, li = login_alloc_entry(pid, user, host, tty); login_set_addr(li, addr, addrlen); + li->uid = uid; login_login(li); login_free_entry(li); } -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Jan-05 02:31 UTC
[Bug 2644] [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
https://bugzilla.mindrot.org/show_bug.cgi?id=2644 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #1 from Damien Miller <djm at mindrot.org> --- This shouldn't necessary - login_alloc_entry() calls login_init_entry() that sets li->uid from the username. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jul-19 05:18 UTC
[Bug 2644] [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
https://bugzilla.mindrot.org/show_bug.cgi?id=2644 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:58 UTC
[Bug 2644] [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
https://bugzilla.mindrot.org/show_bug.cgi?id=2644 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.