mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Disable per-user .login_conf support due to incorrect merging of local
and globaly settings. An alternative implementation will be developed. Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
This commit is contained in:
parent
9849949cae
commit
35105a5f91
2 changed files with 5 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ to set user-defined environment settings which override those specified
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -193,6 +193,9 @@ login_getclassbyname(char const *name, const struct passwd *pwd)
|
|||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue