FTAM/9000 User's Guide
Chapter 2 39
Using Interactive FTAM
Streamlining ftam with a Startup File
Example
Sue has the following entries in her .ftamrc file:
machine denver login don password shadowy
machine denver login sue password mystery
machine atlanta login kelly
In this example, Sue connects to each host with ftam to show the effect of
these entries.
$ ftam
ftam> open denver
Username (denver:don): [Return]
Connected to denver as user don
ftam> close
Released connection to denver
ftam> open denver
Username (denver:don): sue
Connected to denver as user sue
ftam> close
Released connection to denver
ftam> open atlanta
Username (atlanta:kelly): [Return]
Password (atlanta:kelly):
Connected to atlanta as user kelly.
ftam>
Sue had two entries in her .ftamrc file, listing different login names and
passwords for denver. The first (for don) is the default whenever Sue
connects to denver. Because both entries for the host denver contain
passwords, she is never prompted for a password when she connects as
either sue or don. However, when she connects to atlanta, the startup file
entry for kelly does not contain a password. Therefore, if the user kelly
has a password, Sue must provide that password at the prompt.