HPlogo VT3K/9000 Quick Reference: HP 9000 Networking > Chapter 1 VT3K Quick Reference

Using an Input File for Automatic Login and Command Execution

» 

Technical documentation

 » Table of Contents

CAUTION: This file creates a significant security risk because it contains your login and password information.

The automatic login (-a option) causes VT3K/9000 to read input from an input file (also known as a script) instead of the standard input. The first line in the input file must be a valid MPE login statement, possibly including the password(s). MPE commands can also be included in the input file. VT3K/ 9000 returns input control to the keyboard after the last command in the file. This is especially useful for an "automated" HP 3000 login and application invocation. In addition, the last line in the input file may be an MPE BYE command. This option cannot be used with the -I option.

NOTE: Only MPE commands can be placed in an input file. You cannot use VT3K/9000 input files for providing keystroke input to MPE applications.

Example

You have an input file named myloginfile containing the following statements:

hello user/passwd.acct/passwd
listf
hpdesk

When you enter:

vt3k -a myloginfile remote_host

VT3K/9000 logs into the remote system, issues a LISTF command, and invokes HPDesk. Input control is returned to you, allowing you to log in to HPDesk.

© 1995 Hewlett-Packard Development Company, L.P.