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 > changing user password on db28.1 for linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 09:56
bab bab is offline
Registered User
 
Join Date: Feb 2004
Posts: 37
changing user password on db28.1 for linux

hi all,

is there any way to change the database user password on db2 udb 8.1 for linux without using unix command "passwd" on operating system?

thanks

bab
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 10:00
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
db2 connect to <dbname> user <username> using <current password> new <new password> confirm <new password>
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 04-29-04, 10:45
bab bab is offline
Registered User
 
Join Date: Feb 2004
Posts: 37
Quote:
Originally Posted by sathyaram_s
db2 connect to <dbname> user <username> using <current password> new <new password> confirm <new password>

hi sathyaram,

thank you.

hmmm .. but why have i to create the database user on operating system? or ist there any way too to create a database user without command useradd?

thanks

bab
Reply With Quote
  #4 (permalink)  
Old 04-29-04, 11:38
bab bab is offline
Registered User
 
Join Date: Feb 2004
Posts: 37
Quote:
Originally Posted by bab
hi sathyaram,

thank you.

hmmm .. but why have i to create the database user on operating system? or ist there any way too to create a database user without command useradd?

thanks

bab
and when i try to change the password i became this message:

SQL30083N Attempt to change password for user id "17" failed with security
reason "UNSUPPORTED FUNCTION" (""). SQLSTATE=08001


what need db2 to support this function?
Reply With Quote
  #5 (permalink)  
Old 05-01-04, 10:15
chansteve1234 chansteve1234 is offline
Registered User
 
Join Date: Sep 2003
Posts: 27
In red hat , if u need to change to password, seems u have to change at /etc/passwd and /etc/shadow. u cant change by using the command as the above said. U can try to write script for user to change the password
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