view pam-http/Justfile @ 15:27730595f1ea

Adding pam-http module
author Anthony Nowell <anthony@algorithmia.com>
date Sun, 24 Sep 2017 00:22:29 -0600
parents
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