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/trunk@14276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-11-08 09:21:10 +00:00
parent 54fea32eb0
commit 9ef811a565

View File

@ -111,6 +111,11 @@ 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
# if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then