diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/install_pam.sh | 5 | ||||
-rw-r--r-- | utils/install_server.sh | 9 |
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 | |||
3 | make install | ||
4 | cp pam/pam_mfa.py /usr/bin | ||
5 | chmod 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 | |||
3 | cp server/mfad.py server/mfac.py /usr/bin | ||
4 | chmod 755 /usr/bin/mfad.py /usr/bin/mfac.py | ||
5 | ln -s /usr/bin/mfad.py /usr/bin/mfad | ||
6 | ln -s /usr/bin/mfac.py /usr/bin/mfac | ||
7 | |||
8 | mkdir -p /etc/mfa | ||
9 | cp mfa.conf /etc/mfa/ | ||