TruCluster
cancel
Showing results for 
Search instead for 
Did you mean: 

root Account locked in trucluster5.1A

Hemanth_3
Occasional Visitor

root Account locked in trucluster5.1A

Hi,
I have a 4 node trucluster 5.1A where the root user account is locked .Now Iam unable to login as root to any of the nodes even from the console.
How to change the root password and what is the procedure for that?
Does it require a cluster shutdown.
Expecting an early response,
Hemanth
3 REPLIES
Ralf Puchner
Honored Contributor

Re: root Account locked in trucluster5.1A

reboot in single user mode and change the passwd manually if not C2 enabled.

Or "guess" the password by using "su"

Help() { FirstReadManual(urgently); Go_to_it;; }
Ravi_8
Honored Contributor

Re: root Account locked in trucluster5.1A

Hi Hemanth

Yes it needs cluster shoudown
get into single user mode (from SRM console) and change the root passwd
never give up
Joop van Zonneveld_1
Occasional Visitor

Re: root Account locked in trucluster5.1A

Shutdown the Cluster
and boot one meber in single user mode

procedure:
# mount -a
Boot het systeem in single user mode:

>>> b -fl s

Mounten file systemen:

# mount -a

Start processes:

# /sbin/init.d/evm start
# /sbin/init.d/security start
# /sbin/init.d/sia start
# /sbin/init.d/niffd start
# /sbin/init.d/netrain start
# /sbin/init.d/inet start
# /sbin/init.d/clu_alias start
# /sbin/init.d/prpasswd start

Unlocken root account
#/usr/tcb/bin/edauth -g root \
| sed '
s/:chkent/:u_lock@:chkent/
s/:u_numunsuclog#.:/:/
s/:u_numunsuclog#..:/:/
' \
| /usr/tcb/bin/edauth -s

set password root
# passwd root

gr,
Joop