Previous Topic: FTP Server MaintenanceNext Topic: Configuring SSL FTP


Manage FTP User IDs and Passwords

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:

  1. Open a PASE terminal session.
  2. Change to the agent installation directory.
  3. Enter the following command from a command line on the same computer as the agent:
    ftpusrcfg.sh -a|-d|-m|-l userID password
    
    -a

    Adds a user ID. Use with the userID and password parameters. Enter the user ID first followed by the password.

    -d

    Deletes the specified user ID. Use with the userID parameter.

    -m

    Changes the password for the specified user ID. Use with the userID and password parameters. Enter the user ID first followed by the password.

    -l

    Lists all entries in the ftpuser.txt file. The utility does not show passwords in plain text.

    userID

    Specifies the FTP user ID you want to add, change, or delete.

    password

    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.

  4. Refresh the agent security files using the following command:
    ./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