To run FTP workload on an agent operating as an FTP server, define the FTP user ID and password on the agent. You use the ftpusrcfg utility in the PASE environment to add, delete, and change FTP user IDs and passwords. Changes that are made with the utility update the ftpusers.txt file. For the changes to take effect, refresh the agent security files.
Follow these steps:
ftpusrcfg.sh -a|-d|-m|-l userID password
Adds a user ID. Use with the userID and password parameters. Enter the user ID first followed by the password.
Deletes the specified user ID. Use with the userID parameter.
Changes the password for the specified user ID. Use with the userID and password parameters. Enter the user ID first followed by the password.
Lists all entries in the ftpuser.txt file. The utility does not show passwords in plain text.
Specifies the FTP user ID you want to add, change, or delete.
Specifies the password corresponding to the FTP user ID. Passwords are case-sensitive.
Note: Issuing the ftpusrcfg command without a parameter displays a list of options.
./cybAgent -r
The ftpusrcfg command only returns a response if it detects an error. The command hashes passwords that are written to the ftpusers.txt file.
Example: Add a New FTP User ID
The following command adds the FTP user ID P01Prod01 with the password cyber:
ftpusrcfg.sh -a P01Prod01 cyber
Example: Change the Password for an Existing FTP User
The following command changes the password for the FTP user ID P01Prod01 from cyber to r6ut09.
ftpusrcfg.sh -m P01Prod01 r6ut09
|
Copyright © 2014 CA.
All rights reserved.
|
|