2021-12-02 Fred Gleason <fredg@paravelsystems.com>

* Added a check to rdservice(8) to ensure that the 'rivendell'
	service is run as 'root'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-12-02 14:35:02 -05:00
parent 7eba8e3349
commit 60877d9b30
2 changed files with 11 additions and 0 deletions

View File

@ -22583,3 +22583,6 @@
* Updated the RPM packaging to support JACK promiscuous mode.
2021-12-02 Fred Gleason <fredg@paravelsystems.com>
* Modified caed(8) to use promisucous mode when starting jackd(8).
2021-12-02 Fred Gleason <fredg@paravelsystems.com>
* Added a check to rdservice(8) to ensure that the 'rivendell'
service is run as 'root'.

View File

@ -82,6 +82,14 @@ MainObject::MainObject(QObject *parent)
}
rda->syslog(LOG_DEBUG,"starting up");
//
// Ensure that we are 'root'
//
if(geteuid()!=0) {
rda->syslog(LOG_ERR,"this service requires root");
exit(RDApplication::ExitNoPerms);
}
//
// Process Startup Options
//