From owner-freebsd-questions Thu Mar 15 4: 8:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id 678B037B718 for ; Thu, 15 Mar 2001 04:08:24 -0800 (PST) (envelope-from waynep@zaphod.realtime.co.uk) Received: from zaphod.realtime.co.uk ([194.205.134.208]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 14dWXi-00007b-01; Thu, 15 Mar 2001 12:07:46 +0000 Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.20 #1) id 14dWXd-0007kn-00; Thu, 15 Mar 2001 12:07:41 +0000 From: Wayne Pascoe To: Odhiambo Washington Cc: FBSD-Q Subject: Re: SSH and remote execution of tasks References: <20010315145408.A24595@poeza.iconnect.co.ke> Reply-To: wayne.pascoe@realtime.co.uk Date: 15 Mar 2001 12:07:40 +0000 In-Reply-To: <20010315145408.A24595@poeza.iconnect.co.ke> Message-ID: Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Odhiambo Washington writes: > Now my Q is, where do I get all these details? I have a case where I have > to run a script to update user accounts and since a few people use the > same script we decided to give little executionary privilege via sudo. > So I am in my shell on hostA and all I want to do is run scriptX on hostB > via ssh. I always have to verify my passwd when running scriptX from a > shell isn hostB. How do I do that via SSH? I found http://www.ucolick.org/~sla/ssh/sshcron.html to be a good starter for this kind of work. -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message