Neoview Database Administrator's Guide (R2.4)
Syntax Description for changePassword
changePassword {(username,| password,| expirationDays,| expirationDate,| error,| message)}
;
expirationDate is
{month-name|day|year}|
username
is the name of the user whose password you are changing. username is a case-sensitive
single quoted text string, with a maximum of 32 alphanumeric characters and special
characters period (.), hyphen (-), and underscore (_). User names may not begin with the
string “role”.. This is a required input parameter.
password
is the new password to associate with this user name. password is a case-sensitive,
single-quoted string of 0 (zero) to 64 characters containing any alphanumeric character except
space, comma (,), semicolon (;), double quote (“), or ASCII null. Password length is governed
by Neoview DBAdmin password control policies. This is a required input parameter.
expirationDays
the number of days at the end of which the password expires. If the platform grace period
for password changes is zero, then the ability for this username to log on is suspended.
Otherwise, username can log on for the number of days specified by the platform grace
period, provided the password is changed during the logon. (See the Neoview Database
Administrator's Guide for more information about the platform grace period for password
changes.) expirationDays is an integer from 0 (zero) through 32767. A zero value specifies
no expiration. This is a required input parameter.
expirationDate
the date on which the password expires. If the platform grace period for password changes
is zero, then the ability for this username to log on is suspended. Otherwise, username can
log on for the number of days specified by the platform grace period, provided the password
is changed during the logon. (See the Neoview Database Administrator's Guide for more
information about the platform grace period for password changes.) If expirationDate
is the current date and the system grace period is greater than zero, then a user using
username is required to change the password in order to logon. This is a required input
parameter.
expirationDateis a single-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.
error
contains the error numbers if an error occurs. If no error occurs, this field is 0. This is a required
parameter reserved for output, and is represented by a question-mark (?).
message
contains the text related to the outcome of the command. If an error occurs, this text pertains
to the error. This is a required parameter reserved for output, and is represented by a
question-mark (?).
Commands to Manage Multiple Neoview Users 129