The password file contains details of user-IDs and passwords that the Fileshare Server uses when Fileshare Password Security is enabled. Because the information in the password file is encrypted for security reasons, you can only add records to and remove records from the password file using the Password File Maintenance Utility.
Use the /pf (password file) option to add or remove entries in the password file, for example:
fs /pf pass.dat [options]
This invokes password file maintenance and appends the specified options to the password file pass.dat. If this file does not exist, it is created.
The following options are available:
/u user-ID
/pw password
These add the specified user-ID and password to the password file. Both user-ID and password are case-sensitive and can be up to 20 characters in length.
[/e]
This erases the record from the password file and is the only way to remove a record once the password file has been created.
Example
fs /pf pass.dat /u pkel /pw fishwife
This example invokes password file maintenance, creates or updates a password file called pass.dat and adds a user-ID of pkel and password of fishwife.