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 > DB2 password change

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-10, 02:09
suvish suvish is offline
Registered User
 
Join Date: May 2010
Posts: 3
DB2 password change

Hello,

I have changed my OS (windows) password but the DB2 is taking the older version..

Can anyone guide me how to change the DB2 password ...?
Reply With Quote
  #2 (permalink)  
Old 05-05-10, 04:00
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
db2 CONNECT TO dbname USER username USING 'pwd' NEW 'newpwd' CONFIRM
'newpwd'

regds
Paul
Reply With Quote
  #3 (permalink)  
Old 05-05-10, 05:22
suvish suvish is offline
Registered User
 
Join Date: May 2010
Posts: 3
Do i have to type in DB2 command the one u mentioned paul
Reply With Quote
  #4 (permalink)  
Old 05-05-10, 07:20
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by suvish View Post
Can anyone guide me how to change the DB2 password ...?
There is no "DB2 password" - DB2 delegates authentication to the operating system.

This means, in particular, that the command Mathew_paul suggested will change the Windows password of that user.
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