Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Why do tty's log in even with a wrong password or none at all?

+2
−0

I have a Manjaro machine with mostly default programs in the background. I recently found out that when signing in to the other tty's (the ones you go to by pressing CTRL+ALT+F#), it logs in without a password, meaning I can put in whatever and it doesn't fail. How can I fix that or at least see where the problem is coming from?

I have configured PAM to use fprintd for the logins that I usually use. It works as expected on everything that I regularly use: SDDM, swaylock, sudo, ssh. However, in the tty's it just logs in without an issue.

I have also noticed that when logging in to the normal user which has fingerprints configured and tied to the user, it waits for the fingerprint device, but even when the fingerprint times out, it just logs in. The root user just logs in without waiting for anything.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+2
−0

OK, I was messing with the configs and removing the fprintd lines

auth      sufficient pam_unix.so try_first_pass likeauth nullok 
auth      sufficient pam_fprintd.so

And the offending file was the /etc/pam.d/system-local-login. I removed those lines to have the vanilla authentication and it worked! However, I put the lines back and it also worked like before.

I guess if you have this same issue in the tty's, you can change that file to see what can be done. NOTE THAT YOU HAVE TO HAVE THE ROOT SESSION OPEN WHEN YOU CHANGE THESE FILES OR YOU WILL LOCK YOURSELF OUT.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »