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 directory permissions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-09, 04:43
3legcat 3legcat is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
DB2 directory permissions

Hi,
I'm doing a security audit and found the following DB2 related world writable directories on my servers


drwxrwsrwt 2 db2inst1 db2iadm1 4096 /home/db2inst1/sqllib/db2dump
drwxrwsrwx 2 db2inst1 db2iadm1 4096 /home/db2inst1/sqllib/tmp
drwxrwxrwt 2 root db2iadm1 4096 /var/lum

what are they for? should I be concerned?
Reply With Quote
  #2 (permalink)  
Old 09-16-09, 06:23
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
/home/db2inst1/sqllib/db2dump is where DB2 writes diagnostic information. The only potential probelm would be if that writting to that directory causes the instance home directory to fill up, which can sometimes cause problems for the DB2 instance.

I don't know what /home/db2inst1/sqllib/tmp is, but usually tmp directors have no security on them. I assume there is nothing in that directory, or it is of no concern (other than filling up the instance home directory).

Don't know about /var/lum. What is in that directory?
__________________
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 09-16-09, 22:58
3legcat 3legcat is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
Dig some checking... looks like /var/lum is license key directory for DB2.

Thanks for the info.
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