Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
sudo.32919
sudo-1.8.22-pam_xauth.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sudo-1.8.22-pam_xauth.patch of Package sudo.32919
diff --git a/src/sudo.c b/src/sudo.c index c81f946..fbf4bc4 100644 --- a/src/sudo.c +++ b/src/sudo.c @@ -288,9 +288,6 @@ main(int argc, char *argv[], char *envp[]) SET(command_details.flags, CD_LOGIN_SHELL); if (ISSET(sudo_mode, MODE_BACKGROUND)) SET(command_details.flags, CD_BACKGROUND); - /* Become full root (not just setuid) so user cannot kill us. */ - if (setuid(ROOT_UID) == -1) - sudo_warn("setuid(%d)", ROOT_UID); if (ISSET(command_details.flags, CD_SUDOEDIT)) { status = sudo_edit(&command_details); } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor