If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Passwordless db2 login ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-11, 18:25
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Passwordless db2 login ??

Do we have a s solution for database shell script running on Client to login and retrieve snapshots from Server ??

Or there may some work-around.

For an instance, I have an admin client on machine A (aix 5.3 DB2 9.1). My script wants to retrive hitratios on Server B (aix 5.3 DB2 9.1 ESE). When connecting to database on Server B in the script, it allows me to connect only when I specify or enter password.

I think Oracle has password file for this purpose, does DB2 has such feature or workaround ?

Please help,
DBFinder
Reply With Quote
  #2 (permalink)  
Old 11-28-11, 19:11
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try AUTHENTICATION CLIENT, but be wary of the consequences.
Reply With Quote
  #3 (permalink)  
Old 11-28-11, 19:20
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks,

I can TRY this in my test lab. I am sure my employer will not allow this.

I wanted to learn if anything passwordless similar to ssh keys that may be acceptable to corporate sites.

Regards
Reply With Quote
  #4 (permalink)  
Old 11-28-11, 21:03
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
DB2 does not authenticate anyone, it delegates the task to the OS, either on the server or on the client. An alternative would be to write your own security plugin - the process is well documented.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On