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 > password for instance owner

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-12, 18:56
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
password for instance owner

Do you use expiring or non-expiring password for the instance owner? Single-partitioned instances.
Reply With Quote
  #2 (permalink)  
Old 01-25-12, 00:34
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Non-expiring, unless you are suicidal.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 01-29-12, 10:26
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
As per their security standards, a user id that has SYSADM, SYSMAINT or SYSCTRL can't have a non-expiring password. So, we might have to change them all to expire. This is a headache to remember to change the password on all servers and there are quite a few.

What happens if the instance's password get expired and we forget to change it on time? As far as I know, the instance will continue to run but any application that's using the instance id to connect to the db will get an error. Also, "sudo su - 'instance'" will fail and prompt to change the password? Will anything else be affected?
Reply With Quote
  #4 (permalink)  
Old 01-29-12, 16:38
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
su, when run by root, does not care if the password is expired or even if the account is locked.
Reply With Quote
  #5 (permalink)  
Old 01-29-12, 19:53
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
We sudo from our personal id's. I'm not too worried about not being able to su to the instance owner, I'm more concerned about anything else that could be impacted if the instance's password get expired.
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