Got TCB on a 5.1 system and need to migration with nimadm's alt_disk_install. Got a tip for ya. Remove the odm setting , then migrate the nim client, then boot AIX 5.2 enable TCB then recreate /etc/security/sysck.cfg .
Here is the odm twiddle:
/usr/bin/odmget -q attribute=TCB_STATE PdAt | /usr/bin/sed 's/tcb_enabled/tcb_disabled/' | odmchange -o PdAt -q attribute=TCB_STATE
Then remove /etc/security/sysck.cfg and then create it again with a filelist of files to add.
for file in ` cat filelist `
do
/usr/bin/tcbck -a $file group mode owner type checksum
done
Now you are TCB enabled again and have done an alt_disk_install migration. If not the silly nim master checks for the ODM TCB flag and dies.
Here is the odm twiddle:
/usr/bin/odmget -q attribute=TCB_STATE PdAt | /usr/bin/sed 's/tcb_enabled/tcb_disabled/' | odmchange -o PdAt -q attribute=TCB_STATE
Then remove /etc/security/sysck.cfg and then create it again with a filelist of files to add.
for file in ` cat filelist `
do
/usr/bin/tcbck -a $file group mode owner type checksum
done
Now you are TCB enabled again and have done an alt_disk_install migration. If not the silly nim master checks for the ODM TCB flag and dies.