On Fri, 4 Jul 1997 [EMAIL PROTECTED] wrote: > > #!/bin/sh > cat <<__EOF__ > No telnet login allowed. > > ** Insert the motd here ** > > __EOF__ > sleep 5 > exit 0 >
And if the remote user managed to interrupt it would they get /bin/sh?, with EUID 0? And what if the sleep call was suspended? I don't think a shell script could ever be a secure shell... John Foster -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .