view pam-sober/Justfile @ 30:539d81e3bdc2

Merge pull request #4 from holycleugh/conv-fixes Conv fixes
author Anthony Nowell <anowell@gmail.com>
date Tue, 01 Jan 2019 13:08:13 -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