Closed marco3181 closed 2 years ago
Thank you for the report and the offer of a pull request! I can confirm that a custom password fails in x11docker/cinnamon at least with the screen locker, yet checked. A pull request is appreciated!
For the screen locker, I didn't find it yet. I don't know if it is PAM related.
For the Cinnamon screen locker, I found this working https://forums.linuxmint.com/viewtopic.php?t=232242 , the last post. There is a problem with files not owned by the group shadow.
Thank you for the hint with root:shadow
for /etc/shadow
. x11docker sets the group accordingly now.
Now cinnamon screenlocker works at least if running along with --cap-default
.
The password option is great but seems not to work. It seems there are some changes needed in the x11docker script. And for security reason, I think SHA512 and a random salt in the shadow would be better. I made changes in my fork and tested on oracle linux with the cinnamon container. I can make a pull request. Thank you for your great work.