PASS.DOC The Pass task is an example of a program needed to implement the PASSWORD and PRIVILEGE functions in Script. It is called by Script either as PWD or PRV. The username is optionally passed in the command line, if it is not passed, then it is requested. A '*' passed in the command line will also cause the username to be requested. Then the password is then requested, checked against the entry, (requires exact case match), and the success of, or lack of is then reported via exit-status. If PRV is called then the sequence is the same until the end, where the privilege mask is returned in the status word. Summary of Returns: PWD exstat = 1 Password ok. exstat = 4 Password failed, name was not found, or the file could not be opened. PRV exstat = mask+1 Password ok, masks are a 16 bit but the lower bit is determined by Script based on the privilege of the user, allowing the lower bit to be used as a validity flag exstat = 4 Password failed, name was not found, or the file could not be opened. PASS does not maintain the data file, which is LB0:[1,1]PASSWORD.DAT. The file is made of 80 character records where the username is the first 35 characters (space filled), the password the second 35 characters, and the privilege mask held in a decimal string, in the last 5 characters. Characters 71 through 75 are not used. No encoding of the password is done, (told you there wasn't much to it). The maintenance of the data file was done by a now misplaced command file. Some kind of encryption can be added with little trouble to the program.