Job Management Partner 1/Automatic Job Management System 3 Command Reference 1
This section describes how to add a new administrator for the embedded database and modify the existing administrator.
For the embedded database, a database administrator is created by default. Both the authorization identifier of the default database administrator and the password are root. When you use the ajsembdbadduser command, you can add a new database administrator or change the existing password.
For details on the ajsembdbadduser command, see B.3 ajsembdbadduser.
To execute the ajsembdbadduser command, you need to set the environment variable PDUSER. Check the following setting examples, and then set the environment variable PDUSER.
- Setting example for a Windows host
x:\> set PDUSER="root"/"root"
- Setting example for a UNIX host
# PDUSER='"root"/"root"'
# export PDUSER
- Example
- Changing the password of the database administrator with the authorization identifier root to jp1ajs2
- For a Windows host
(The embedded database installation previous directory is c:\Program Files\HITACHI\JP1AJS2\embdb\_JF0.)
ajsembdbadduser -i "c:\Program Files\HITACHI\JP1AJS2\embdb\_JF0" -a root -ap jp1ajs2
- For a UNIX host
(The embedded database installation previous directory is /opt/jp1ajs2/embdb/_JF0.)
ajsembdbadduser -i /opt/jp1ajs2/embdb/_JF0 -a root -ap jp1ajs2
- If you change the database administrator's password, you must also change the value of the -ap option in the ajsembdbrorg or ajsembdbreclaim command.
- You can create a new database administrator as well.
- Example
- Creating a new administrator for the embedded database with the authorization identifier jp1ajs2 and the password jp1ajs2
- For a Windows host
(The embedded database installation previous directory is c:\Program Files\HITACHI\JP1AJS2\embdb\_JF0.)
ajsembdbadduser -i "c:\Program Files\HITACHI\JP1AJS2\embdb\_JF0" -a jp1ajs2 -ap jp1ajs2
- For a UNIX host
(The embedded database installation previous directory is /opt/jp1ajs2/embdb/_JF0.)
ajsembdbadduser -i /opt/jp1ajs2/embdb/_JF0 -a jp1ajs2 -ap jp1ajs2
If the password for the root authorization identifier is not root (the default), you cannot execute the jajs_setup command. If the password for the root authorization identifier has been changed, set up the scheduler by using advanced setup of an embedded database. For details about advanced setup of an embedded database, see C. Advanced Setup of an Embedded Database in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.