e6d68f710a
After repeated similar requests to change the ID ranges we set the above mentioned value to 201. The max value will stay at 499. This range should be sufficient and will give us leeway for the future. It's not straightforward to find out which static UIDs/GIDs are used in all packages. Update shadow-login_defs-suse.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=191
29 lines
772 B
Diff
29 lines
772 B
Diff
Index: shadow-4.5/src/lastlog.c
|
|
===================================================================
|
|
--- shadow-4.5.orig/src/lastlog.c
|
|
+++ shadow-4.5/src/lastlog.c
|
|
@@ -221,12 +221,15 @@ static void update_one (/*@null@*/const
|
|
strcpy (ll.ll_host, "localhost");
|
|
#endif
|
|
strcpy (ll.ll_line, "lastlog");
|
|
+/*
|
|
#ifdef WITH_AUDIT
|
|
audit_logger (AUDIT_ACCT_UNLOCK, Prog,
|
|
"clearing-lastlog",
|
|
pw->pw_name, (unsigned int) pw->pw_uid, SHADOW_AUDIT_SUCCESS);
|
|
#endif
|
|
+*/
|
|
}
|
|
+/*
|
|
#ifdef WITH_AUDIT
|
|
else {
|
|
audit_logger (AUDIT_ACCT_UNLOCK, Prog,
|
|
@@ -234,6 +237,7 @@ static void update_one (/*@null@*/const
|
|
pw->pw_name, (unsigned int) pw->pw_uid, SHADOW_AUDIT_SUCCESS);
|
|
}
|
|
#endif
|
|
+*/
|
|
|
|
if (fwrite (&ll, sizeof(ll), 1, lastlogfile) != 1) {
|
|
fprintf (stderr,
|