From f035e4112b05469a0662c1919dc5c6a02eaf6434 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 26 Oct 2015 14:00:36 +0900 Subject: Adding custom gdm-launch-environment PAM configuration The default setup does not work with gnome-initial-setup tool, which requires a separate username from gdm. Change-Id: I349797f6752e0cde3f80acacdd67721d75e424c9 --- install-files/gnome/etc/pam.d/gdm-launch-environment | 13 +++++++++++++ install-files/gnome/manifest | 1 + 2 files changed, 14 insertions(+) create mode 100644 install-files/gnome/etc/pam.d/gdm-launch-environment diff --git a/install-files/gnome/etc/pam.d/gdm-launch-environment b/install-files/gnome/etc/pam.d/gdm-launch-environment new file mode 100644 index 00000000..0e49df04 --- /dev/null +++ b/install-files/gnome/etc/pam.d/gdm-launch-environment @@ -0,0 +1,13 @@ +# Begin /etc/pam.d/gdm-launch-environment + +auth required pam_env.so +auth optional pam_permit.so + +account include system-auth + +password required pam_deny.so + +session optional pam_keyinit.so force revoke +session include system-auth + +# End /etc/pam.d/gdm-launch-environment diff --git a/install-files/gnome/manifest b/install-files/gnome/manifest index 9546270d..94cd596a 100644 --- a/install-files/gnome/manifest +++ b/install-files/gnome/manifest @@ -1,2 +1,3 @@ 0100644 0 0 /etc/securetty overwrite 0100644 0 0 /etc/ssh/sshd_config +overwrite 0100644 0 0 /etc/pam.d/gdm-launch-environment -- cgit v1.2.1