view pam-sober/Justfile @ 26:31618a75f251

Merge pull request #3 from clee/fix-pam-sober-message Fix pam-sober message (not using HTTP)
author Anthony Nowell <anowell@gmail.com>
date Thu, 19 Apr 2018 14:08:54 -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