Sun N1 Grid Engine 6.1 Installation Guide

Using the sgepasswd Command

sgepasswd modifies the Grid Engine password file (sgepasswd(5).) This file contains a list of usernames and their Windows passwords in encrypted form. You can use the sgepasswd to add a new entry for your user account or change your existing password. Additionally, the root user can change or delete the password entries for other user accounts. sgepasswd is only available on non-Windows hosts. It has the following syntax:

sgepasswd [[ -D domain ] -d user ]

       sgepasswd [ -D domain ] [ user ]

This command has these options:

-D domain

By default sgepasswd adds or modifies the current UNIX username without a domain specification. You can use this switch to add a domain specification in front of the current user name. Consult your Microsoft Windows documentation to get more information about domain users.

-d user

Only root can use this parameter to delete entries from the sgepasswd(5) file.

-help

Prints a listing of all options. 

Additionally, The following environment variables affect the operation of this command.

SGE_CERTFILE

Specifies the location of public key file. By default sgepasswd uses the file $SGE_ROOT/$SGE_CELL/common/sgeCA/certs/cert.pem

SGE_KEYFILE

If set, specifies the location of the private key file. The default file is /var/sgeCA/port${SGE_QMASTER_PORT}/$SGE_CELL/private/key.pem

SGE_RANDFILE

If set, specifies the location of the rand.seed file. The default file is /var/sgeCA/port${SGE_QMASTER_PORT}/$SGE_CELL/private/rand.seed.