view pam-sober/Justfile @ 32:ea5f195f035f

Merge pull request #5 from mrpk1906/master Fix miss char in conv
author Anthony Nowell <anowell@gmail.com>
date Thu, 11 Jul 2019 19:13:19 -0700
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