Re: "UsePrivilegeSeparation no" is useful for running sshd without privileges

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Darren Tucker <dtucker@xxxxxxxxxxx> writes:
> On Tue, 8 Feb 2022 at 06:16, Spencer Baugh <sbaugh@xxxxxxxxxx> wrote:
>> "UsePrivilegeSeparation no" causes sshd to not use setuid when starting
>> up.  This is useful for running sshd without any privileges in the first
>> place.  That is, running sshd as an unprivileged user, rather than as
>> root.
>
> "UsePrivilegeSeparation yes" (or just omitting it) works as an
> unprivileged user.  All of our regression tests can (and do) run that
> way.  At one point it required that the privsep user and directory
> exist, although it didn't use them, but that was fixed nearly five
> years ago[0].

Oh, great! Indeed, I just tested it myself, and it works just fine now!
My apologies for the noise, I indeed only tested this before on an old
OpenSSH version.

Nevermind then!
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux