Pre-built binaries available at https://bintray.com/amin/libpam-auth0/libpam-auth0
dpkg -i libpam-auth0-0.2.0.deb - Clone
git clone [email protected]:abbaspour/libpam-auth0.git-
Prepare
auth0.conf -
Prepare extrausers You need
passwdandshadowfiles inextrausrs/folder
Sample passwd file:
[email protected]:x:1005:100:null:/tmp:/bin/bash
Sample shadow file:
[email protected]:*:18052:0:99999:7:::
A good script to create shadow and passwd files from your Auth0 DB connection is: mk-passwd.sh
- Build Server
make sshd- (Optional) SSH into server and tail logs
make bash
tail -F /var/log/auth0-pam.log- Prep
.envfile This file has sample username and password. Sample.envfile
TEST_USER='[email protected]'
TEST_PASS='[email protected]'
- Run ssh
make ssh
enter password