In dump-only mode, use "root" as the default username instead of

"nobody" as the latter may not be available on all systems.
This commit is contained in:
Todd C. Miller
2011-04-01 13:54:30 -04:00
parent 129ccecd3d
commit 3ffb649863

View File

@@ -185,7 +185,7 @@ main(int argc, char *argv[])
if (argc < 2) {
if (!dflag)
usage();
user_name = "nobody";
user_name = "root";
user_cmnd = user_base = "true";
} else {
user_name = *argv;