A simple PAM authentication module for authenticating Linux users against the AccountHub API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
234 B

# This is just an example, to show that you get the provided username
# and password
# We just log them, and exit with 1 (means auth is NOT ok)
echo $USER:$PASSWORD >> /tmp/logchecks.txt
exit 1