1c6d04df18
pam_mount is a Pluggable Authentication Module that can mount volumes for a user session. This module is aimed at environments with central file servers that a user wishes to mount on login and unmount on logout, such as (semi-)diskless stations where many users can logon and where statically mounting the entire /home from a server is a security risk, or listing all possible volumes in /etc/fstab is not feasible. WWW: http://pam-mount.sourceforge.net/
11 lines
421 B
C
11 lines
421 B
C
--- src/pam_mount.c.orig 2010-08-10 01:07:35.000000000 +0200
|
|
+++ src/pam_mount.c 2010-10-14 18:04:54.000000000 +0200
|
|
@@ -39,6 +39,8 @@
|
|
|
|
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|
|
# define CONFIGFILE "/etc/pam_mount.conf.xml"
|
|
+#elif defined(__FreeBSD__)
|
|
+# define CONFIGFILE "%%PREFIX%%/etc/security/pam_mount.conf.xml"
|
|
#else
|
|
# define CONFIGFILE "/etc/security/pam_mount.conf.xml"
|
|
#endif
|