Kasper24 / KwesomeDE

A desktop environment made in AwesomeWM
329 stars 18 forks source link

Use lua-pam for lockscreen? #8

Closed Ryex closed 1 year ago

Ryex commented 1 year ago

it would be nice to at least have the option to use PAM for the lockscreen password

https://github.com/RMTT/lua-pam/

arch has an aur package https://aur.archlinux.org/packages/lua-pam-git

Kasper24 commented 1 year ago

I removed it not long ago, figured it was unnecessary when you can set the password via the settings. Does it bring any other advantage?

Ryex commented 1 year ago

The main one would be to not have a plaintext password hanging around in the settings file.

Kasper24 commented 1 year ago

Well, it's not secured in any form, but even if I add PAM support back in I'll still have it work for users who don't have PAM installed via the password in the settings file as I wouldn't want to add another dependency

Kasper24 commented 1 year ago

I was under the impression that PAM wasn't installed on most systems, but that seems to be wrong so I've switched over to PAM and removed the previous method.

Ryex commented 1 year ago

yea. PAM is kinda fundamental to the account architecture of linux