mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-18 22:22:36 +02:00
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:
parent
7eba8e3349
commit
60877d9b30
@ -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'.
|
||||
|
@ -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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user