Video Screencast Help
Storage & Clustering Community Blog

Resetting your VCS admin Password with root

Created: 04 Nov 2011 • Updated: 11 Jun 2014 • 5 comments
Tmy_70's picture
0 0 Votes
Login to vote

 

If you've manged to get locked out of your Veritas Cluster Server Cluster Manager, but you have root access to the server, you can reset your password using the following procedure.
 
#su - root
 
#hauser -list
admin
 
#hauser -update admin
 
If you receive the following error when running this command:
VCS WARNING V-16-1-11309 Configuration must be ReadWrite then, you need to put the configuration into ReadWrite mode.
 
#haconf -makerw
 
You should now be able to set password.

Comments 5 CommentsJump to latest comment

John Worachek's picture

]# ./hauser -list
admin

# who am i
root     pts/0        2013-02-14 16:27

# ./hauser -update admin
VCS WARNING V-16-1-10603 Unknown option: -update
VCS INFO V-16-1-10601 Usage:
        hauser -add <name> [-priv <Administrator|Operator|Guest> [-group <group(s)>]]
        hauser -addpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]
        hauser -delpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]
        hauser -addpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]
        hauser -delpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]
        hauser -delete <name>
        hauser -display [<name>]
        hauser -list
        hauser -help
 

]# uname -a
Linux <hostname>.<subdomain>.<domain>.com 2.6.32-279.14.1.el6.x86_64 #1 SMP Mon Oct 15 13:44:51 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

 

Is there another way?

 

 

+4
Login to vote
arangari's picture

John,

I think you are running a 'Secure VCS cluster'. Please confirm by checking cluster attribute SecureClus.

#haclus -value SecureClus

If the value is '1', then you are running secure cluster and the users will be authenticated with their OS /LDAP credentials. 

The user passwords are not used from the main.cf. I think you have moved from non-secure cluster to secure cluster and had 'admin' as user earlier.  Now in secure cluster, you will need an OS user 'admin' to work in same way. I would, instead advice the following:

from root shell, you can run following, where vcsadmin is an OS user on all the nodes of cluster.

# hauser -add vcsadmin -priv Administrator

Alternatively you can also do the following, assuming sys1.nebula.com is FQDN for one of the cluster node.

#hauser -add vcslocaladmin@sys1.nebula.com -priv Administrator.

 

Please let me know if you face some more problem.

 

Thanks and Warm Regards,

Amit Rangari

If this post helped you resolving the issue, please mark it as solution. _____________________________________________________________________________

-1
Login to vote
arangari's picture

any updates?

Thanks and Warm Regards,

Amit Rangari

If this post helped you resolving the issue, please mark it as solution. _____________________________________________________________________________

-5
Login to vote
John Worachek's picture

Amit,

 

I re-installed using the CPI (common platform installer) and changed the security.  Apparently, the installer wizard for the Symantec High Availability plug-in within vCenter does not allow this option.  Can an enhancement request be filed?

 

Thanks-

-John

+2
Login to vote
arangari's picture

John,

Please do report into Symantec Support so that concern teams can take a look at it. 

 

Thanks and Warm Regards,

Amit Rangari

If this post helped you resolving the issue, please mark it as solution. _____________________________________________________________________________

-1
Login to vote