view pam-http/Justfile @ 31:1f4ef4c7e555

Fix miss char in conv
author Khanh Pham <khanhphamvan@admicro.vn>
date Mon, 18 Feb 2019 17:47:44 +0700
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