码迷,mamicode.com
首页 > 数据库 > 详细

db2ilist returns blank

时间:2015-05-06 15:22:11      阅读:356      评论:0      收藏:0      [点我收藏+]

标签:db2ilist


The db2ilist command calls either db2iset or db2set depending on the permissions defined for db2iset.

db2iset is meant to be executed by root only, while db2set is meant to be executed by a non-root user. If db2iset has execute permission for ‘others‘, then db2ilist will run db2iset (instead of db2set) when invoked by an instance owner.


Ensure that db2iset has execute permission for only owner (root).

The permissions on this file should be 544.

If this is not the case, then everyone has execute permission on db2iset, the instance owner‘s invocation of db2ilist will run db2iset (which is not meant to be run by non-root user), and db2iset returns blank.

Revoke db2iset‘s execute permission from ‘others‘ and try again.

db2ilist returns blank

标签:db2ilist

原文地址:http://masaly.blog.51cto.com/9302075/1642457

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!