Professional Documents
Culture Documents
Cunix
Cunix
SCR
AUTOMATIC LOGIN TO ACADEMIC UNIX SYSTEMS FROM MS-DOS KERMIT
Christine M. Gianone
Manager, Kermit Developement and Distribution
CUCCA/AcIS
October 1991
CUNIX.SCR is a script program for logging in to an instructional SUN computer,
such as CUNIXA or CUNIXB, using MS-DOS Kermit from a campus Rolmphone, either
a D-type data phone or a 244PC.
Although you can run this script program from within Kermit by typing the
command "TAKE CUNIX.SCR", it is intended to be run from DOS command level
via DOS Batch programs that can feed it certain information to customize its
actions. Several of these Batch programs are provided:
CUNIXA.BAT
CUNIXB.BAT
CUNIXD.BAT
To use these batch files, and CUNIX.SCR itself, you must be running MS-DOS
Kermit 3.11 or later, and it must be installed as KERMIT.EXE in a directory
that is part of your DOS PATH definition. CUNIX.SCR and the related Batch
files should be in the same directory. For hard disk systems, this would
normally be the directory C:\KERMIT\.
For detailed instructions on installation and use of MS-DOS Kermit, see the
Second Edition of "Using MS-DOS Kermit", available in the CUCCA/AcIS Business
Office in 102 Philosophy and at local bookstores.
Run any of these Batch programs just by typing its name (the part before
".BAT"), for example:
C:\>cunixa
(in this example, "C:\>" is the DOS prompt, and you type "cunixa" and then
press the Enter key).
The Batch programs accept two optional words on the DOS command line, after
their names. The first is your UNIX user ID, for example abc123, and the
second is your password:
C:\>cunixa abc123 secret
If you leave out your password, CUNIX.SCR will prompt you for it. If you
leave out the user ID and password, CUNIX.SCR will prompt you for both of
them. If you run CUNIX.SCR from inside Kermit, it will prompt you for both
of these, as well as which host to connect to.
Once CUNIX.SCR knows your user ID and password,
the desired UNIX system through your ROLMphone,
communication port and speed. Normally this is
can change them by putting SET commands in your
example:
SET PORT 2
But please, DO NOT put your password in this or any file. You should always
enter it every time you log in. If you password is in the CUNIX.SCR file,
anybody can walk up to your PC and access your private data -- they can read
it, change it, or delete it.
[End of CUNIX.DOC]