Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
PolicyKit-doc
PolicyKit-0.9-allow-root-to-obtain-privileges.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PolicyKit-0.9-allow-root-to-obtain-privileges.diff of Package PolicyKit-doc
From 1c80b318f016c145ebd244641d3e4780e7717607 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Thu, 6 Nov 2008 13:23:55 +0100 Subject: [PATCH] allow root to obtain privileges --- src/polkit-grant/polkit-grant-helper.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/polkit-grant/polkit-grant-helper.c b/src/polkit-grant/polkit-grant-helper.c index cdfa710..e601db4 100644 --- a/src/polkit-grant/polkit-grant-helper.c +++ b/src/polkit-grant/polkit-grant-helper.c @@ -589,10 +589,12 @@ main (int argc, char *argv[]) /* check user */ invoking_user_id = getuid (); +#if 0 /* some people are crazy enough to log in as root */ if (invoking_user_id == 0) { fprintf (stderr, "polkit-grant-helper: it only makes sense to run polkit-grant-helper as non-root\n"); goto out; } +#endif /* check that we are setgid polkituser */ egid = getegid (); -- 1.5.6
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