473,507 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

workaround for admin option

4 New Member
Hi Experts,
I am using Oracle 10g and I presently have this kind of setup for my new project.
Expand|Select|Wrap|Line Numbers
  1. grant WINA$USER to WINA$USRADM with admin option;   (where both WINA$USER and WINA$USRADM are roles)
  2.  
  3. SQL> select * from dba_role_privs where admin_option ='YES' and grantee like 'WINA$%' order by grantee;
  4.  
  5. GRANTEE                        GRANTED_ROLE                   ADM DEF
  6. ------------------------------ ------------------------------ --- ---
  7. WINA$USRADM                    WINA$USER                      YES YES
  8.  
In my vb code I use
Expand|Select|Wrap|Line Numbers
  1. create user C$SETUP identified by password
  2.  
  3. grant WINA$USER to C$SETUP
to create and grant role for the new users.

But my dba says that, this kind of option will raise an audit issue and do not grant an admin option. So please advise me for a work around.
May 30 '07 #1
4 2179
debasisdas
8,127 Recognized Expert Expert
HI
welcome to TSDN

In your case it all depends on what u have granted to the role,
and since you are granting with admin option, it can raise some problem for the DBA. Again all depends on the IT policy of your organisation, which I think you and your DBA knows better.

If u are granting some admin previledges with admin option it can be a cause of concern for the organisation.
May 30 '07 #2
rajeshdbabu
4 New Member
Hi debasisdas,

I have not much info on DB control. Could you pls give some specific examples I can refer to? Thanks.

HI
welcome to TSDN

In your case it all depends on what u have granted to the role,
and since you are granting with admin option, it can raise some problem for the DBA. Again all depends on the IT policy of your organisation, which I think you and your DBA knows better.

If u are granting some admin previledges with admin option it can be a cause of concern for the organisation.
Jun 4 '07 #3
debasisdas
8,127 Recognized Expert Expert
do u want DB controls in vb ?
Jun 4 '07 #4
rajeshdbabu
4 New Member
do u want DB controls in vb ?
In order for User A (who is assigned WINA$USRADM role) to be able to "grant WINA$USER" to other users, I have given "grant WINA$USER to WINA$USRADM with admin option" in order for the VB code to work.

But my dba says that, this kind of option will raise an audit issue and not to grant an admin option. Can someone please advise me for a work around.

Appreciate your kind help on this matter urgently. Thank you.
Jun 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
2335
by: Kartic | last post by:
Hello, I downloaded the Win32 installer for Twisted 1.3.0, Python 2.3. The installer, when executed under my login, fails as it requires administrator rights to install (why they have it as a...
24
7389
by: Lovely Angel | last post by:
Dear Friends Hope you doing great. I have recently shifted to a webhost which is Using Windows 2003 and IIS 6. Now my application was working fine earlier but now I am facing this problem ...
2
1867
by: Oliver Burnett-Hall | last post by:
I'm trying to move to using tableless page layouts, but I've come across what appears to be a bug in IE5's rendering that I can't find a way to overcome. The page has a sidebar to the left of...
0
1326
by: Diffident | last post by:
Hello All, Does anyone know how to configure ADPlus to notify an admin or user if a crash occurs? I am using the following command to attach the debugger to workerprocess cscript adplus.vbs...
3
1987
by: Scott Evans | last post by:
Hi! I have been asked to add some functionality to an existing web site. The user would like to have a form that would email them the results of the form. Really easy stuff to do, usually. I...
5
5520
by: TravisTurman | last post by:
I'm a C# newbie and have inherited a program that runs at login. Part of the program looks at a text file to see which version is installed and then installs the latest greatest version if needed....
37
3691
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with...
7
6450
by: n00b | last post by:
I have a database in which Access is automatically generating a sequence of Admin tables. It is due to the ODBC error (which I haven't found yet) listed in the table. Access seems to generate...
0
1176
by: jasone | last post by:
Hey guys, im creating a website that will be mostly powered by php. I will start by giving you some backgroound: I want the website to be totally dependant, so the user can update it all...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.