Creating Local Profiles

When a node is supplied on a command line or in a template, a local profile is chosen based on the current user. The information in this local profile is used to log on to the remote system.

Note: If you are the root account or a member of the cfadmin group, you can create your own profile as well as profiles for other users.

Procedure

  1. Optional: On the command line, navigate to the $CFROOT/bin directory.
  2. Enter cfprofile prompt:YES.
    You are prompted for the required and optional parameters to define a local profile.
    Note: Without the prompt:YES option (or with the prompt:NO option), you can define values for the required parameters and only the optional parameters you want to use. See the following sample command:

    cfprofile n:dataserverA u:kenny p:apple l:uk

  3. On the prompt, set the values for the required parameters. See the following sample command:
    cfprofile prompt:YES
    Enter a valid Node Name: dataserverB
    Add profile as local user ROOT?
    1: Yes
    2: No
    : 2
    Enter new local user: johndoe
    Enter a valid Remote User: bob
    Enter a valid Remote Password: 
    
    This example creates a local profile for the local user johndoe. This local user johndoe can initiate a transfer request to the remote server defined for the dataserverB node without having to know the user ID and password in the remote system. With this profile, johndoe only has to define the following on the command line:

    cfsend lf:/home/usr/file rf:dataset.name n:dataServerB

    or

    cfrecv lf:/home/usr/file rf:"c:\temp\test.txt" n:dataserverB