This way is one way to do it using /etc/sudoers file. Just make sure you read
up on sudo beforehand.
/etc/sudoers:
# group
%httpd ALL=NOPASSWD: /usr/bin/bconsole
# user
httpdALL=NOPASSWD: /usr/bin/bconsole
Regardless of which way you go, any outside bconsole access is always dangerous
and
fit.com>
Date: Tuesday, November 20, 2012 6:06 PM
To: "bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] Webacula cannot execute bconsole
Hello again. So I've been reading and learning (a little) about SELinux today, but
> To:
> "bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>"
>
> mailto:bacula-users@lists.sourceforge.net>>
> Subject: Re: [Bacula-users] Webacula cannot execute bconsole
>
> Hello again. So I've been reading and learn
From: Ryan Jantz mailto:rja...@scifit.com>>
Date: Tuesday, November 20, 2012 6:06 PM
To:
"bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>"
mailto:bacula-users@lists.sourceforge.net>>
Subject: Re: [Bacula-users] Webacula cannot execute bc
Hello again. So I've been reading and learning (a little) about
SELinux today, but
I haven't made much progress. Setting selinux to permissive
resolves the error. Selinux context on my
/var/www/webacula is:
Yes.
I figured out SELinux is the problem. If I disable it, the errors stop. Now to
figure out how to configure SELinux so it plays nice with Apache.
Thanks
On Nov 20, 2012, at 2:17 AM, Radosław Korzeniewski
wrote:
> Hello,
>
> 2012/11/19 Ryan Jantz
>> I am able to run the above command i
Hello,
2012/11/19 Ryan Jantz
> I am able to run the above command in terminal as root and the apache
> user without any errors. The apache user is a member of the bacula group.
>
(...)
Any ideas?
>
Did you restart an apache webserver?
best regards
--
Radosław Korzeniewski
rados...@korzeniews
Yes, bconsole is looking
for the director using "localhost". All Bacula components and Webacula are running
on the same server. I replaced localhost with the servers
hostname, same results.
Bacula
On Mon, Nov 19, 2012 at 12:14 PM, Ryan Jantz wrote:
> Hello,
> I've been banging around on this for a couple days, searching the web with
> no solution yet. I'm hoping someone can help.
>
> I installed Bacula 5.0.0 on CentOS 6.3 and it works fine. I installed
> Webacula 5.5.1 and am getting the fo
Hello,
I've been banging
around on this for a couple days, searching the web with no
solution yet. I'm hoping someone can help.
I installed Bacula
5.0.0 on CentOS 6.3 and it works fine. I installed Webacula
10 matches
Mail list logo