diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-10-26 14:00:36 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-10-27 18:32:21 +0900 |
commit | f035e4112b05469a0662c1919dc5c6a02eaf6434 (patch) | |
tree | 4348df18630ff56dbf6532b6d5b22d7a07416f3c /install-files/gnome | |
parent | df6757d6a02aefebddef002a061a9bc9263a8c93 (diff) | |
download | definitions-f035e4112b05469a0662c1919dc5c6a02eaf6434.tar.gz |
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
Diffstat (limited to 'install-files/gnome')
-rw-r--r-- | install-files/gnome/etc/pam.d/gdm-launch-environment | 13 | ||||
-rw-r--r-- | install-files/gnome/manifest | 1 |
2 files changed, 14 insertions, 0 deletions
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 |