HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 20

Removing Users, Adding Users to a Domain, HP 3PAR Command Line Interface Reference

Page 20 highlights

To view a list of users, the user roles, and user domain associations, issue the showuser command. For more information about the showuser command, see the HP 3PAR Command Line Interface Reference. • To display all the users of a system, issue the showuser command. • To display information for a specific user, issue the showuser command, where is the name of the user. Removing Users Removing a user permanently deletes the user account from the system. To remove a user from the system, issue the removeuser command, where is the name of the user. Adding Users to a Domain To add a user to an existing domain, issue the setuser -adddomain : command, where: • is the name of the domain to which you are adding the specified user. • is the role assigned to the user. Permitted values for are browse and edit. • is the name of the user being added to the specified domain. NOTE: A user can belong to a maximum of 32 domains. For additional details about domains, see the HP 3PAR StoreServ Storage Concepts Guide. Removing Users From a Domain To remove a user from a domain, issue the setuser -rmdomain command, where: • is the name of the domain from which the specified user is being removed. • is the name of the user being removed from the specified domain. You can specify all in place of a specific domain name to remove the user from all domains. Setting a User's Default Domain A user's default domain is the domain that the user will access upon each working CLI session. NOTE: Prior to setting a specific domain as a user's default, the user must previously have been assigned accessibility within that domain. To set a user's default domain, issue the setuser -defaultdomain command, where: • is the name of the domain which is being set as the default. • is the name of the user for whom you are assigning a default domain. For information about default domains, see the HP StoreServ Storage Concepts Guide. For detailed information about the setuser command, see the HP 3PAR Command Line Interface Reference. Removing a User's Default Domain To remove a user's default domain, issue the setuser -defaultdomain -unset command, where is the name of the user for whom you are removing a default domain. 20 Managing User Accounts and Connections

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

To view a list of users, the user roles, and user domain associations, issue the
showuser
command.
For more information about the
showuser
command, see the
HP 3PAR Command Line Interface
Reference
.
To display all the users of a system, issue the
showuser
command.
To display information for a specific user, issue the
showuser <user_name>
command,
where
<user_name>
is the name of the user.
Removing Users
Removing a user permanently deletes the user account from the system.
To remove a user from the system, issue the
removeuser <user_name>
command, where
<user_name>
is the name of the user.
Adding Users to a Domain
To add a user to an existing domain, issue the
setuser -adddomain <domain_name>:<role>
<user_name>
command, where:
<domain_name>
is the name of the domain to which you are adding the specified user.
<role>
is the role assigned to the user. Permitted values for
<role>
are
browse
and
edit
.
<user_name>
is the name of the user being added to the specified domain.
NOTE:
A user can belong to a maximum of 32 domains. For additional details about domains,
see the
HP 3PAR StoreServ Storage Concepts Guide
.
Removing Users From a Domain
To remove a user from a domain, issue the
setuser -rmdomain <domain_name>
<user_name>
command, where:
<domain_name>
is the name of the domain from which the specified user is being removed.
<user_name>
is the name of the user being removed from the specified domain. You can
specify
all
in place of a specific domain name to remove the user from all domains.
Setting a User’s Default Domain
A user’s default domain is the domain that the user will access upon each working CLI session.
NOTE:
Prior to setting a specific domain as a user’s default, the user must previously have been
assigned accessibility within that domain.
To set a user’s default domain, issue the
setuser -defaultdomain <domain_name>
<user_name>
command, where:
<domain_name>
is the name of the domain which is being set as the default.
<user_name>
is the name of the user for whom you are assigning a default domain.
For information about default domains, see the
HP StoreServ Storage Concepts Guide
. For detailed
information about the
setuser
command, see the
HP 3PAR Command Line Interface Reference
.
Removing a User’s Default Domain
To remove a user’s default domain, issue the
setuser -defaultdomain -unset
<user_name>
command, where
<user_name>
is the name of the user for whom you are removing
a default domain.
20
Managing User Accounts and Connections