AUTHPW Verify remote user password |
Top Previous Next |
This script command would be used when FileLink is acting as a host to remote systems in an async modem protocol file transfer environment.
This command to may be used after a remote user had been identified to verify that they have a valid password. The verification process involves prompting for a user name, searching for a match within a previously created authorization file, and if found, repeating the prompting process to obtain the user's password. A look up in the authorization file is then performed to match the password with the user name. See Authorization File Format for more information.
Consider the following example where the remote user is prompted for a user name and password, and the user is verified using the default authorization file.
LINEOUT "Enter your user name:" LINEIN username /timeout=60 AUTHUSER username IFERROR= $ERROR_AUTHORIZATION_FAILED goto UnrecognizedUser LINEOUT "Enter your password:" LINEIN password /timeout=60 AUTHPW username password IFERROR= $ERROR_AUTHORIZATION_FAILED goto InvalidPassword
Related Command(s): AUTHDATA, AUTHUSER See also: Authorizing Remote Users, Dial-In Connection With Authorization
|