HP OpenVMS Systemsask the wizard |
The Question is: Dear Wizard, I have two machines,one is running Open VMS V 6.2 and one is running Open VMS V 7.1. I want to access the Alpha 4100 running V 7.1 using $ set host "hostname" command but I don't want that the machine asks for user and password. Do you know how to access the host without user and password? Have a nice day. Sincerely, Luciano Imamura. The Answer is : SET HOST requests an interactive login on the target node. There is no way to avoid providing a username. Within a command procedure, you can enter the username and password on lines following the SET HOST command (as data). For example, to login to node "TARGET" with username "AUSER" and password "SECURITYRISK" $ SET HOST TARGET AUSER SECURITYRISK $ EXIT As should be obvious, coding a password in cleartext in a file is a potentially serious security problem. If the account is geniunely "open", it's probably better to not have a password at all -- since there is no security, why provide the illusion of security. For example, a fully controlled CAPTIVE account can be set /NOPASSWORD in the UAF and the following command procedure will connect and login without the user seeing a username or password prompt: $ SET HOST TARGET CAPTIVEUSER $ EXIT The only mechanism generally available that is similar to the requested behaviour is the automatic login facility (ALF), part of the SYSMAN utility. ALF allows the specification of the origin of the connection. ALF is typically and most commonly used with incoming LAT connections (SET HOST/LAT or DECservers), or with directly connected serial lines. The ALF database assocates a remote user (see the TT_ACCPORNAM value in f$getdvi) with a local username, and automatically logs the user into the specified local username. (ALF is not normally used with DECnet.) DECnet proxies, which allow access for network communications without specification of the username and password (or the password) are explicitly not supported and not permitted for interactive access. OpenVMS Engineering is currently evaluating the feasibility of implementing a distributed authentication (login) system for potential inclusion in an OpenVMS release after V7.2. The Wizard would generally recommend configuring the systems into a cluster, and serving resources across all nodes -- having a similar configuration across all cluster member nodes can entirely avoid the need to log into another node in the cluster.
|