Chapter 9: Using the Command Line Interface
config:#
user defaultpreferences preferredTemperatureUnit F preferredLengthUnit feet
preferredPressureUnit psi
646
Example 1 - Creating a User Profile
The following command creates a new user profile and sets two parameters for
the new user.
config:#
user create Mary enable admin
Results:
•
A new user profile "Mary" is created.
•
The new user profile is enabled.
•
The admin role is assigned to the new user profile.
Example 2 - Modifying a User's Roles
The following command assigns two roles to the user "May."
config:#
user modify Mary roles admin,tester
Results:
•
The user Mary has the union of all privileges of "admin" and "tester."
Example 3 - Default Measurement Units
The following command sets all default measurement units at a time.
Results:
•
The default temperature unit is set to Fahrenheit.
•
The default length unit is set to feet.
•
The default pressure unit is set to psi.