updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / pam_captcha / pam_captcha.install
blob30dd1eb2f245660d21ca32cf4cfb567ae8dec75d
1 post_install() {
2 /bin/cat << EndOfMessage
3 ==>
4 ==> You need to add the following line to your /etc/pam.d/sshd
5 ==> auth        requisite       pam_captcha.so          math randomstring
6 ==>
7 ==> You also need to enable the following option in your /etc/ssh/sshd_config
8 ==> ChallengeResponseAuthentication yes
9 ==> 
10 ==> Restart your SSHD with '/etc/rc.d/sshd restart'
11 ==>
12 EndOfMessage
14 post_upgrade() {
15 post_install
18 op=$1
19 shift
20 $op "$@"