Skip to content

Instantly share code, notes, and snippets.

@rchannel
Created September 12, 2017 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rchannel/5892b8eda3cd391534147012992bce82 to your computer and use it in GitHub Desktop.
Save rchannel/5892b8eda3cd391534147012992bce82 to your computer and use it in GitHub Desktop.
# External Auth for salt-api
external_auth:
pam:
fredrick:
- .*
- test.ping
- state.highstate
- @runner
salt -a pam '*kafka*' test.ping
username: fredrick
password:
Failed to authenticate! This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage).
@rchannel
Copy link
Author

df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 1923879 392 1923487 1% /dev
tmpfs 1925116 333 1924783 1% /run
/dev/xvda1 524288 194225 330063 38% /
none 1925116 2 1925114 1% /sys/fs/cgroup
none 1925116 1 1925115 1% /run/lock
none 1925116 12 1925104 1% /run/shm
none 1925116 2 1925114 1% /run/user
/dev/xvdb 2457600 11 2457589 1% /mnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment