summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-09-16 16:48:40 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-09-16 16:48:40 +0000
commit2ee563ae46500971e39c185b190e76c4a06f03ff (patch)
tree9d8b3df9583f515973e18e63fc18188236af7647 /libutil
parent90574f1004df54faf3f243447914fe49f40b3e02 (diff)
downloadpw-darwin-2ee563ae46500971e39c185b190e76c4a06f03ff.tar.gz
pw-darwin-2ee563ae46500971e39c185b190e76c4a06f03ff.tar.zst
pw-darwin-2ee563ae46500971e39c185b190e76c4a06f03ff.zip
Disable per-user .login_conf support due to incorrect merging of local
and globaly settings. An alternative implementation will be developed. Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
Diffstat (limited to 'libutil')
-rw-r--r--libutil/login_cap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libutil/login_cap.c b/libutil/login_cap.c
index 85883be..bb4c080 100644
--- a/libutil/login_cap.c
+++ b/libutil/login_cap.c
@@ -193,6 +193,9 @@ login_getclassbyname(char const *name, const struct passwd *pwd)
static char *login_dbarray[] = { NULL, NULL, NULL };
+#ifndef _FILE_LOGIN_CONF_WORKS
+ dir = NULL;
+#endif
/*
* Switch to user mode before checking/reading its ~/.login_conf
* - some NFSes have root read access disabled.