Erik van Linstee wrote:

I am trying to figure out if it is possible to use more than one command
in DumpPreUsrCmd, but it does not seem to work.

If I use the web interface to specify for instance 'sudo a; sudo b;' --
both a and b are in sudoers -- my log shows an authentication failure.
But neither a nor b should invoke a password request. In fact, entering
the same from a backuppc command line works just fine.

I also tried setting DumpPreUsrCmd directly in the config file like so:
'sudo a'; 'sudo b'; but to no avail. Note the only difference is the
quotation.

So, can it be done and if so, how?

Put in a path to script file and put all the commands you want to perform in that script.

Nils Breunese.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to