docs: clarify PAM config is a file entry; add uninstall instructions
This commit is contained in:
@@ -32,12 +32,15 @@ class Ahfail < Formula
|
|||||||
"/etc/pam.d/screensaver"
|
"/etc/pam.d/screensaver"
|
||||||
end
|
end
|
||||||
<<~EOS
|
<<~EOS
|
||||||
Add this line to #{pam_file} after the existing auth entries (requires sudo):
|
To activate, add this line to #{pam_file} after the existing auth entries
|
||||||
|
(requires sudo — this is a config file entry, not a shell command):
|
||||||
|
|
||||||
auth optional #{lib}/ahfail/libahfail_pam.so
|
auth optional #{lib}/ahfail/libahfail_pam.so
|
||||||
|
|
||||||
After upgrading ahfail, re-run `brew install ahfail` and update the path
|
To uninstall cleanly, remove that line before running `brew uninstall ahfail`:
|
||||||
in #{pam_file} if it changed.
|
|
||||||
|
sudo sed -i '' '/ahfail/d' #{pam_file}
|
||||||
|
brew uninstall ahfail
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user