view pam-sober/Justfile @ 25:d5c842a50827

Fix pam-sober message (not using HTTP)
author Chris Lee <clee@mg8.org>
date Fri, 13 Apr 2018 17:24:14 -0600
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