aboutsummaryrefslogtreecommitdiffstats
path: root/net/pcnfsd/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-21 18:44:21 +0800
committeroliver <oliver@FreeBSD.org>2005-04-21 18:44:21 +0800
commitdb92d79f6a27d13b174ab5ca82b977cc4976ec3a (patch)
tree8e80b228a5500fecebf5c4843fc8a274c182b5de /net/pcnfsd/files
parentf455f7b1bab69b24592b6e5d727358b3679d21d4 (diff)
downloadfreebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.tar.gz
freebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.tar.zst
freebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.zip
define USE_GETUSERSHELL not GETUSERSHELL - with getusershell() rpc.pcnfsd will
use getusershell() to determine if the usershell is a valid shell or not. Without USE_GETUSERSHELL defined, rpc.pcnfsd will only check if the usershell ends in sh - which is bad when you want to enable an /sbin/nologin user to mount nfs shares. Bump PORTREVISION Noticed by: playing with NFS on MS-DOS 6.22 (yihaa)
Diffstat (limited to 'net/pcnfsd/files')
-rw-r--r--net/pcnfsd/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/pcnfsd/files/patch-aa b/net/pcnfsd/files/patch-aa
index 64d8aac3d711..8a5f2e82e7de 100644
--- a/net/pcnfsd/files/patch-aa
+++ b/net/pcnfsd/files/patch-aa
@@ -40,7 +40,7 @@
#define BSD_STYLE_CANCEL
#define BSD_STYLE_STATUS
#define BSD_STYLE_MONITOR
-! #define GETUSERSHELL
+! #define USE_GETUSERSHELL
#endif
#ifdef OSVER_ULTRIX