Gregory Brauer <[EMAIL PROTECTED]> wrote: > > At the end of our weekly cycle I would like to command > our loader to unload any tapes that are in the drive > to make for easy tape swapping. With versions of bacula > prior to 1.38 the director daemon was running as root, > so ejecting the tape was a simple matter of creating a > job that ran an "mtx unload" as a RunBeforeJob rule. > Now that bacula-dir is running as the bacula user for > security, the bacula-dir no longer has permission to run > mtx commands directly. I was wondering if there is a way > I can command bacula-sd to eject the tapes on behalf of the > director.
I use a combination of sudo and RunAfterJob to accomplish this. If there's a better way, I'd love to hear it :) -- Bill Moran Also, I can kill you with my brain. River Tam ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users