fix: xvfb for headless CI, curl -f + set -euo pipefail in release, fix PAM paths in README
This commit is contained in:
10
readme.md
10
readme.md
@@ -81,22 +81,22 @@ sudo cp builddir/ahfail-display /usr/local/lib/ahfail/
|
||||
|
||||
### Configure PAM (macOS)
|
||||
|
||||
Add to `/etc/pam.d/screensaver` (requires `sudo`):
|
||||
Find your screen locker's PAM service file. On macOS 13+ the screensaver uses `/etc/pam.d/screensaverui`; on older versions it may be `/etc/pam.d/screensaver`. Add the following line after the existing `auth` entries (requires `sudo`):
|
||||
|
||||
```
|
||||
auth optional /usr/local/lib/ahfail/libahfail_pam.so
|
||||
```
|
||||
|
||||
Place it after the existing `auth` line(s) so it observes the real auth result.
|
||||
|
||||
### Configure PAM (Linux/X11)
|
||||
|
||||
Add to `/etc/pam.d/gtklock` (or `i3lock`, `xscreensaver`, etc.):
|
||||
Add to `/etc/pam.d/gtklock` (or `i3lock`, `xscreensaver`, etc.). Use the full path because `$(libdir)/ahfail` is not in PAM's default search path:
|
||||
|
||||
```
|
||||
auth optional ahfail-pam.so
|
||||
auth optional /usr/lib/ahfail/libahfail_pam.so
|
||||
```
|
||||
|
||||
On Fedora/RHEL replace `/usr/lib` with `/usr/lib64`.
|
||||
|
||||
## Development
|
||||
|
||||
* **Run Tests:** `cargo test`
|
||||
|
||||
Reference in New Issue
Block a user