doas/compat/pam.conf.freebsd
Jesse Smith 11a7ea1824 Added pam.conf.freebsd example file in the compat
directory to enable PAM configuration
on FreeBSD and related operating systems.
2020-04-20 19:52:48 -03:00

20 lines
323 B
Plaintext

#
# $FreeBSD$
#
# PAM configuration for the "doas" service
#
# auth
auth include system
# account
account include system
# session
# XXX: pam_lastlog (used in system) causes users to appear as though
# they are no longer logged in in system logs.
session required pam_permit.so
# password
password include system