Previous Topic: destroy (User Management)--Delete an Existing UserNext Topic: user put_newobj_acl (User Management) Replace New Object ACL Definition for a User


user set (User Management)--Modify a User's Profile

Modify a user profile. The following profile properties may be set: 'pwd', 'realname', 'comment', 'sshkey', 'locale', and 'email'. The 'pwd' property may only be set for local users. This command can also be used to set the user's grid access level or primary group.

Syntax
user set <name> [ group=<group>[,<group>]* ] <key1>=<value1> [ <key2>=<value2> ... ]
Parameters
<name>

Name of the user to modify; prepend the user name with / to indicate a global user. If the local user name begins with '-' (for example, '--myname'), the <name> argument must be preceded with '--' (for example, '-- --myname').

group=<group>[,<group>*] -

A list of groups. The first group in the list becomes the user's primary group. The user is added as a member to all local groups in the list.

<keyN>=<valueN>

User profile property settings.

Example
user set user1 comment="grid Test User"

Modify comment for local user 'user1'.

Notes