VCS Backup Password Question

Answered Question
Apr 17th, 2012

Hey all,

If I have a VCS backup file, is there a way to reset the 'admin' or 'root' password in the backup file before uploading it to the new VCS?  We get a lot of VCS backup files for troubleshooting purposes and when we upload them to our lab VCS'es we can no longer get into them without physically rebooting the VCS and doing 'pwrec'.

Thanks,

Justin

I have this problem too.
0 votes
Correct Answer by aljaiswa about 2 years 1 day ago

Hi Justin,

I believe the upload you are doing is via web GUI and after the upload it takes back to login window..

Can you confirm if you are able to login to root after pushing the back up file. If yes, then try this.

- login to root and run the command tsh

- you would be now in admin prompt

- create a new temporary account to login to web by using below commands

xconfiguration SystemUnit AdminAccount 3 Name:

OK

xconfiguration SystemUnit AdminAccount 3 password:

OK

xconfiguration SystemUnit AdminAccount 3 Access: ReadWrite

OK

You can login to web GUI using this account. However please note that with this newly create account you can't login to command line.

Now reset the password for original admin account. and logout and login again using the original admin account.

Once logged in you can delete the temp account you created.

Note: This all can be done if you have access to root account.

Thanks

Alok

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
Correct Answer
aljaiswa Tue, 04/17/2012 - 23:13

Hi Justin,

I believe the upload you are doing is via web GUI and after the upload it takes back to login window..

Can you confirm if you are able to login to root after pushing the back up file. If yes, then try this.

- login to root and run the command tsh

- you would be now in admin prompt

- create a new temporary account to login to web by using below commands

xconfiguration SystemUnit AdminAccount 3 Name:

OK

xconfiguration SystemUnit AdminAccount 3 password:

OK

xconfiguration SystemUnit AdminAccount 3 Access: ReadWrite

OK

You can login to web GUI using this account. However please note that with this newly create account you can't login to command line.

Now reset the password for original admin account. and logout and login again using the original admin account.

Once logged in you can delete the temp account you created.

Note: This all can be done if you have access to root account.

Thanks

Alok

aljaiswa Tue, 04/17/2012 - 23:21

just to be clear "3" is the number of admin account i have on my VCS

cheers

Alok

justinferello Wed, 04/18/2012 - 05:40

All,

I was mistaken, when you do the restore, it does overwrite the admin account password, but not the root account.  I thought I had my root account at default but I did not.  Sorry for confusing anyone.

Thanks,

Justin

Actions

Login or Register to take actions

This Discussion

Posted April 17, 2012 at 7:15 PM
Stats:
Replies:3 Avg. Rating:5
Views:330 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard