Adding New Database Users
The ybdbsetup helper scripts is used to create a new db user.
A menu explaining how to use the script can be produced by running the following, without parameters:
[root@******]# ybdbsetup
Possible Argument for /usr/bin/ybdbsetup To create the database use db
e.g. ybdbsetup dbFor application user app_user -u -p/--password
e.g. ybdbsetup app_user -u=hubble -p=PassworD
For replication user use rep_user -u -p/--password
e.g. ybdbsetup rep_user -u=replication -p=PassworD For attunity user use att_user
e.g. ybdbsetup att_user
You only need to use this script to create extra users.
The difference between the app_user and rep_user parameters is that the app_user will be setup with idle disconnect timeout setup.
For example, to create a new app user called hubble2 with a password of mypassword enter the following:
ybdbsetup app_user -u=hubble2 -p=mypassword