mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +00:00
su: Tweak informal string
This commit is contained in:
parent
723f4e5ee6
commit
9775e2139d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ int main(int argc, char** argv)
|
||||||
fprintf(stderr, "Not running as root :(\n");
|
fprintf(stderr, "Not running as root :(\n");
|
||||||
} else if (getuid() != 0) {
|
} else if (getuid() != 0) {
|
||||||
const char* target_user = argc > 1 ? argv[1] : "root";
|
const char* target_user = argc > 1 ? argv[1] : "root";
|
||||||
fprintf(stderr, "Since you're such a good boy, %s, here's a %s shell for you\n", getlogin(), target_user);
|
fprintf(stderr, "Access to account '%s' granted\n", target_user);
|
||||||
}
|
}
|
||||||
|
|
||||||
uid_t uid = 0;
|
uid_t uid = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue