2018-02-06 10:33:37 +00:00
|
|
|
Index: shadow-4.5/src/useradd.c
|
|
|
|
===================================================================
|
|
|
|
--- shadow-4.5.orig/src/useradd.c
|
|
|
|
+++ shadow-4.5/src/useradd.c
|
|
|
|
@@ -323,7 +323,7 @@ static void fail_exit (int code)
|
2013-03-19 17:46:14 +00:00
|
|
|
user_name, AUDIT_NO_ID,
|
|
|
|
SHADOW_AUDIT_FAILURE);
|
|
|
|
#endif
|
|
|
|
- SYSLOG ((LOG_INFO, "failed adding user '%s', data deleted", user_name));
|
|
|
|
+ SYSLOG ((LOG_INFO, "failed adding user '%s', exit code: %d", user_name, code));
|
|
|
|
exit (code);
|
|
|
|
}
|
|
|
|
|