Questions tagged [shadow]
The shadow tag has no summary.
105 questions
2 votes
0 answers
23 views
Linux login and unlock screen by two passwords + face recognition
How to configure PAM to asks for password, and try recognize of face or input additional password. I need to use sudo by face. Additional password is required to enhance security (nobody will run sudo ...
2 votes
1 answer
983 views
Why does the salt value in /etc/shadow say "rounds=..."?
I have an embedded Linux device with a fairly modern Linux kernel. However, a strange thing happened with the last update: when a password is modified with passwd for any user, the salt value in /etc/...
0 votes
1 answer
56 views
How to syncronize credentials in a small laboratory? (very slim alternative to ldap)
We run a small lab with 20 Linux systems (RaspberryPI, NAS, Desktop PCs) for research with 4 scientists who all need sudo permissions. We trust all 4 users as they have sudo permission and physical ...
0 votes
0 answers
54 views
How to calculate the password hash in /etc/shadow [duplicate]
I have the following line in my /etc/shadow file (SALT and HASHED_PASSWORD are not real values for obvious reason). And I understand $6 means SHA512 is used. testuser:$6$SALT$HASHED_PASSWORD:19591:0:...
0 votes
1 answer
249 views
Difference between passwd and passwd- file as well as shadow and shadow- file
on my server running UnraidOS I got a bit suspicious. There are both 'passwd' and 'passwd-' files (same goes for shadow(-)). These ones should be only backups as I understood. Running: root@Unraid-...
0 votes
1 answer
148 views
Hashed passwords are NOT similar although the salt and password are similar
I had created two users on Linux with the same exact passwords, but when I looked at the /etc/shadow file, I found that the hashed values look different, although the salt file is the same. (Please ...
0 votes
1 answer
114 views
etc shadow file for passwd - calculate not only date but time
I want to know if there is a way to get the last password change date + time stamp ?
0 votes
1 answer
120 views
How to update user password with the file has password,without prompt key in?
I am using Debian 11,set password with shadow. I random generate password into file pas: cat pas "Th3P@ssw0rd" When I update password to normal user has sudo privilege, sudo passwd username ...