db user¶
The following operations can be performed on "db user":
add db user¶
Adds a database user. The user name and password that you specify in this command are added to the nsconfig file and used to authenticate the user.
Synopsys¶
add db user <userName> {-password }
Arguments¶
userName
Name of the database user. Must be the same as the user name specified in the database.
password
Password for logging on to the database. Must be the same as the password specified in the database.
Example¶
add db user johndoe -password secret
rm db user¶
Removes a database user from the NetScaler appliance. Requests from the user are no longer authenticated or routed to the database server.
Synopsys¶
rm db user <userName>
Arguments¶
userName
Name of the database user to remove.
set db user¶
Modifies the password of an existing database user.
Synopsys¶
set db user <userName>
Arguments¶
userName
Name of the database user.
password
The database users password. If you use the CLI, you are prompted for this password after specifying the user name.
Example¶
set db user johndoeThe above command sets the password for johndoe to abcd (Password to be suplied on prompt)
show db user¶
Displays the specified database user or, if no user is specified, all the database users configured on the appliance.
Synopsys¶
show db user [<userName>] [-loggedIn]
Arguments¶
userName
Name of the database user.
loggedIn
Display the names of all database users currently logged on to the NetScaler appliance.
Outputs¶
password
Password for logging on to the database. Must be the same as the password specified in the database.
devno
count
stateflag