I accidentally overwrote `/etc/pam.d/system` file on my FreeBSD 14.2 and now I can't login. Can someone provide me the default contents of the file please? I searched everywhere to no avail.
When I (not infrequently) shoot myself in the foot like this, I'm happy to remember that root-on-zfs & a utility like sysutils/zfsnap is there to save me. E.g.
Code:
root@puck:~ # ls /.zfs/snapshot/daily-2025-07-19_03.25.25--1w/etc/pam.d/system
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.