Perhaps replacing the last line with exit might solve
the problem.
Ola
--- Carlos Saldarriaga <[EMAIL PROTECTED]> wrote:
> Hi,
> I am new to Linux so this may be a simple matter to solve. I am running an
> application on a Red Hat 6.1 server, which Win 95 users access via a terminal
> emulator (TTWin Lite). I don't want users to have command line access, so
> the
> emulator connects, logs, and runs a sript upon startup. The problem is after
> the user quits the application he(she) ends up at the command line. I tried
> modifing the script to log the user out after the application ends with the
> following echo, but it only outputs "logout" without actually loging the user
> out.
> #!/bin/sh
> #This is the application
> sx1
> echo -e 'logout /r'
>
> Any suggestions.
> Thanks.
>
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at
> http://webmail.netscape.com.
>
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
>
=====
Millions of people saw apples fall from apple trees...
but only Newton asked, "Why?"
-------------------
http://www.bubblescreations.com
we'll make your heart bubble...
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null