summarylogtreecommitdiffstats
path: root/pam_captcha.install
blob: 30dd1eb2f245660d21ca32cf4cfb567ae8dec75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 "$@"