HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

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 whom you are assigning a default domain.
For information about default domains, see the HP 3PAR InForm OS Concepts Guide. For
detailed information about the setuser command, refer to the HP 3PAR InForm OS 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.
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. Refer to the HP 3PAR InForm OS Command Line
Interface Reference for details about this 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 53) 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
Removing a User’s Default Domain 25