Whats the best way to set an pin number unlocking for my password for logging into desktop for either gnome or kde?

I don’t know if arch Linux has a good way or easy way to include a pin unlocking number for when you don’t want to type the full password each time you want to log into either gnome or Kde, I like how windows let you set a pin number to log into my home computer that,type of feature.

I am not sure Linux has or if that would be unsafe on Linux to have a pin number instead of a password access for both the user and root accounts.

my question is there good yay -s “software title” to do this type on thing on arch Linux is that safe or should be used?

– deleted –

hi, that gif was incomplete without the text. just edited it. did not mean anything against you. hope you understand.
someone said, “freedom is difficult and hence FOSS is”. imagine paying someone and they think they can milk me forever.

was not sure how a gun image plays into a Linux question, its like looking into a gun, I didn’t get how that was funny at all, maybe you linked the wrong image to that text, below was your image link you had reply to my post with, again I didn’t find it funny and was off subject to my pin number question for Linux password access, didn’t have anything to do with my topic here, I added ** to it, again I didn’t find that image funny, and sort of off topic to my question.


ok sir. as you say

The password prompt is there for a reason. A Pin is not a safe way to log in to a computer and wouldn’t ever use it for a root user.

not for the root user, I wanted it more for the home user, root can still be a password if that is safer, can you install software without root access on Linux? or pattern unlock access like my android has , that a feature I was wondering if Linux can use like my samsung 10.1 android tablet has, I think all android tablets have pattern lock screen and unlock screen option , not just pin access for linux also was part of my question at first, but pattern access would be harder for linux to use I guess or I could be wrong.
I currently use a password for home user thats not the same password for root user, both can access root without the root password you can just use sudo su with the home user access that can be done, and I would think that would make password access from terminal box unsafe too, but linux or arch has not patched that sudo su, to not allow home user to get root access yet.

what is there to patch? You can make sudo not allowed for a user easily with visudo. Or you can remove your own user from the wheel group.

I don’t think there is a pin / pattern support in gdm so you only use password, or if you have a fingerprint reader for example in a laptop, you can use that to login (if it has linux support).

Is there some reason you can’t just use a “pin number” as your password? Just change your password to whatever number you want it to be?

IF you are the only one who uses this computer, IF the computer is physically in a “trusted” location", and IF entering a password is too troublesome, why not set up auto-login and then you don’t have to type in anything.


1 Like

if I recall when setting up the password for both root and the home user, it will display on some distros that if the password is a strong password or a weak password, and in windows 10 when setting up a pin number for accessing your strong password it will ask you for your password to log into with it, it works by the pin unlocking and automatically using your password to access your account on windows thats how the pin number access works if I can right about it. :sunglasses:

If you have a hardware token like a Yubikey, you can use it to log in with the yubico PAM module:


Yes. I have a “weak password,” it should let you do it still.

I thought you were trying to unlock EOS with a pin? I don’t really care how or what Windows does. If you’re always trying to do or replicate Windows, you may just be better off using it.


I always hated that windows suddenly forced me to use a pin while I just wanted to use my pwd. Then it forced me to change my pin every couple of weeks. :exploding_head:

and don’t anyone tell me that it can be done like this or that. When I use windows I use it a la Linus tech style :rofl: but in reverse. I am a Linux user who doesn’t have time to mess with my computer when I use windows.

You can untick the part that your user is also admin when installing eos or as said above, remove your user from the privileged group if already selected during install. This would be similar to Debian, where your user is not part of sudo by default as I recall.

Then make a strong pwd for administrator to access root and a small pin for your user account. Don’t know if that kind of reproduces what windows is doing. You can also encrypt your file system during eos install with an additional layer of security but another pwd to punch in at reboot.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.