[Samba] Security with SMBClient

Sanjay svp011467 at yahoo.com
Wed Jan 30 07:41:12 GMT 2002


Hello,

I want to do file copy from one machine to another
using SMBclient using cron. I want this to be secure,
but I have to put the actual password into the
crontab,
which, of course gets spit out in the cron logs:

00 1 * * * smbclient \\\\myserver\\myshare mypassword
-U myuser -c 'cd \mydirectory;prompt;put myfile;'

Notice that mypassword will of course always be
repeated in the logs.  Can someone help me with this
problem? Is there a more secure way to do this?

Thank you for any help.

Sanjay

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




More information about the samba mailing list