неделя, 23 декември 2018 г.

Fix lockscreen problem

After new installation, my sabayon lockscreen wouldn't unlock, even though the password was correct. A workaround was ctr+f2 and:
$sudo loginctl unlock-session 1

A fix is to do:
$sudo chmod u+s /usr/lib64/libexec/kcheckpass
Worked perfectly.

From here:
The correct permissions for /etc/shadow are root:root mode 600. The correct permissions for /sbin/unix_chkpwd depend on whether it was installed with USE=filecaps. If it was so installed, then the permissions should be 711. If it was installed with USE=-filecaps, then the permissions should be 4711.

Няма коментари:

Публикуване на коментар