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

Setting a User’s Current Domain, Viewing User Connections, Configuring LDAP Connections

Page 21 highlights

Setting a User's Current Domain The current domain refers to the domain in which a user is working during a particular, single CLI session. To set a user's current domain, issue the setclienv currentdomain command, where is the domain you wish to set as the working domain for the current CLI session. Removing a User's Current Domain NOTE: When issuing the setclienv currentdomain -unset command, you are not returned to your default domain. To remove a user's current domain, issue the setclienv currentdomain -unset command. Viewing User Connections To view users currently connected to your system, including their IP addresses and their connection information, issue the showuserconn command. If you are using domains, prior to issuing the showuserconn command, you must first set the TPDLISTDOM environment variable or the -listdom global option to display domain information. If you are working in a Tcl shell, issue the setclienv listdom 1 command to set your system output to display domain information. See "Listing Domains" (page 49) for further information. If the setclienv listdom 1 command is issued when viewing system objects, a Domain column is displayed. Objects not belonging to any domain (no domain) are displayed with a dash (-) under the Domain column. Otherwise, the domain to which the object belongs appears under the Domain column. To view a user's connection to the system, issue the showuserconn command, where: • is the user's numeric ID. • is the user's assigned name. • is the user's IP address. For more information about the showuserconn command, see the HP 3PAR Command Line Interface Reference. Removing User Connections To terminate a user's connection to the system, issue the removeuserconn command, where: • is the user's numeric ID. • is the user's assigned name. • is the user's IP address. See the HP 3PAR Command Line Interface Reference for details about this command. Configuring LDAP Connections The HP 3PAR OS provides an LDAP client that can be configured to use an LDAP server for authentication and authorization of system users. An LDAP user is similar to a local user; however, an LDAP user is authenticated and authorized using information from an LDAP server. Additionally, LDAP users' rights within the system are tied to the groups to which the users belong. Setting a User's Current Domain 21

  • 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

Setting a User’s Current Domain
The current domain refers to the domain in which a user is working during a particular, single CLI
session.
To set a user’s current domain, issue the
setclienv currentdomain <domain_name>
command, where
<domain_name>
is the domain you wish to set as the working domain for the
current CLI session.
Removing a User’s Current Domain
NOTE:
When issuing the
setclienv currentdomain -unset
command, you are not
returned to your default domain.
To remove a user’s current domain, issue the
setclienv currentdomain -unset
command.
Viewing User Connections
To view users currently connected to your system, including their IP addresses and their connection
information, issue the
showuserconn
command.
If you are using domains, prior to issuing the
showuserconn
command, you must first set the
TPDLISTDOM environment variable or the
-listdom
global option to display domain information.
If you are working in a Tcl shell, issue the
setclienv listdom 1
command to set your system
output to display domain information. See
“Listing Domains” (page 49)
for further information.
If the
setclienv listdom 1
command is issued when viewing system objects, a
Domain
column is displayed. Objects not belonging to any domain (
no
domain) are displayed with a dash
(
-
) under the
Domain
column. Otherwise, the domain to which the object belongs appears under
the
Domain
column.
To view a user’s connection to the system, issue the
showuserconn <ID> <user_name>
<IP_address>
command, where:
<ID>
is the user’s numeric ID.
<user_name>
is the user’s assigned name.
<IP_address>
is the user’s IP address.
For more information about the
showuserconn
command, see the
HP 3PAR Command Line
Interface Reference
.
Removing User Connections
To terminate a user’s connection to the system, issue the
removeuserconn <ID> <user_name>
<IP_address>
command, where:
<ID>
is the user’s numeric ID.
<user_name>
is the user’s assigned name.
<IP_address>
is the user’s IP address.
See the
HP 3PAR Command Line Interface Reference
for details about this command.
Configuring LDAP Connections
The HP 3PAR OS provides an LDAP client that can be configured to use an LDAP server for
authentication and authorization of system users. An LDAP user is similar to a local user; however,
an LDAP user is authenticated and authorized using information from an LDAP server. Additionally,
LDAP users’ rights within the system are tied to the groups to which the users belong.
Setting a User’s Current Domain
21