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 > How to change db2admin password ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-11, 12:05
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
How to change db2admin password ?

Friends,

I need to change the password for db2admin user.

If I change it, then db2 service does not start. I guess I might have installed the software as db2admin.

How can I work around it. I am not sure how to but if I manage to change the password for db2 service, will there be anything else to do for successful start and run ?

Please advise, thanks
Reply With Quote
  #2 (permalink)  
Old 01-13-11, 14:15
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You use the OS to change the password.

Andy
Reply With Quote
  #3 (permalink)  
Old 01-13-11, 14:19
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Quote:
Originally Posted by ARWinner View Post
You use the OS to change the password.

Andy
Very simple !!

Then DB2 service does not start. Any way to work around this ?

Thanks
Reply With Quote
  #4 (permalink)  
Old 01-13-11, 15:49
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What is your OS and DB2 version?

Andy
Reply With Quote
  #5 (permalink)  
Old 01-13-11, 19:29
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
win2k3 db2v9.7.3a
Reply With Quote
  #6 (permalink)  
Old 01-13-11, 19:36
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I don't use Windows a lot so not really sure, but did you try changing the password during connect to the db (connect to ... using <pwd> new <new pwd>...)
Reply With Quote
  #7 (permalink)  
Old 01-13-11, 20:46
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Well, I think I should try to say it in different words!

When we install DB2 on windows OS then few services are created. For example one is DB2 - DB2COPY1 - DB2

If I change password at system level then on next db2start this service cannot log on to windows. DB2 won't run.

So if I need to change password of db2 adminstrator (db2admin user) then I must go through list of services that need new password to log on to system so that whole db2 system starts seamlessly.


My question was to some one who had done it already; to help me with list of such things to do.

For an example we have DB2 administration commands for Administration server as
Quote:
>db2admin stop

>db2admin setid db2admin mynewsecret

>db2admin setschedid db2admin mynewsecret

> db2admin start
What are other commands for other db2 services ??

Regards

Last edited by DBFinder; 01-14-11 at 22:45.
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