User`s guide
11 Functions — Alphabetical List
11-18
changePassword
Prompt user to change MJS password
Syntax
changePassword(mjs)
changePassword(mjs,username)
Arguments
mjs MJS cluster object on which password is changing
username Character string identifying the user whose password is changing
Description
changePassword(mjs) prompts you to change your password as the current user on
the MATLAB job scheduler (MJS) cluster represented by cluster object mjs. (Use the
parcluster function to create a cluster object.) In the dialog box that opens, you must
enter your current password as well as the new password.
changePassword(mjs,username) prompts you as the admin user to change the
password for the specified user. In the dialog box that opens, you must enter the admin
user’s password as well as the user’s new password. This allows the admin user to reset a
password if a user has forgotten it.
For more information on MJS security, see “Set MJS Cluster Security”.
Examples
Change your password for the MJS cluster identified by an MJS cluster profile.
mjs = parcluster('MyMjsProfile');
changePassword(mjs)