From: "Ludovic Courtès" <ludo@gnu.org>
To: Rick Huijzer <ikbenrickhuyzer@gmail.com>
Cc: 57071@debbugs.gnu.org, Roman Scherer <roman.scherer@burningswell.com>
Subject: bug#57071: Xscreensaver not working since latest patch
Date: Thu, 11 Aug 2022 15:59:21 +0200 [thread overview]
Message-ID: <87v8qyubie.fsf@gnu.org> (raw)
In-Reply-To: <CAGXOz9ZS2NuT61vDZyn-hWLWDBOROOptG6tK+iaNkxzS5UFMuw@mail.gmail.com> (Rick Huijzer's message of "Wed, 10 Aug 2022 13:54:33 +0200")
Hi Rick & Roman,
Rick Huijzer <ikbenrickhuyzer@gmail.com> skribis:
> It seems that xscreensaver-auth needs to be setuid instead of the main
> xscreensaver binary. The screen-locker-service in xorg.scm sets the
> provided package setuid and sets the required pam configuration for the
> provided package. The problem is that the pam configuration needs to be set
> for xscreensaver (/etc/pam.d/xscreensaver) and setuid needs to be set for
> xscreensaver-auth.
>
> Interestingly when I setuid xscreensaver-auth manually I run into the
> following when unlocking:
> Aug 10 13:35:02 localhost unix_chkpwd[2197]: check pass; user unknown
> Aug 10 13:35:02 localhost unix_chkpwd[2197]: password check failed for user
> (rhuijzer)
> Aug 10 13:35:02 localhost xscreensaver-auth: pam_unix(xscreensaver:auth):
> authentication failure; logname= uid=1000 euid=1000 tty=:0 ruser= rhost=
> user=rhuijzer
>
> But this might be fixed in time by [RFC PATCH] gnu: linux-pam: Change path
> to unix_chkpwd helper <https://issues.guix.gnu.org/53468>.
>
> I don't know how to fix this elegantly, maybe create a dedicated service
> for xscreensaver instead of the standard screen-locker-service?
Yes, either that or a special case in ‘screen-locker-service’.
Could you give it a try?
Unfortunately I’m going to be away from keyboard for a bit; please do
ping here and/or on IRC if you don’t get a timely reply.
Thanks,
Ludo’.
next prev parent reply other threads:[~2022-08-11 14:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 8:04 bug#57071: Xscreensaver not working since latest patch Rick Huijzer
2022-08-09 21:30 ` Ludovic Courtès
2022-08-10 6:37 ` Roman Scherer
2022-08-10 11:54 ` Rick Huijzer
2022-08-11 13:59 ` Ludovic Courtès [this message]
2022-08-29 13:22 ` Ludovic Courtès
2023-04-13 16:03 ` Tory S. Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8qyubie.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=57071@debbugs.gnu.org \
--cc=ikbenrickhuyzer@gmail.com \
--cc=roman.scherer@burningswell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.