Incorrect password for Linux user even after changing it
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001
--
Chapters
00:00 Incorrect Password For Linux User Even After Changing It
00:45 Accepted Answer Score 6
01:32 Answer 2 Score 19
01:47 Answer 3 Score 1
01:57 Thank you
--
Full question
https://superuser.com/questions/396857/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #passwords #user
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001
--
Chapters
00:00 Incorrect Password For Linux User Even After Changing It
00:45 Accepted Answer Score 6
01:32 Answer 2 Score 19
01:47 Answer 3 Score 1
01:57 Thank you
--
Full question
https://superuser.com/questions/396857/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #passwords #user
#avk47
ANSWER 1
Score 19
Without it being apparent, pam_faillock was present on the OS. I had a user account that was 'locked' which I unlocked with the following:
faillock --user usernameGoesHere --reset
ACCEPTED ANSWER
Score 6
There are several places to check.
/etc/passwd
- maybe the user has not access to a "valid shell"; if the line corresponding to this user ends with/bin/false
, then this user does not have access to the command-line shell/etc/hosts.allow
and/etc/hosts.deny
- access control/etc/ssh/sshd_config
- ssh configuration/etc/security/access.conf
- security setting/etc/pam.d/sshd
and/etc/pam.d/system-auth-ac
- PAM settings
Using ssh -vv
for verbose output may help.
And a user reported that reinstalling ssh resolved his issue.
ANSWER 3
Score 1
Based on the answer from Chris, I used this command on a similar issue, with success:
faillog --user usernameGoesHere --reset