|
Re: Creating a new DB user and set authorizations [message #103122 is a reply to message #103072] |
Tue, 11 February 2003 17:46 |
Trifon Anguelov
Messages: 514 Registered: June 2002
|
Senior Member |
|
|
1. Login into SQL*PLus as users with DBA privileges:
SQL>connect system/manager
2. Create the user:
SQL>CREATE USER "username" IDENTIFIEED BY "password" DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
3. Grant him CONNECT and RESOURCE privileges:
SQL>GRANT CONNECT, RESOURCE to "username";
4. By default he doesn't have rights to query/modify anybody's objects, so you have to grant on object bases:
SQL>GRANT SELECT on "username1"."tablename1" TO "username";
Hope that helps,
clio_usa
OCP - DBA
Visit our Web site
|
|
|