Mercurial > crates > nonstick
comparison pam-sober/Justfile @ 34:ec70822cbdef
Overhaul
author | Andy Caldwell <andrew.caldwell@metaswitch.com> |
---|---|
date | Sun, 24 Apr 2022 03:42:11 +0100 |
parents | 53efbcff805d |
children |
comparison
equal
deleted
inserted
replaced
32:ea5f195f035f | 34:ec70822cbdef |
---|---|
1 | 1 |
2 all: | 2 all: |
3 cargo build | 3 cargo build |
4 | 4 |
5 install: | 5 install: |
6 @cargo build | 6 @cargo build --release |
7 sudo cp conf/sober-auth /etc/pam.d/ | 7 sudo cp conf/sober-auth /etc/pam.d/ |
8 sudo cp target/debug/libpam_sober.so /lib/security/pam_sober.so | 8 sudo cp ../target/release/libpam_sober.so /lib/security/pam_sober.so |
9 | 9 |
10 test: | 10 test: |
11 @just install | 11 @just install |
12 gcc -o target/pam_test test.c -lpam -lpam_misc | 12 gcc -o ../target/pam_test test.c -lpam -lpam_misc |