Why Nostr? What is Njump?
2024-06-22 16:59:05
in reply to

Cave Amber :mashtenjar: on Nostr: fucking hell though i was trying to generate my own /usr/share/pam-configs/ ...

fucking hell though i was trying to generate my own /usr/share/pam-configs/ pam-config for pam-auth-update & i got far enough but i couldn't get it to actually do what i wanted.

```
auth required pam_faillock.so preauth
auth [success=1 default=ignore] pam_unix.so nullok
auth [default=die] pam_faillock.so authfail
auth sufficient pam_faillock.so authsucc
```

right so following the very fucking lackluster docs https://wiki.ubuntu.com/PAMConfigFrameworkSpec... and also viewing other files in that directory... I thought...

```
Name: Faillock
Default: no
Priority: 256
Auth-Type: Primary
Auth:
required pam_faillock.so preauth
[default=die] pam_faillock.so authfail
sufficient pam_faillock.so authsucc
Account-Type: Primary
Account:
required pam_faillock.so
```
of course... that was great but the resulting output was mangled with pam-configs/unix

so i ended up getting a resulting output of...

```
auth [success=1 default=ignore] pam_unix.so nullok
auth required pam_faillock.so preauth
auth [default=die] pam_faillock.so authfail
auth sufficient pam_faillock.so authsucc
```

which i went oh fuck okay this is gonna be a bit more difficult. still haven't bothered to fix it i just edited my config by hand after using pam-auth-update to disable my template.
Author Public Key
npub1rywxvvcfg503xy88z9cmhkra35xd0u5d0gap59hrfajmawdladvsh7evf4