summarylogtreecommitdiffstats
path: root/pam_captcha.install
diff options
context:
space:
mode:
Diffstat (limited to 'pam_captcha.install')
-rw-r--r--pam_captcha.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/pam_captcha.install b/pam_captcha.install
new file mode 100644
index 000000000000..30dd1eb2f245
--- /dev/null
+++ b/pam_captcha.install
@@ -0,0 +1,21 @@
+post_install() {
+/bin/cat << EndOfMessage
+==>
+==> You need to add the following line to your /etc/pam.d/sshd
+==> auth requisite pam_captcha.so math randomstring
+==>
+==> You also need to enable the following option in your /etc/ssh/sshd_config
+==> ChallengeResponseAuthentication yes
+==>
+==> Restart your SSHD with '/etc/rc.d/sshd restart'
+==>
+EndOfMessage
+}
+post_upgrade() {
+post_install
+}
+
+op=$1
+shift
+$op "$@"
+