On Wed, Nov 18, 2026 at 06:49:11PM +0000, Stuart Henderson wrote:
> On 2026/11/18 18:10, Caspar Schutijser wrote:
> > I'm not an expert on this stuff but as far as I know, there is no
> > important reason to go with the BSD Authentication route instead of
> > what you propose.
> 
> Apart from not giving xscreensaver access to the encrypted hashes
> for all users implied by _shadow, BSD Authentication supports other
> mechanisms like having passwords in LDAP/RADIUS etc.
> 

fwiw, xlock uses privsep to drop setgid auth from the main process and
only keeps a small privileged child to do the auth_userokay() calls.
One could steal code from that...

The implementation was refined several times. So it spreads overs all
recent commits to xenocara/app/xlockmore since 2022... with help
of many.
-- 
Matthieu Herrb

Reply via email to