I am (batch) scripting my Veritas Cluster Server 6.0 configuration. The Process
resources I am configuring need to run as user domain\user
(the "UserName" attribute). I have tried to enter the "Password" attribute via the command line, using the listed methods. Any suggestions on how to script password configurations?
Method 1: Plaintext (no worky)
C:\>hares -modify MyResource Password mypassword
Method 2: vcsencrypt.exe (no worky)
C:\>vcsencrypt -agent domain\user
AMEmZMnMJmJMoKMoJOdMZoC
C:\>hares -modify MyResource Password AMEmPMnMBmJMoKMoFOdMFoC
Method 3: GUI (works, but need scripting option)
- Select Resource
- Edit/enter "Password" Scalar Value
- Accept that password will be encrypted
- Observe hashed password shown in configuration
- Successfully online resource
Specs:
Veritas Cluster Server: 6.0 Operating System: Windows 2008 R2