forked from pool/shadow
4cea964109
- New upstream version 4.5 - Refreshed patches: * shadow-login_defs.patch * chkname-regex.patch * getdef-new-defs.patch * useradd-mkdirs.patch - Upstreamed patches: * shadow-4.1.5.1-manfix.patch * shadow-4.1.5.1-errmsg.patch * shadow-4.1.5.1-backup-mode.patch * shadow-4.1.5.1-audit-owner.patch * shadow-4.2.1-defs-chroot.patch * shadow-4.2.1-merge-group.patch * Fix-user-busy-errors-at-userdel.patch * useradd-clear-tallylog.patch - shadow.keyring: update keyring with current maintainer's keyid only - Serge Hallyn 'F1D08DB778185BF784002DFFE9FEEA06A85E3F9D' - disable_new_audit_function.patch: Disable newer libaudit functionality for older distributions OBS-URL: https://build.opensuse.org/request/show/497707 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=32
35 lines
850 B
Diff
35 lines
850 B
Diff
Index: lib/getdef.c
|
|
===================================================================
|
|
--- lib/getdef.c.orig
|
|
+++ lib/getdef.c
|
|
@@ -91,6 +91,7 @@ static struct itemdef def_table[] = {
|
|
{"FAKE_SHELL", NULL},
|
|
{"GID_MAX", NULL},
|
|
{"GID_MIN", NULL},
|
|
+ {"GROUPADD_CMD", NULL},
|
|
{"HUSHLOGIN_FILE", NULL},
|
|
{"KILLCHAR", NULL},
|
|
{"LOGIN_RETRIES", NULL},
|
|
@@ -126,7 +127,10 @@ static struct itemdef def_table[] = {
|
|
{"UID_MAX", NULL},
|
|
{"UID_MIN", NULL},
|
|
{"UMASK", NULL},
|
|
+ {"USERADD_CMD", NULL},
|
|
{"USERDEL_CMD", NULL},
|
|
+ {"USERDEL_PRECMD", NULL},
|
|
+ {"USERDEL_POSTCMD", NULL},
|
|
{"USERGROUPS_ENAB", NULL},
|
|
#ifndef USE_PAM
|
|
PAMDEFS
|
|
@@ -149,6 +153,10 @@ static struct itemdef knowndef_table[] =
|
|
#ifdef USE_PAM
|
|
PAMDEFS
|
|
#endif
|
|
+ /* Used by /bin/login */
|
|
+ {"MOTD_FILE", NULL},
|
|
+ {"ENV_PATH", NULL},
|
|
+ {"ENV_ROOTPATH", NULL},
|
|
{NULL, NULL}
|
|
};
|
|
|