summarylogtreecommitdiffstats
path: root/yubipam-git.install
blob: dda71d98c3bebb2c1d91c802f7c56886852b497f (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
	groupadd yubiauth
	touch /etc/yubikey
	chgrp yubiauth /etc/yubikey /usr/local/sbin/yk_chkpwd
	chmod g+rw /etc/yubikey
	chmod g+s /usr/local/sbin/yk_chkpwd
}

post_remove() {
	groupdel yubiauth
}