summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_ssh/files')
-rw-r--r--sys-auth/pam_ssh/files/1.9-standard-prompt.patch11
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.91
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.911
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r11
-rw-r--r--sys-auth/pam_ssh/files/system-auth.example16
5 files changed, 30 insertions, 0 deletions
diff --git a/sys-auth/pam_ssh/files/1.9-standard-prompt.patch b/sys-auth/pam_ssh/files/1.9-standard-prompt.patch
new file mode 100644
index 000000000000..2554d3887f43
--- /dev/null
+++ b/sys-auth/pam_ssh/files/1.9-standard-prompt.patch
@@ -0,0 +1,11 @@
+--- pam_ssh.c.orig 2004-02-22 20:15:28.256672768 -0500
++++ pam_ssh.c 2004-02-22 20:15:40.279844968 -0500
+@@ -101,7 +101,7 @@
+ #endif
+
+ #define MODULE_NAME "pam_ssh"
+-#define NEED_PASSPHRASE "SSH passphrase: "
++#define NEED_PASSPHRASE "Password: "
+ #define DEF_KEYFILES "id_dsa,id_rsa,identity"
+ #define ENV_PID_SUFFIX "_AGENT_PID"
+ #define ENV_SOCKET_SUFFIX "_AUTH_SOCK"
diff --git a/sys-auth/pam_ssh/files/digest-pam_ssh-1.9 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.9
new file mode 100644
index 000000000000..84fb4878c022
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.9
@@ -0,0 +1 @@
+MD5 a53e076b1cba5859e68e837d4c52cc03 pam_ssh-1.9.tar.bz2 193236
diff --git a/sys-auth/pam_ssh/files/digest-pam_ssh-1.91 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91
new file mode 100644
index 000000000000..87d38542272a
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91
@@ -0,0 +1 @@
+MD5 57a3aa476394efa219a8a99f527d4e4b pam_ssh-1.91.tar.bz2 193705
diff --git a/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1
new file mode 100644
index 000000000000..87d38542272a
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1
@@ -0,0 +1 @@
+MD5 57a3aa476394efa219a8a99f527d4e4b pam_ssh-1.91.tar.bz2 193705
diff --git a/sys-auth/pam_ssh/files/system-auth.example b/sys-auth/pam_ssh/files/system-auth.example
new file mode 100644
index 000000000000..df13fe867914
--- /dev/null
+++ b/sys-auth/pam_ssh/files/system-auth.example
@@ -0,0 +1,16 @@
+#%PAM-1.0
+
+auth required /lib/security/pam_env.so
+auth sufficient /lib/security/pam_ssh.so
+auth sufficient /lib/security/pam_unix.so use_first_pass likeauth nullok nodelay
+auth required /lib/security/pam_deny.so
+
+account required /lib/security/pam_unix.so
+
+password required /lib/security/pam_cracklib.so retry=3
+password sufficient /lib/security/pam_unix.so nullok md5 shadow use_authtok
+password required /lib/security/pam_deny.so
+
+session required /lib/security/pam_limits.so
+session required /lib/security/pam_unix.so
+session optional /lib/security/pam_ssh.so