Partager via


cluscfg 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.

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

Note

This subcommand is deprecated as of HPC Pack 2012. Use hpccred setcreds instead.

Syntax

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

cluscfg 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 cluscfg 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

Specifies the thumbprint of a soft card certificate for the user.

Note

This parameter was introduced in hpcpack_r2_2 with Service Pack 2 (SP2) and is not supported in previous versions.

/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 cluscfg 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:

cluscfg setcreds /user:CONTOSO\someone

Additional references