user

The following spacecmd functions are available managing users.

1. user_adddefaultgroup

Add a default group to an user account.

usage: user_adddefaultgroup USER <GROUP ...>

2. user_addgroup

Add a group to an user account.

usage: user_addgroup USER <GROUP ...>

3. user_addrole

Add a role to an user account.

usage: user_addrole USER ROLE

4. user_create

Create an user.

usage: user_create [options]

options:
  -u USERNAME
  -f FIRST_NAME
  -l LAST_NAME
  -e EMAIL
  -p PASSWORD
  --pam enable PAM authentication

5. user_delete

Delete an user.

usage: user_delete NAME

6. user_details

Show the details of an user.

usage: user_details USER ...

7. user_disable

Disable an user account.

usage: user_disable NAME

8. user_enable

Enable an user account.

usage: user_enable NAME

9. user_list

List all users.

usage: user_list

10. user_listavailableroles

List all available roles for users.

usage: user_listavailableroles

11. user_removedefaultgroup

Remove a default group from an user account.

usage: user_removedefaultgroup USER <GROUP ...>

12. user_removegroup

Remove a group to an user account.

usage: user_removegroup USER <GROUP ...>

13. user_removerole

Remove a role from an user account.

usage: user_removerole USER ROLE

14. user_setemail

Set an user accounts email field.

usage: user_setemail USER EMAIL

15. user_setfirstname

Set an user accounts first name field.

usage: user_setfirstname USER FIRST_NAME

16. user_setlastname

Set an user accounts last name field.

usage: user_setlastname USER LAST_NAME

17. user_setpassword

Set an user accounts name prefix field.

usage: user_setpassword USER PASSWORD

18. user_setprefix

Set an user accounts name prefix field.

usage: user_setprefix USER PREFIX