summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_cap.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-09-16 16:48:40 +0000
committerrwatson <rwatson@FreeBSD.org>2001-09-16 16:48:40 +0000
commit42e6b3b99dc6f29192fb07408f500cc8f1eb91d9 (patch)
treeb8373300811c817dd1220bbe7e597e0ca76c777c /lib/libutil/login_cap.c
parent00b37a56da2158a40cf312d879ff30b8f4ccc1c4 (diff)
downloadFreeBSD-src-42e6b3b99dc6f29192fb07408f500cc8f1eb91d9.zip
FreeBSD-src-42e6b3b99dc6f29192fb07408f500cc8f1eb91d9.tar.gz
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 'lib/libutil/login_cap.c')
-rw-r--r--lib/libutil/login_cap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index 85883be..bb4c080 100644
--- a/lib/libutil/login_cap.c
+++ b/lib/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.
OpenPOWER on IntegriCloud