Craig,

Thanks that worked great, here are my modified commands:

$Conf{DumpPreUserCmd}
/usr/bin/sudo /usr/bin/smbmount //10.89.0.6/c /mnt/rjpark -o
username=rjpark,uid=backuppc,sid=users,password=douglas1

$Conf{DumpPostUserCmd}
/usr/bin/sudo /usr/bin/umount /mnt/rjpark


Chris VanBennekom | Information Security Consultant

[EMAIL PROTECTED]

SARCOM | IT Solutions | www.sarcom.com

 

office 616.954.7004 x5819

mobile 616.828.9580

fax 616..954.9221
-----Original Message-----
From: Craig Barratt [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 13, 2006 3:18 PM
To: VanBennekom, Christopher
Cc: [email protected]
Subject: Re: [BackupPC-users] prebackup commands

Chris writes:

> $Conf{DumpPreUserCmd} = 'sudo smbmount //10.89.0.6/c /mnt/rjpark -o
> username=rjpark,uid=backuppc,sid=users,password=douglas1';
> 
> $Conf{DumpPostUserCmd} = 'sudo umount /mnt/rjpark';

To improve security BackupPC doesn't use a shell to execute commands,
so you need to include the full path for sudo.

Craig


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

The information contained in this transmission is confidential. It is intended 
solely for the use of the individual(s) or organization(s) 
to whom it is addressed. Any disclosure, copying or further distribution is not 
permitted unless such privilege is explicitly granted in 
writing by SARCOM, Inc. Furthermore, SARCOM, Inc. is not responsible for the 
proper and complete transmission of the substance 
of this communication, nor for any delay in its receipt. 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to