-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
On both version 1.5.1 and 1.9.0 on Ubuntu 22, running make install or installing via apt does not enable setuid/setgid on authproto_pam. This seems to only have caused issues when the password has expired while the user has been logged in, prompting a password change inside the xsecurelock sign-in workflow.
Steps to reproduce:
make installorapt install xsecurelock- Configure to activate via
xss-lock, which itself is set up inside a normal user's.xinitrc - Log in as the normal user, and run
passwd --expire(this issue also occurs when a password is older than the max allowed age) - Lock the screen manually by running
xset s activate - Log in with the current password, observe the prompt to change the password
- Attempt to change the password correctly. After three failed attempts, observe that it lets you in anyways (not sure if this is expected?)
- Either lock the screen or log out. Either way, attempt to log back into the account and observe that the password has not been changed.
My workaround was to chmod ug+s authproto_pam, after which point everything works as expected. (The "lets you in after three failed password change attempts" noted in step 6 still occurs, but again I'm not sure if that's expected or not.)
thefakhraee
Metadata
Metadata
Assignees
Labels
No labels