mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-21 06:54:28 +01:00
fix: automatically unlock gnome keyring on login
This commit is contained in:
@@ -46,3 +46,5 @@ dnf5 install -y https://launchpad.net/veracrypt/trunk/1.26.24/+download/veracryp
|
|||||||
|
|
||||||
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
|
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
|
||||||
dnf5 clean all
|
dnf5 clean all
|
||||||
|
|
||||||
|
cp /ctx/login /etc/pam.d
|
||||||
|
|||||||
18
build_files/login
Normal file
18
build_files/login
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth substack system-auth
|
||||||
|
auth include postlogin
|
||||||
|
auth optional pam_gnome_keyring.so
|
||||||
|
account required pam_nologin.so
|
||||||
|
account include system-auth
|
||||||
|
password include system-auth
|
||||||
|
# pam_selinux.so close should be the first session rule
|
||||||
|
session required pam_selinux.so close
|
||||||
|
session required pam_loginuid.so
|
||||||
|
# pam_selinux.so open should only be followed by sessions to be executed in the user context
|
||||||
|
session required pam_selinux.so open
|
||||||
|
session required pam_namespace.so
|
||||||
|
session optional pam_keyinit.so force revoke
|
||||||
|
session include system-auth
|
||||||
|
session include postlogin
|
||||||
|
-session optional pam_ck_connector.so
|
||||||
|
session optional pam_gnome_keyring.so auto_start
|
||||||
Reference in New Issue
Block a user