Unix Technical Forum

Re: DBA command

This is a discussion on Re: DBA command within the DB2 forums, part of the Database Server Software category; --> Eugene, Have you considered doing this via Unix shell scripts and just granting execute access to those users? Chet ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 01:27 AM
ChetWest
 
Posts: n/a
Default Re: DBA command

Eugene,

Have you considered doing this via Unix shell scripts and just
granting execute access to those users?

Chet

eugene@profitlogic.com (Eugene) wrote in message news:<9573e6b2.0408171056.5721565a@posting.google. com>...
> In a multi-database development (DB2V8.1.4/AIX) environment I want to
> enable regular non-DBA database users (i.e. developers) to execute
> some DBA commands including update some database configuration
> parameters affecting application performance, like DFT_QUERYOPT, sort
> heap size, etc, without giving them DBA logins. Is it poosible to
> implement that facility as an application (whether client side or
> stored procedure) using DB2 Administrative C API, bound by a DBA user,
> and then granting execute permissions on the stored routine or package
> to a regular users?
>
> Thanks,
> -Eugene

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 01:27 AM
Eugene
 
Posts: n/a
Default Re: DBA command

Chet,

We had implemented that kind of short term workaround using unix's
sudo but IT is not happy with that and treats it as a security hole.
So I am being forced from permanently using unix superuser level
faciities (except for the standard DB2 user authentication of course)
and hence trying to find a solution just at DB2 level.

Regards,
-Eugene


chetwest@yahoo.com (ChetWest) wrote in message news:<47c93e56.0408180625.22570268@posting.google. com>...
> Eugene,
>
> Have you considered doing this via Unix shell scripts and just
> granting execute access to those users?
>
> Chet
>
> eugene@profitlogic.com (Eugene) wrote in message news:<9573e6b2.0408171056.5721565a@posting.google. com>...
> > In a multi-database development (DB2V8.1.4/AIX) environment I want to
> > enable regular non-DBA database users (i.e. developers) to execute
> > some DBA commands including update some database configuration
> > parameters affecting application performance, like DFT_QUERYOPT, sort
> > heap size, etc, without giving them DBA logins. Is it poosible to
> > implement that facility as an application (whether client side or
> > stored procedure) using DB2 Administrative C API, bound by a DBA user,
> > and then granting execute permissions on the stored routine or package
> > to a regular users?
> >
> > Thanks,
> > -Eugene

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 01:28 AM
Ian
 
Posts: n/a
Default Re: DBA command

Eugene wrote:

> Chet,
>
> We had implemented that kind of short term workaround using unix's
> sudo but IT is not happy with that and treats it as a security hole.
> So I am being forced from permanently using unix superuser level
> faciities (except for the standard DB2 user authentication of course)
> and hence trying to find a solution just at DB2 level.


I was going to suggest sudo, but I am surprised that your IT
organization sees sudo as a security risk! sudo can control
exactly what config params can be updated, who can update them,
and it will even log who is doing what.

Creating a suid binary is a _much_ larger security risk. The
only difference is that your IT folks may not know what you're
doing.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com