On Tuesday 28 Oct 2003 02:56, Patrick M Geahan wrote:
> On Tue, 28 Oct 2003, Peter Ruskin wrote:
> > However, I still have to give root's password, which makes it
> > difficult to use in a backup cron script:
> >
> > # ssh kroh
> > [EMAIL PROTECTED]'s password:
>
> You did restart sshd, right?  /etc/init.d/sshd restart?
>
> If you did, I'm gonna have to go back and re-read this thread to give
> you any more help.  I kinda missed some of the earlier parts.
>
Yes I did.  Now as a normal user I can ssh to another host passwordless, 
then sudo passwordless and have the script do stuff as root that way - 
but that's silly.  But as root I'm always asked for password.

Peter
-- 
======================================================================
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.23_pre8-gss)
i686 AMD Athlon(tm) XP 3200+
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to