summaryrefslogtreecommitdiff
path: root/data/pam-redhat/gdm-welcome.pam
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-07-08 16:58:41 -0400
committerColin Walters <walters@verbum.org>2012-07-10 10:26:53 -0400
commitf42e685e271015d5cc5d52342a8832010f65c5d2 (patch)
tree9efa2aa2e54b332baa6420ac8f7c5fa3c55c3a46 /data/pam-redhat/gdm-welcome.pam
parenta325fcbc8f6fc138057fb2812c4f2d32ecc1346c (diff)
downloadgdm-f42e685e271015d5cc5d52342a8832010f65c5d2.tar.gz
Clean up PAM build/install rules; move to pam-redhat
The build system was inconsistent in its handling of pam files. The multistack files had names ending in .pam, which we copied to an unsuffixed file, and installed via pam_DATA. The non-multistack files had unsuffixed filenames in the source, which we installed manually via install-data-local. Let's clean this up by naming every file with ".pam", and do the rename when we put them in the install root. This is faster and requires less makefile boilerplate to copy the files during the build process. Note: This also drops the previous crappy implementation of a configuration management scheme where we only installed the files if they didn't already exist. I'm not aware of anyone who actually uses 'make install' for gdm and cares about that semantic. Finally, because all of these pam files are Red Hat specific, move them to a separate pam-redhat directory, to ease the addition of a future patch which adds PAM files for different systems. https://bugzilla.gnome.org/show_bug.cgi?id=675085
Diffstat (limited to 'data/pam-redhat/gdm-welcome.pam')
-rw-r--r--data/pam-redhat/gdm-welcome.pam9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/pam-redhat/gdm-welcome.pam b/data/pam-redhat/gdm-welcome.pam
new file mode 100644
index 00000000..b301f4f9
--- /dev/null
+++ b/data/pam-redhat/gdm-welcome.pam
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_loginuid.so
+session optional pam_keyinit.so force revoke
+session include system-auth