Mercurial > crates > nonstick
view pam-sober/Justfile @ 44:50371046c61a default tip
Add support for pam_get_authtok and minor cleanups.
This change adds the pam_get_authtok function for PAM modules,
as well as performing a few cleanups:
- Pattern match in a few more places.
- Pull out string-copying into a function.
- Format and run clippy.
- Replace outdated PAM doc links with man7.org pages.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 08 Mar 2025 19:29:46 -0500 |
parents | ec70822cbdef |
children |
line wrap: on
line source
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