Sie sind auf Seite 1von 3

*has benifits

*what is linux
OS software layer btwn S&H
runs servers
1991-1994
his own os
he wanted to create open source
*every body can play with linx
can see/edit the code
Versions redhat for entriprise,ubantu
trustx linux for security
Based on req ,select
*Open source:means not free software
08069990222,69990444,8197404272,vrkh complex no-3,1main,vivenkananda layout,opp
home town,mr.himansu
grant CREATE CLUSTER to hypeas;
grant CREATE INDEXTYPE to hypeas;
grant CREATE PROCEDURE to hypeas;
grant CREATE SEQUENCE to hypeas;
grant CREATE SESSION to hypeas;
grant CREATE TABLE to hypeas;
grant CREATE TRIGGER to hypeas;
grant CREATE TYPE to hypeas;
grant CREATE VIEW to hypeas;
grant DROP ANY SYNONYM to hypeas;
grant UNLIMITED TABLESPACE to hypeas;
up vote
9
down vote
accepted
1) Yes, the dba role should have enough privileges to screw up a database beyond
fixing.
2)
select *
from role_sys_privs
where grantee = 'DBA';
3) Unless you plan on having several user with similar privileges, I recommend c
reating a user and grant all needed privileges explicitly to this user instead o
f via a role.
You can read more about the topic in Oracle Database Security Guide chapter 11,
Administering User
select * from USER_ROLE_PRIVS where USERNAME='SAMPLE';
12
down vote
favorite
2
How do I grant a user DBA rights in Oracle? I guess something like:
CREATE USER NewDBA
IDENTIFIED BY passwd;
GRANT DBA TO NewDBA WITH ADMIN OPTION;
Is it the right way, or...
oracle11g
Connected to:
Personal Oracle9i Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>
SQL> sho user
USER is "SYSTEM"
SQL> select * from system_privilege_map
2 where name like '%PRIV%';
PRIVILEGE NAME PROPERTY
---------- ---------------------------------------- ----------
-167 GRANT ANY PRIVILEGE 0
-244 GRANT ANY OBJECT PRIVILEGE 0
SQL>
SQL> -- Create a new user with just create session (to log on) and grant

SQL> -- any privilege to, well grant all privileges.
SQL> create user emil identified by emil;
User created.
SQL> grant create session, grant any privilege to emil;
Grant succeeded.
SQL> -- because we want to test this privilege create a second user to
SQL> -- test it with
SQL> create user zulia identified by zulia;
User created.
SQL> -- connect as emil and grant all privileges to Zulia
SQL> connect emil/emil@sans
Connected.
SQL> grant all privileges to zulia;
Grant succeeded.
SQL> -- connect as system and find out if it worked.
SQL> connect system/manager@sans
Connected.
SQL> select count(*),grantee
2 from dba_sys_privs
3 where grantee in ('MDSYS','EMIL','ZULIA')
4* group by grantee
SQL> /
COUNT(*) GRANTEE
---------- ------------------------------
2 EMIL
139 MDSYS
139 ZULIA
SQL>
We used MDSYS as a checkpoint as MDSYS has all privileges granted to it
by default in a default installation of Oracle. The privilege you need
therefore is GRANT ANY PRIVILEGE.

Das könnte Ihnen auch gefallen