mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
usermod: Don't set the EGID to 0
This is unnecessary, as usermod isn't a SUID binary.
This commit is contained in:
parent
55b6e07a0f
commit
827e23940a
1 changed files with 0 additions and 2 deletions
|
@ -43,8 +43,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 1;
|
||||
}
|
||||
|
||||
TRY(Core::System::setegid(0));
|
||||
|
||||
TRY(Core::System::pledge("stdio wpath rpath cpath fattr tty"));
|
||||
TRY(Core::System::unveil("/etc", "rwc"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue