comparison 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
comparison
equal deleted inserted replaced
16:f64ee7b6cdf1 17:53efbcff805d
1
2 all:
3 cargo build
4
5 install:
6 @cargo build
7 sudo cp conf/sober-auth /etc/pam.d/
8 sudo cp target/debug/libpam_sober.so /lib/security/pam_sober.so
9
10 test:
11 @just install
12 gcc -o target/pam_test test.c -lpam -lpam_misc