I have a small query. It is said that SYSDBA and SYSOPER
are respectively DBA level Administrative and Operational
Privileges. I am working on Oracle 8i on NT. Now if I say
grant sysdba to ; (User which I have created ) It
shows me grant succeded. However If connect as the user
and say 'shutdown' or 'create tablespace' it still gives me
error as 'Insufficient Privileges'. What can be the reason
for this. How to incorporate these privileges to the user
First of all Thanks a lot
I tried what you have suggested and it did worked out. Actually I was trying it without saying AS SYSDBA and also I was on SQL> prompt. Oracle allows this only in SVRMGR.
Thanks for all
This is a known bug in 8.1.5, fixed in 8.1.6. For a workaround, add an ORDER BY clause and it will work:
SELECT * FROM v$pwfile_users WHERE sysdba='TRUE'
ORDER BY 1;
also
connect / as sysdba
grand sysdba to user username
error show beloww
ORA-01994: GRANT failed: cannot add users to public password file
In Error Messages manual you'll find the explanation:
ORA-01994 GRANT failed: cannot add users to public password file
Cause: A grant failed because a user could not be added to the password file.
This is because the value of the REMOTE_LOGIN_PASSWORDFILE
initialization parameter is set to PUBLIC.
Action: To add a user to the password file, shutdown the database, change the
REMOTE_LOGIN_PASSWORDFILE initialization parameter to PRIVATE, and
restart the database.
HTH,
Jurij Modic ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Bookmarks