view pam-sober/Justfile @ 29:c16564971c05

conv: fix segfault when decoding response of PAM_TEXT_INFO et al.
author holycleugh <holycleugh>
date Sun, 30 Dec 2018 03:40:41 -0500
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