summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-09-15 16:12:56 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-09-15 16:12:56 +0000
commit8df8b73f3c6fadb731f5d55a07124a7e93c0ee49 (patch)
tree55c46ac5fee1ff410a88fee5d3fc52c22491e4bc
parentaf5acafc1bc22473e2998771f39c34b51d70d20c (diff)
Notes
-rw-r--r--lib/libutil/login_cap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index dc93e2825a2c..85883be82873 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();