[SSSD] [PATCH] Check for root in sysv init script

Stephen Gallagher sgallagh at redhat.com
Mon Apr 26 14:31:34 UTC 2010


If the user running the init script is not root, immediately
report "Permission denied" and exit with EPERM.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=584575
This works around a bug in killproc() that returns success even when it 
encounters a permission error.

-- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-for-root-in-sysv-init-script.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100426/c55f9a6f/attachment.bin>


More information about the sssd-devel mailing list