Index | Thread | Search

From:
Manuel Giraud <manuel@ledu-giraud.fr>
Subject:
XScreenSaver and bsdauth
To:
ports@openbsd.org
Date:
Mon, 08 Jul 2024 11:43:25 +0200

Download raw body.

Thread
Hi,

I'm trying to make a patch to XScreenSaver to support bsdauth (hopefully
to have it upstream).

So far so good but at one point I'm calling auth_userokay(3) and I
always get the following error:

xscreensaver-auth: /usr/libexec/auth/login_passwd: Permission denied

AFAIU, this call to auth_userokay(3) is done from the
'xscreensaver-auth' executable which was forked from the 'xscreensaver'
executable.  I have tried many combination of ownership and setuid bit
on both 'xscreensaver' and 'xscreensaver-auth' but I always end up with
this same error message.  Do you have any idea?
-- 
Manuel Giraud