[Bacula-users] RESOLVED: Bacula Sudo Authentication Failure
2010-03-21 09:57:31
Hi All; Thank for your help. After some more investigation, with your help i managed to crack this annoying error, this was due to a line on the bacula-sd.conf file: Alert Command = "sh -c 'sudo /usr/sbin/tapeinfo -f %c |grep TapeAlert|cat'"
So i have added a line on my visudo file allowing bacula to run: /usr/sbin/tapeinfo as root Thanks again Lucio > Date: Fri, 19 Mar 2010 11:47:40 -0500 > From: jkalchik AT mchsi DOT com > To: bacula-users AT lists.sourceforge DOT net > Subject: Re: [Bacula-users] Any takers, pls? Bacula Sudo Authentication Failure > > You have a more fundamental issue, I think. > > Sudo is a package that allows a systems administrator to configures rules > to let an account perform a task with the authority of another account > (Switch User, DO.) It's not specific to Bacula by any means. > > visudo is a sudo utility that will edit the configuration file, and check > it for errors before committing it to a running state. > > Now, on to your specific error. You have a task that is running as the > bacula user, executing a sudo call. The error is because bacula isn't > identified in the sudo configuration (/etc/sudoers by convention) as > you've already figured by running visudo and inspecting the contents. > > Without any more specific data (hint: check your syslog files, it should > be very specific in there,) it'll be nearly impossible for anybody to even > hazard a guess as to why it's failing, or even what it's trying to do. > > Jeff Kalchik > > > > > Any takers, pls? > > > > > > > > From: luciocfgodoy AT hotmail DOT com > > To: bacula-users AT lists.sourceforge DOT net > > Subject: Bacula Sudo Authentication Failure > > Date: Thu, 18 Mar 2010 17:27:00 +0000 > > > > > > > > Hi All; > > > > I have Bacula 3.0.2-1 installed on a RHEL 5.4 and it works well without > > any issues, but every day I get the following message from my log file > > watch program: > > > > sudo: > > Authentication Failures: > > (0) -> bacula: 1 Time(s) > > > > > > Had a look with visudo, bacula is not present there, should it be? > > > > Any clues. > > > > Thanks > > > > Lucio > > > > > > > > Got a cool Hotmail story? Tell us now > > _________________________________________________________________ > > Got a cool Hotmail story? Tell us now > > http://clk.atdmt.com/UKM/go/195013117/direct/01/------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev_______________________________________________ > > Bacula-users mailing list > > Bacula-users AT lists.sourceforge DOT net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Bacula-users mailing list > Bacula-users AT lists.sourceforge DOT net > https://lists.sourceforge.net/lists/listinfo/bacula-users
Got a cool Hotmail story? Tell us now
Do you want a Hotmail account? Sign-up now - Free
|
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|