summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/install_pam.sh5
-rw-r--r--utils/install_server.sh9
2 files changed, 14 insertions, 0 deletions
diff --git a/utils/install_pam.sh b/utils/install_pam.sh
new file mode 100644
index 0000000..1cb2149
--- /dev/null
+++ b/utils/install_pam.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3make install
4cp pam/pam_mfa.py /usr/bin
5chmod 755 /usr/bin/pam_mfa.py
diff --git a/utils/install_server.sh b/utils/install_server.sh
new file mode 100644
index 0000000..fcb5b81
--- /dev/null
+++ b/utils/install_server.sh
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3cp server/mfad.py server/mfac.py /usr/bin
4chmod 755 /usr/bin/mfad.py /usr/bin/mfac.py
5ln -s /usr/bin/mfad.py /usr/bin/mfad
6ln -s /usr/bin/mfac.py /usr/bin/mfac
7
8mkdir -p /etc/mfa
9cp mfa.conf /etc/mfa/