[Bug 2060] sshd tries to use chdir to users home directory as root
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Jan 25 17:53:06 AEDT 2020
https://bugzilla.mindrot.org/show_bug.cgi?id=2060
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
CC| |djm at mindrot.org
Status|NEW |RESOLVED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
UseLogin was deprecated some time ago, the only remaining chdir()
definitely happens after privileges are dropped. The calls occur in the
same function:
https://github.com/openssh/openssh-portable/blob/V_8_1_P1/session.c#L1546
https://github.com/openssh/openssh-portable/blob/V_8_1_P1/session.c#L1622
--
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.
More information about the openssh-bugs
mailing list