$NetBSD: patch-doc_man_pam.conf.5,v 1.1 2018/05/15 07:57:32 triaxx Exp $ Fix hardcoded paths. --- doc/man/pam.conf.5.orig 2017-04-30 21:36:51.000000000 +0000 +++ doc/man/pam.conf.5 @@ -39,13 +39,9 @@ The PAM library searches for policies in decreasing order of preference: .Bl -enum .It -.Pa /etc/pam.d/ Ns Ar service-name +.Pa @PKG_SYSCONFDIR@/pam.d/ Ns Ar service-name .It -.Pa /etc/pam.conf -.It -.Pa /usr/local/etc/pam.d/ Ns Ar service-name -.It -.Pa /usr/local/etc/pam.conf +.Pa @PKG_SYSCONFDIR@/pam.conf .El .Pp If none of these locations contains a policy for the given service, @@ -144,13 +140,10 @@ The .Ar module-path field specifies the name or full path of the module to call. If only the name is specified, the PAM library will search for it in -the following locations: -.Bl -enum -.It -.Pa /usr/lib -.It -.Pa /usr/local/lib -.El +the following location: +.Bd -unfilled -offset indent +.Ar @PREFIX@/lib/security +.Ed .Pp The remaining fields, if any, are passed unmodified to the module if and when it is invoked.