473,666 Members | 2,357 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 2195
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
2341
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 requirement, I don't understand). So I started the installer as the admin user. That too failed because I have a non-admin install of Python 2.3 on my machine and when I launch
24
7412
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 Server.MapPath() error 'ASP 0175 : 80004005' Disallowed Path Characters /backend/_add_two.asp, line 103
2
1876
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 the main content area. The main content are has several subsections, each of which starts with a mini-menu of four links. I want to have these laid out across the full width of the column. Here's an ASCII attempt to show the desired page layout:
0
1333
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 -crash -pn aspnet_wp.exe -notify 'admin@hotmail.com' -o c:\crashdump
3
1995
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 tried to run the enhancements, and did not get the results I wanted, either with writing the results to a log file on the server, nor in sending the email. In doing further research, I see that the site is being hosted on a windows server, and...
5
5531
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. In order for this to work, the person logging into the Windows XP desktop needs to have local admin rights on the machine. Is there a way using C# to give the current user the necessary rights, or put them in the local administrators group,...
37
3723
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 Access 2007 installed. It does *not* work under Windows Vista Ultimate. After running Access 2007, when you open an earlier version of Access, no code works, because the references are fouled up. And Access 97 does not work at all. Access should...
7
6465
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 these indefinitely, it looks like this in my listing of tables: Admin - 00 Admin - 01 Admin - 02 Admin - 03 Admin - 04
0
1192
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 themselves.. upload new images,select which to show etc.! the first hurdle ive hit is that i want the 'admin' to be able to select what banner is shown on the page depending on what time of year it is. for instance in the admin section that i will...
0
8352
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8780
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7378
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2005
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.