summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-11-03 16:20:09 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-11-03 16:20:09 +0000
commit5f8bff2a698c1d8592c8c20d67cf8a9d07ab19cf (patch)
treefe57d26eca04ee8ae09a818b6c3cd8be37881917 /gnome-base/gdm/files/2.2.5
parent*sigh* .. Ofcourse i forgot to add the actual ebuild 'again'... :o) (diff)
downloadgentoo-2-5f8bff2a698c1d8592c8c20d67cf8a9d07ab19cf.tar.gz
gentoo-2-5f8bff2a698c1d8592c8c20d67cf8a9d07ab19cf.tar.bz2
gentoo-2-5f8bff2a698c1d8592c8c20d67cf8a9d07ab19cf.zip
clean
Diffstat (limited to 'gnome-base/gdm/files/2.2.5')
-rw-r--r--gnome-base/gdm/files/2.2.5/gnomerc14
-rw-r--r--gnome-base/gdm/files/2.2.5/pam.d/gdm10
-rw-r--r--gnome-base/gdm/files/2.2.5/pam.d/gdmconfig6
-rw-r--r--gnome-base/gdm/files/2.2.5/security/console.apps/gdmconfig5
4 files changed, 35 insertions, 0 deletions
diff --git a/gnome-base/gdm/files/2.2.5/gnomerc b/gnome-base/gdm/files/2.2.5/gnomerc
new file mode 100644
index 000000000000..7113e23aca25
--- /dev/null
+++ b/gnome-base/gdm/files/2.2.5/gnomerc
@@ -0,0 +1,14 @@
+startssh=
+sshagent=/usr/bin/ssh-agent
+gnomesession=/usr/bin/gnome-session
+
+if [ -x $sshagent -a -z "$SSH_AUTH_SOCK" ]; then
+ startssh=yes
+fi
+
+if [ -n "$startssh" ]; then
+ exec $sshagent -- $gnomesession
+else
+ exec $gnomesession
+fi
+
diff --git a/gnome-base/gdm/files/2.2.5/pam.d/gdm b/gnome-base/gdm/files/2.2.5/pam.d/gdm
new file mode 100644
index 000000000000..f21b495f641f
--- /dev/null
+++ b/gnome-base/gdm/files/2.2.5/pam.d/gdm
@@ -0,0 +1,10 @@
+#%PAM-1.0
+auth required /lib/security/pam_pwdb.so shadow nullok
+auth required /lib/security/pam_nologin.so
+account required /lib/security/pam_pwdb.so
+account required /lib/security/pam_permit.so
+password required /lib/security/pam_cracklib.so
+password required /lib/security/pam_pwdb.so shadow nullok use_authtok
+session required /lib/security/pam_pwdb.so
+session optional /lib/security/pam_console.so
+session optional /lib/security/pam_xauth.so
diff --git a/gnome-base/gdm/files/2.2.5/pam.d/gdmconfig b/gnome-base/gdm/files/2.2.5/pam.d/gdmconfig
new file mode 100644
index 000000000000..4bb2ddb7aff1
--- /dev/null
+++ b/gnome-base/gdm/files/2.2.5/pam.d/gdmconfig
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth sufficient /lib/security/pam_rootok.so
+auth required /lib/security/pam_pwdb.so shadow nullok
+session required /lib/security/pam_pwdb.so
+session optional /lib/security/pam_xauth.so
+account required /lib/security/pam_pwdb.so
diff --git a/gnome-base/gdm/files/2.2.5/security/console.apps/gdmconfig b/gnome-base/gdm/files/2.2.5/security/console.apps/gdmconfig
new file mode 100644
index 000000000000..5fc459648a9a
--- /dev/null
+++ b/gnome-base/gdm/files/2.2.5/security/console.apps/gdmconfig
@@ -0,0 +1,5 @@
+USER=root
+PROGRAM=/usr/bin/gdmconfig
+SESSION=false
+FALLBACK=true
+