[lug] Cron ssh suid problem
David
dajo at frii.com
Fri Sep 7 17:19:08 MDT 2001
> I can run this script as myself, but when I try to run it as root (as,
> presumably, cron does) my authenticity cannot be established with ssh
> or scp, so the script fails. I tried setting the suid bit
If I understand this correctly you are making the same misteak I made
this morning 8-) When I realised what I was doing I tried again and
was able to ssh as root by using the -l parameter:
ssh -l user host
dajo
More information about the LUG
mailing list