If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
What is the db2 7.1 equilavent to the Oracle command 'startup restrict' ? The restrict mode does not allow users to connect to a database if they don't have sufficient authority.
By default, connect privledge to a database is given to public when the database is created. So if you just revoke this authority (or any specific connect grants to id's you want to revoke), you shoud get what you want.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
It may be the quiesce database/instance command you want ...
You should be atleast on V8.1 to have this feature
Cheers
Sathyaram
Quote:
Originally Posted by redwolf
What is the db2 7.1 equilavent to the Oracle command 'startup restrict' ? The restrict mode does not allow users to connect to a database if they don't have sufficient authority.
Thanks
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
If you want to only allow sysadm authority to have access to a database, then the quiesce ccommand should work fine. If you want other specific users to be able to connect (but not everyone) then you can control it by revoking their connect privledge.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390