diff pam-http/Justfile @ 15:27730595f1ea

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