On Sun, 23 Jun 2002 12:02:18 -0400, "Michel Donais" <[EMAIL PROTECTED]> wrote:

> I need to place a script so that when a user login in bash
> it is immediately telnet to an SCO server.
> 
> Where do I place this script and what do I have to modify to 
> to get it work in LTSP
> 
> 
> This script I think should look as:
> -------------------------
> telnet 192.168.0.200
> -------------------------
> 
> but If I want more like:
> 
> getting the login word from SCO then send back the user name
> 
>  then getting the password interogation and sendig back the password
> 
> Is it possible to automate this process.

    I spent way too many years on SCO; maybe I can help.  Are you trying to make the 
LTSP workstation appear to be another dumb terminal?  That should be pretty easy, but 
don't expect the SCObox to accept the standard terminal types to work when it comes to 
terminal types.  It can be pretty tough.  

    I did something like this for SSH; something like this:

    trap 2 3 4 15 "exit"
    telnet remotemachine
    exit

    The "trap" command will keep ^C and other signals from letting them exit the 
script, and when it's over, all's cleaned up.  Be sure to look at the man page for 
"bash" for the right syntax; it's been well over a year since I used it, and more than 
two years since I wrote it.  :)

    For future problems with the SCO/LTSP situation, drop me a line.  I've heard some 
news about various emulators and such that might help ya.

    Good Luck!
 
------------------------------------------------------------------------
Brian Fahrländer              Linux Zealot, Conservative, and Technomad
Evansville, IN                    My Voyage: http://www.CounterMoon.com
ICQ  5119262
------------------------------------------------------------------------
STOP THE FLOW OF OIL AND HATE FROM SAUDI ARABIA.


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to