Change Note:
The attached script for changing passwords across all Netwitness hosts, has been updated due to changes in salt version in 11.4.
Synopsis
Normally resetting the root password is a simple task if you’re logged in already with root privileges, however if you forget the password and need to change it things become a little more difficult.
The process has changed from CentOS version 6 to 7, (NetWitness 10.x to NetWitness 11.x) as previously you would boot into single user mode and then change the password as root. From version 7 the equivalent modes are the rescue or emergency targets, however these require the root password before you can do anything which doesn’t help us here, so this will take you through the new process to change the lost root password.
Procedure
This procedure will be completed in the console of the Linux system, either with KVM connected directly to the Host, or via the iDRAC console, so be sure that you have access to this prior to beginning.
Summary
As shown we can reset the root password in Linux CentOS/RHEL 7 by booting with the ‘rd.break’ option, remounting the file system with read/write privileges, creating a chroot jail, and executing the passwd command
When your system has booted back up you’ll be able to use the new root password.
Addendum
Replicate the new password across all hosts in the NetWitness 11.x environment
If the forgotten password was used across ALL hosts in your NetWitness 11.x environment, you only need to complete the above process on the NW Server (node-zero), then you can run the attached shell script to update the password on ALL hosts via salt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.