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.
This commit is contained in:
parent
af5acafc1b
commit
8df8b73f3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83516
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user