From 9ef811a565b5c4f5e6022aa8f873de467f57641a Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 8 Nov 2012 09:21:10 +0000 Subject: [PATCH] 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 --- xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index 1b59b67b1..e4b303760 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -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