view pam-sober/Justfile @ 22:4263c1d83d5b

Refactor PamHooks into modules mod
author Anthony Nowell <anthony@algorithmia.com>
date Tue, 26 Sep 2017 02:30:03 -0600
parents 53efbcff805d
children ec70822cbdef
line wrap: on
line source


all:
    cargo build

install:
    @cargo build
    sudo cp conf/sober-auth /etc/pam.d/
    sudo cp target/debug/libpam_sober.so /lib/security/pam_sober.so

test:
    @just install
    gcc -o target/pam_test test.c -lpam -lpam_misc