This commit is contained in:
2025-07-26 10:10:52 +08:00
parent 9f83969584
commit 81c11d3f30
21 changed files with 1095 additions and 1 deletions

12
pam-sober/Justfile Normal file
View 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