Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: HELP with grants
Grant any privilege means grant any system privilege. All object level
privileges must originate from the object owner. You could log on as the
object owner and give the grants to tom with the admin option and then tom
would be able to do the grants.
Marcus
Van Messner <vmessner_at_netaxis.com> wrote in message
news:tT9q2.847$A03.1650_at_news7.ispnews.com...
> I started this week at a company with six decent sized databases. Most
>of the objects in each have one owner - but there is some variation. The
>password is known for only one of the owners. I have been told that some
>older applications have the passwords coded and encrypted so I can't change
>the passwords of any of the object owners in the databases.
>
> I have access to SYS and to a fully privileged DBA user Tom who has a
>complete set of system privileges including GRANT ANY PRIVILEGE, INSERT ANY
>TABLE etc. All have the WITH ADMIN OPTION.
>
> When a user who is not the owner wants to get object rights to some
>object neither SYS nor Tom can grant them. Insufficient privileges says
>Oracle. I tried giving Tom all his system privileges directly in
Enterprise
>Manager rather than through the DBA and other roles. Still no luck. I
>can't give Tom object privileges in Oracle manager says Oracle.
>
> Unless I'm mis-reading the documentation, I should be able to grant
>these object privileges given the system privileges already held by SYS and
>by Tom. Have I missed something along the way?
>
>TIA
>
>Van
>
>PS I know how to do it using the backdoor approach of cutting and
pasting
>the encrypted passwords. But this is inelegant and prone to disastrous
>error if I do it enough times. I want to be able to do it in an aboveboard
>way.
>
>
Received on Sat Jan 23 1999 - 14:23:59 CST
![]() |
![]() |