summaryrefslogtreecommitdiffstats
path: root/libutil/login_cap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/login_cap.c')
-rw-r--r--libutil/login_cap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libutil/login_cap.c b/libutil/login_cap.c
index dc93e28..85883be 100644
--- a/libutil/login_cap.c
+++ b/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();