diff pam-sober/Justfile @ 17:53efbcff805d

Add pam-sober
author Anthony Nowell <anthony@algorithmia.com>
date Sun, 24 Sep 2017 00:57:13 -0600
parents
children ec70822cbdef
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pam-sober/Justfile	Sun Sep 24 00:57:13 2017 -0600
@@ -0,0 +1,12 @@
+
+all:
+    cargo build
+
+install:
+    @cargo build
+    sudo cp conf/sober-auth /etc/pam.d/
+    sudo cp target/debug/libpam_sober.so /lib/security/pam_sober.so
+
+test:
+    @just install
+    gcc -o target/pam_test test.c -lpam -lpam_misc