feat: clone from: https://github.com/anowell/pam-rs
This commit is contained in:
12
pam-sober/Justfile
Normal file
12
pam-sober/Justfile
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
all:
|
||||
cargo build
|
||||
|
||||
install:
|
||||
@cargo build --release
|
||||
sudo cp conf/sober-auth /etc/pam.d/
|
||||
sudo cp ../target/release/libpam_sober.so /lib/security/pam_sober.so
|
||||
|
||||
test:
|
||||
@just install
|
||||
gcc -o ../target/pam_test test.c -lpam -lpam_misc
|
||||
Reference in New Issue
Block a user