diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-09-15 16:12:56 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-09-15 16:12:56 +0000 |
commit | d2c6f7e657b8e8b1b28c7cd8cff1fcbab8b07052 (patch) | |
tree | 55c46ac5fee1ff410a88fee5d3fc52c22491e4bc /lib/libutil | |
parent | ee0d6e104aa11e6daafeee345ac7f1078312c649 (diff) | |
download | FreeBSD-src-d2c6f7e657b8e8b1b28c7cd8cff1fcbab8b07052.zip FreeBSD-src-d2c6f7e657b8e8b1b28c7cd8cff1fcbab8b07052.tar.gz |
o Add a comment noting that the early setting of privileges for the purpose
of NFS home directory and root directory processing fails to include
additional groups. This doesn't impact the final credential, but does
mean that users may be denied login even when additional groups might
allow it.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/login_cap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c index dc93e28..85883be 100644 --- a/lib/libutil/login_cap.c +++ b/lib/libutil/login_cap.c @@ -193,8 +193,12 @@ login_getclassbyname(char const *name, const struct passwd *pwd) static char *login_dbarray[] = { NULL, NULL, NULL }; - /* Switch to user mode before checking/reading its ~/.login_conf */ - /* - some NFSes have root read access disabled. */ + /* + * Switch to user mode before checking/reading its ~/.login_conf + * - some NFSes have root read access disabled. + * + * XXX: This fails to configure additional groups. + */ if (dir) { euid = geteuid(); egid = getegid(); |