Okay, so I've found the VCS tree and here are the above patches against it.
Index: adduser
===================================================================
--- adduser (revision 824)
+++ adduser (working copy)
@@ -450,7 +450,7 @@
if ($?>>8);
&cleanup(sprintf((gtx("`%s' exited from signal %d. Exiting.\n")), "$chage -M 99999 $new_name", $?&255));
} else {
- printf (gtx("%s failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.\n"), $chage);
+ printf gtx("%s failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.\n"), $chage if $verbose;
}
}
&invalidate_nscd();
Index: adduser
===================================================================
--- adduser (revision 824)
+++ adduser (working copy)
@@ -450,7 +450,7 @@
if ($?>>8);
&cleanup(sprintf((gtx("`%s' exited from signal %d. Exiting.\n")), "$chage -M 99999 $new_name", $?&255));
} else {
- printf (gtx("%s failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.\n"), $chage);
+ printf STDERR (gtx("%s failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.\n"), $chage);
}
}
&invalidate_nscd();