From 2ee563ae46500971e39c185b190e76c4a06f03ff Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 16 Sep 2001 16:48:40 +0000 Subject: 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 --- libutil/login_cap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libutil') 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. -- cgit v1.2.3