Re: rshd problems

From: Joshua Hudson (joshudson@hotmail.com)
Date: Mon Mar 25 2002 - 05:24:18 CET


>From: Michele Andreoli <m.andreoli@tin.it>
>#!/sbin/ash
>
>while [ 1 ]; do
>read cmd
>eval $cmd
>done
>===========================================================
Oops, doesn't work. Try this

#!/bin/sh
while read "cmd"
do
eval $cmd
done

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:21 CET