Neoview User Management and Security Administration Guide (R2.5)
NOTE: When setting or altering the password of another user, it is a common practice to
specify a password expiration date in the recent past but within the grace period. In this
case, the user will receive a password-expiry warning when logging on for the first time
and will be forced to change his or her password right away.
Passwords for predefined users such as SECURITYMGR are created with no expiration. HP
recommends that you not modify the expiry attributes in those cases.
date is a double-quoted space-delimited string in the form of:
month-name day year
month-name
is the first three letters of the month name and is not case-sensitive. For example: JAN,
feb, Mar
day
is a one or two digit integer from 1 through 31, specifying the day of the month.
year
is a 4-digit integer to specify the year, or spaces to specify no expiration date.
Examples
The following command changes the password of Lauren Powell's account and requires NCI to
prompt for the new password, which remains valid for 90 days. This example omits .sec because
NCI was already in security mode, as described in “Security Mode” (page 29):
alter user LaurenPowell, password, expiry-days 90
CREATE ROLE Command (database roles)
The CREATE ROLE command defines a new role on the Neoview platform.
Syntax
[.SEC] CREATE ROLE [rolename]
Parameters
rolename
A string consisting of the prefix “ROLE.” followed by 1 to 8 alphanumeric characters, the
first of which may not be a number. Alphabetic characters are case-insensitive.
Error Conditions
If the command is successful, a message is displayed indicating that the role was added. The
command returns an error in any of the following cases:
• The user executing the command is logged on in a role other than ROLE.MGR.
• The role already exists.
• The platform already has 255 roles defined.
• The role name is invalid (the prefix is missing, or the part following the prefix has more
than 8 characters, doesn't start with a letter, or contains characters other than letters and
digits).
Example
CREATE ROLE ROLE.ITDBA
User Management Commands 113