Hey guys. My friend and I have a problem: we can’t log in to unsudo-profile after locking screen. It says “Password initialization failed”. We can only log in to sudo-profile. Check this error. Maybe it will be fixed in next update. This error is not related to any installations of additional packages - my friend had this problem right after installing Kicksecure on host. Or is it not error and we need to add permission somewhere? I didn’t find a solution to problem
localhost xscreensaver-auth[5087]: pam_exec(xscreensaver:auth): Calling /usr/libexec/security-misc/pam-abort-on>
localhost xscreensaver-auth[5101]: pam_exec(xscreensaver:auth): Calling /usr/libexec/security-misc/pam-info …
localhost xscreensaver-auth[5085]: pam_exec(xscreensaver:auth): /usr/libexec/security-misc/pam_faillock_not_if_>
localhost xscreensaver-auth[5085]: pam_wheel(xscreensaver:auth): Ignoring access request ‘user’ for ‘user’
Log into what?
Not without understanding what is going on here.
Please provide instructions for reproduction. → Sample Bug Report
I have created a new profile without sudo rights. I can’t log in to it after locking screen. If I logged in to a profile with sudo rights, then I still cannot get into another profile (without sudo rights). Always password initialization error. If you look at logs that I wrote in first message, reason is somewhere in security-misc. The logs say that error is related to code 1
You didn’t say how you created a new profile or how you tried to login.
I tested to create user2
, login, no issues.
What do you mean by “get into another profile”?
I doubt there is a bug where you need to wait for a new version. At worst, a sysadmin task.
Documentation on how to create users, login, written just now:
sudo adduser user2
sudo deluser user2 sudo
Error when trying to log in after screen lock - Password initialization failed
I can only log in to user1 (group sudo)
No need for that. sudo isn’t a default group that gets added to any new users.
I cannot reproduce this.
Note: You need to use the password that you set after using adduser
. Don’t try to use changeme
or empty password.
Another possibility: The user entered the wrong password too many times and the login is now locked. In this case, see Unlock User Account: Excessive Wrong Password Entry Attempts.
Try login into a Virtual Consoles (but make sure the user is member of group console
as mentioned in documentation).