Bacula-users

[Bacula-users] Webacula cannot execute bconsole

2012-12-07 20:14:13
Subject: [Bacula-users] Webacula cannot execute bconsole
From: ccspro <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 07 Dec 2012 14:14:35 -0800
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
httpd    ALL=NOPASSWD: /usr/bin/bconsole



Regardless of which way you go, any outside bconsole access is always dangerous 
and if the web interface is not proper sanitized it is dangerous no matter if 
you use sudo, fixing up selinux, etc...

I've written php scripts to allow remote DB admins to initiate job scheduling 
using wget to a web URL and all it does it tell bconsole to schedule a job and 
who and what type. (To avoid setting up ACL's in bconsole for this purpose)

+----------------------------------------------------------------------
|This was sent by ccspro AT hotmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Webacula cannot execute bconsole, ccspro <=