Bacularis error 113

wastn jak <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAA1zDKUHWuHw+oG0d6xBkj2jp+0mGyP1r7tV=JNH7=DDs46W+A@mail.gmail.com>
for every one have this error when try to (restart, stop, start) for
(Director, Storage Daemon, File Daemon/Client) you should place this in
etc/sudoers.d/bacularis-api

www-data ALL = (root) NOPASSWD: /usr/bin/systemctl start bacula-dir
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl stop bacula-dir
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl restart bacula-dir
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl start bacula-sd
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl stop bacula-sd
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl restart bacula-sd
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl start bacula-fd
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl stop bacula-fd
www-data ALL = (root) NOPASSWD: /usr/bin/systemctl restart bacula-fd

where www-data is nginx user
if you use apache web server change www-data with apache
and then from bacularis go to   API Panel  >>    Settings  >> Actions  >>
check the box of Enabled and  Get sudo configuration  >> Save

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.