[Samba] Security with SMBClient

Christian Barth barth at cck.uni-kl.de
Wed Jan 30 10:59:17 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;'

edit /etc/syslog.conf to get cron to only log errors and not every 
job. Or let cron log to /dev/null. Restart syslogd

Christian

> 
> 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
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list