The chuser command changes the attributes of an existing user.
>>- svctask -- -- chuser -- ------------------------------------> >--+---------------------------------------+--------------------> +- -password --+----------------------+-+ | '- cleartext_password -' | '- -nopassword -------------------------' >--+-------------------------------+--+--------------------+----> +- -keyfile -- sshkey_filename -+ '- -remote--+- yes-+-' '- -nokey ----------------------' '- no--' >--+----------------------------------+-- -- user_id_or_name -->< '- -usergrp-- -- group_id_or_name -'
Use the chuser command to modify the attributes of an existing user.
You must have the Security Administrator role to create, delete, or change a user.
Only use the usergrp parameter for local users. If you change a user from local to remote, the user's association with any group is removed.
If you change a user from remote to local, a user group must be specified. If you change a user from local to remote, the user must have both a password and an SSH key.
If you use the keyfile parameter, the SSH key file should be placed in the /tmp directory before running this command. When you run the command, the SSH key is copied into cluster state and activated for the user, and the input file is deleted.
An invocation example
svctask chuser -remote no -usergrp Monitor -nokey jane
The resulting output
No feedback