No question at this time
The DBA-Village forum
as RSS feed
Site StatisticsEver registered users | 48717 | Total active users | 1324 | Act. users last 24h | 1 | Act. users last hour | 0 | Registered user hits last week | 17 | Registered user hits last month | 178 |
|
Go up
ALTER SYSTEM work for ordinary users
Subject: |
ALTER SYSTEM work for ordinary users |
Author: |
dattatraya walgude, India |
Date: |
Dec 02, 2022, 09:58, 68 days ago |
Os info: |
RHEL |
Oracle info: |
Database 12c Release 12.1.0.1.0 - 64bit Production |
Message: |
Dear All,
Observing strange behavior ALTER SYSTEM work for ordinary users who has only create session privilege.
<>SQL> drop user U cascade;
User dropped.
SQL> show user
USER is "SYS"
SQL> create user U identified by P;
User created.
SQL> grant create session to U;
Grant succeeded.
SQL> conn U/P
Connected.
SQL> show user;
USER is "U"
SQL> alter system set job_queue_processes=100;
System altered.
SQL>
|
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
Subject: |
Re: ALTER SYSTEM work for ordinary users |
Author: |
Michel Cadot, France |
Date: |
Dec 02, 2022, 10:08, 68 days ago |
Score: |
       |
Message: |
Check the privileges granted to PUBLIC.
Regards
Michel
|
Your rating?: |
This reply is Good Excellent |
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
Subject: |
Re: ALTER SYSTEM work for ordinary users |
Author: |
dattatraya walgude, India |
Date: |
Dec 02, 2022, 10:46, 68 days ago |
Message: |
Michel,
I really appreciate all the solutions and suggestions you provide.
ALTER SYSTEM was given to PUBLIC !!!!!
<>SQL> revoke alter system from public;
Revoke succeeded.
SQL> conn u/p
Connected.
SQL> show user;
USER is "U"
SQL> alter system set job_queue_processes=100;
alter system set job_queue_processes=100
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL>
|
Your rating?: |
This reply is Good Excellent |
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
|