view pam-http/Justfile @ 17:53efbcff805d

Add pam-sober
author Anthony Nowell <anthony@algorithmia.com>
date Sun, 24 Sep 2017 00:57:13 -0600
parents 27730595f1ea
children ec70822cbdef
line wrap: on
line source


all:
    cargo build

install:
    @cargo build
    sudo cp conf/http-auth /etc/pam.d/
    sudo cp target/debug/libpam_http.so /lib/security/pam_http.so

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