Comments (18)
So I have a workaround. Please note I'm using Cinnamon Screensaver (should work on Mate too).
First as you said:
sudo chmod -R 755 /lib/security/howdy/
Then:
sudo howdy config
And set no_confirmation to true
.
It's crashing when sending the confirmation message, so disabling it makes the trick. :)
from howdy.
This does not work on Fedora release 32 (Rawhide) Mate 1.22.3
sudo works, LightDM works, but not the mate lockscreen. I tried making /lib64/security/howdy 0775, but it doesn't work. I've got no /var/log/auth either. Any other ideas?
from howdy.
Thanks so much for figuring this out! I'll add it to the FAQ if i ever get around to writing it.
from howdy.
Can confirm making /lib/security/howdy/ world-readable solved an issue I was facing with swaylock
.
Can this be the default?
from howdy.
You seem to have a talent for discovering rare bugs ;)
I'm quite lost on this one, it might be handling sessions incorrectly? Does sudo -i
work?
from howdy.
Also, could you take a look at the last lines in /var/log/auth.log
?
from howdy.
sudo -i works fine, but here's auth.log when I log in from the screensaver:
Apr 26 17:58:11 bartlet /lib/security/howdy/pam.py[16770]: Can not open module: Permission denied
Fascinating - I wonder if my user is trying to call the module?
from howdy.
Changed permissions on pam.py to 750, but then when I went to unlock from screensaver saw this in auth.log:Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: File "/lib/security/howdy/pam.py", line 53, in pam_sm_authenticate
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: return doAuth(pamh)
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: File "/lib/security/howdy/pam.py", line 19, in doAuth
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: if config.get("core", "disabled") == "true":
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: raise NoSectionError(section)
Apr 26 18:01:16 bartlet /lib/security/howdy/pam.py[17152]: NoSectionError: No section: 'core'
from howdy.
Both should be impossible, what does your config.ini look like?
from howdy.
from howdy.
So I changed the permissions of the howdy directory to 755, then tried again. Now howdy runs, and the login window says I've been identified, but then it still won't let me in without a password. auth.log:
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: Traceback (most recent call last):
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: File "/lib/security/howdy/pam.py", line 53, in pam_sm_authenticate
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: return doAuth(pamh)
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: File "/lib/security/howdy/pam.py", line 38, in doAuth
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: pamh.conversation(pamh.Message(pamh.PAM_TEXT_INFO, "Identified face as " + pamh.get_user()))
Apr 26 18:18:09 bartlet /lib/security/howdy/pam.py[19603]: PamException: Conversation error
from howdy.
For anyone having the same issue: @arifeinberg has opened a ticked in the PAM library here.
from howdy.
I ran into this issue. The models
directory and the files inside must be world-readable.
from howdy.
So I have a workaround. Please note I'm using Cinnamon Screensaver (should work on Mate too).
First as you said:
sudo chmod -R 755 /lib/security/howdy/
Then:
sudo howdy config
And set no_confirmation totrue
.It's crashing when sending the confirmation message, so disabling it makes the trick. :)
Can confirm this works on Cinnamon.
from howdy.
Is this secure, to have these files world readable?
from howdy.
Readable shouldn't be a big issue, but don't make it writable
from howdy.
Hi, I got this issue with clearing all faces (sudo howdy clear
) and creating models with the -U
flag (sudo howdy -U <username> add
)
from howdy.
This problem appeared to me (Debian 10 + Mate). I believe a fix for cinnamon/mate would be good, the question is whether it is only in these environments (screensavers) that it happens.
I documented this solution on the wiki¹ (common issues).
Could we keep this issue open? The problem hasn't really been solved, the suggestions are just a temporary solution, right?
[1] - https://github.com/boltgolt/howdy/wiki/Common-issues#howdy-pam-module-does-not-load-on-screensaver
from howdy.
Related Issues (20)
- KDE Neon 6.0 login screen does not automatically unlock after face detection
- Using howdy only for gdm HOT 5
- Changing and Testing howdy certainty HOT 1
- Enhance the "Error when trying to add a face model" happening
- SSH_CONNECTION security issue is back HOT 5
- abort_if_ssh not working in Fedora 40 HOT 1
- slow to open camera on ubuntu noble
- /usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer HOT 5
- Deprecation Warning: datetime.datetime.utcnow HOT 1
- No face model known with manual installation using meson HOT 1
- [Feature] Create a command that runs camera setup again
- Can't run howdy on Ubuntu 24.04 HOT 1
- Howdy can't import module ConfigParser however it's alreayd installed HOT 1
- Ubuntu 24.04 - camera authentication will not start HOT 5
- Unable to use Howdy with software managing multiple Python versions
- No module named 'cli' in ubuntu 24.04 LTS HOT 1
- BrokenPipeError after enabling the "hotkey" RubberStamp HOT 2
- howdy on nixos HOT 1
- Howdy does not work with swaylock
- Howdy for unlocking PC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howdy.