? patch Index: login.conf.5 =================================================================== RCS file: /home/ncvs/src/lib/libutil/login.conf.5,v retrieving revision 1.36 diff -u -r1.36 login.conf.5 --- login.conf.5 2001/07/15 07:53:35 1.36 +++ login.conf.5 2001/09/15 19:01:09 @@ -60,6 +60,8 @@ in the system login capabilities database. Only a subset of login capabilities may be overridden, typically those which do not involve authentication, resource limits and accounting. +NOTE: this feature is compile-time disabled by default due to potential +security risks. .Pp Records in a class capabilities database consist of a number of colon-separated fields. Index: login_cap.c =================================================================== RCS file: /home/ncvs/src/lib/libutil/login_cap.c,v retrieving revision 1.22 diff -u -r1.22 login_cap.c --- login_cap.c 2001/09/15 16:12:56 1.22 +++ login_cap.c 2001/09/15 19:01:17 @@ -193,6 +193,9 @@ 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.