hpccred setcreds

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

Sets the credentials to use for the specified user when submitting jobs, and stores the credentials in the credential cache. Administrators that are setting the credentials for a specified user must supply the credential password.

Note

This subcommand was introduced in HPC Pack 2008 R2 with Service Pack 2 (SP2).

For examples of how to use this command, see Examples.

Syntax

hpccred setcreds [/password:{<password>|*}] [/scheduler:<name>]
[/user:[<domain>\]<user_name>]

hpccred setcreds {/? | /help}

Parameters

Parameter

Description

/password:{<password>|*}

Specifies the password for the user for whom you want to set the credentials. If you specify the /user parameter but not the /password parameter or if you specify an asterisk (*) for the password, the hpccred setcreds command prompts you for the password and whether to store the password.

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster for which you want to set the credentials used for job submission. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.

/softcard

Thumbprint of soft card certificate for the user.

/user:<domain>\<user_name>

Specifies the user for whom you want to set the cached credentials that the HPC Job Scheduler Service uses to submit jobs.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

A job owner can run hpccred setcreds on the client computer to specify that the credentials can be reused for later job submission. Cluster administrators can disable this behavior across the cluster by setting the cluster property DisableCredentialReuse to true.

Examples

To set the credentials for the user with a user name of someone in the CONTOSO domain in the cached credentials that the HPC Job Scheduler Service uses to submit jobs, use the following command and enter the password for the user when prompted:

hpccred setcreds /user:CONTOSO\someone

Additional references