The N1GE execution environment has to start jobs on behalf of the submitting user. The execution daemon (sge_execd) on UNIX hosts runs as the user root so it can start jobs on behalf of all users.
On Windows Hosts the execution daemon runs as the local Administrator user so it can start jobs for local users without knowing their passwords. However, to start a job for a domain user, the execution daemon needs the password for that domain user. To facilitate this process, each user with a domain account needs to have their corresponding Windows password registered with N1GE.
Domain users who want to start N1GE jobs on Windows execution hosts register their Windows passwords with N1GE using the sgepasswd client application. The following example shows Peter who has a user account in the domain ENGINEERING registering his Windows password.
> sgepasswd -D ENGINEERING Changing password for ENGINEERING+Peter New password: Re-enter new password: Password changed |
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}/private/key.pem |