Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
nrpe.33416
nrpe-drop_privileges_before_writing_pidfile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nrpe-drop_privileges_before_writing_pidfile.patch of Package nrpe.33416
Index: src/nrpe.c =================================================================== --- src/nrpe.c.orig +++ src/nrpe.c @@ -320,13 +320,13 @@ int main(int argc, char **argv){ /* log info to syslog facility */ syslog(LOG_NOTICE,"Starting up daemon"); + /* drop privileges */ + drop_privileges(nrpe_user,nrpe_group); + /* write pid file */ if(write_pid_file()==ERROR) return STATE_CRITICAL; - /* drop privileges */ - drop_privileges(nrpe_user,nrpe_group); - /* make sure we're not root */ check_privileges();
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