[Linux] Re: crontab ve sh script

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Kai Geek (kaigeek@linuxmail.org)
Date: Thu 08 Dec 2005 - 14:35:10 EET


merhaba liste sakinleri,

#!/bin/sh
scp komutu
scp dosya gidecek root sifresi

boyle bir script hazırladım ve chmod 777 verdikten sonra

./dosya

dediğimde başka bir makineye scp ile dosya atmak için karşı makinenin root şifresini istiyor. bunu script içine nasıl yazarım? yani bu sh script çalıştığında dosyayı karşı makineye atsın ve şifreyi de kendisi girsin. çünkü crontab'a ekleyeceğim ve belli zamanlarda bu script çalışacak.
saygılar,

-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze _______________________________________________ Linux mailing list Linux@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.