[Bug 1069] session being terminated after succesful authentication

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Aug 12 08:25:34 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1069





------- Additional Comments From djm at mindrot.org  2005-08-12 08:25 -------
> I'm not empowered with root privileges [when deployed, the sshd daemon
> will be run as root] but I've convinced our SA group to at least chown
> root:sys the sshd & ssh binaries and to set the setuid bit on those
> binaries (this is needed as the geteuid checking in login_write() causes
> the daemon to exit if running in -D mode). 

Don't do that. sshd isn't designed to be run setuid root.

You can run sshd without root privileges under your own uid, providing a) you
set UsePAM=no and you stick to pubkey or hostbased authentication. Obviously you
will not be able to authenticate as a different user.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list