Issue trustchk command to ensure /etc/security/privcmds has the correct permissions

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-11-08 10:18:19 +00:00
parent d2f0431829
commit 72cbbc912d

View File

@ -111,6 +111,10 @@ if [ "$OS" != "AIX" ]; then
chmod 400 $installroot/root/.ckpt.key
fi
# Ensure that the /etc/security/privcmds file has a complte set of entries.
if [ "$OS" == "AIX" ]; then
/usr/sbin/trustchk -ry ALL >/dev/null 2>&1
fi
# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluter.
#if [ "$OS" != "AIX" ]; then