greetd: add pam configuration

- pass pam environment
- unlock keyring on login
- dont require bash
This commit is contained in:
Markus Volk 2024-11-18 18:12:57 +01:00
parent 00fb2ba50e
commit 8673fe5ad4
2 changed files with 11 additions and 9 deletions

View File

@ -1,9 +1,11 @@
#%PAM-1.0
auth requisite pam_nologin.so
auth include common-auth
auth required pam_env.so
auth optional pam_gnome_keyring.so
account include common-account
password include common-password
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session include common-session
session optional pam_gnome_keyring.so auto_start

View File

@ -154,7 +154,7 @@ do_install:append() {
}
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --user-group --groups video --no-create-home --shell /bin/bash greeter"
USERADD_PARAM:${PN} = "--system --user-group --groups video --no-create-home --shell /bin/sh greeter"
FILES:${PN} += "${sysconfdir} ${systemd_system_unitdir}"