| Summary: | sshd does not update utmp/utmpx records correctly when "UseLogin" feature on | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | David Kaelbling <drk> | ||||||
| Component: | sshd | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | CC: | djm, dtucker | ||||||
| Priority: | P2 | Keywords: | help-wanted | ||||||
| Version: | -current | ||||||||
| Hardware: | MIPS | ||||||||
| OS: | IRIX | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 2360 | ||||||||
| Attachments: |
|
||||||||
|
Description
David Kaelbling
2002-08-02 23:40:56 AEST
Someone with regular access to Irix is going to need to fix this, marking as help-wanted. Created attachment 2590 [details]
skip record_login in privsep when UseLogin is active
There is actually a bug here: if UseLogin is set, then we would automatically call record_login() in the monitor. session.c would skip do_login()->record_login() for the UseLogin case, but the monitor doesn't.
Comment on attachment 2590 [details] skip record_login in privsep when UseLogin is active >+ if (!options.use_login) >+ return; >+ Err, that's going to skip the login recording when UseLogin is INactive. Created attachment 2591 [details]
less wrong
Apparently I fail at logic; invert test
fix committed - this will be in openssh-6.9 Close all resolved bugs after 7.3p1 release |