VCSA root password

How reset VCSA root password. This article talks about resetting but does now clearly show, if original salt should include for three letter part of hash. Kind of confusing when you are copying if $ sign needs to be copied from both side or not.

http://www.virtualpotholes.com/post/124746380849/how-to-reset-the-root-password-for-vcsa-60
LVL 4
pchettriIT DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MazdajaiCommented:
Salt is the second $ up to the next $. Will use the following as example :

$6 = SHA512

$fqwF7emu = salt

$tq3k ... = hashed password

foo:$6$fqwF7emu$tq3k.BZ/HJMLjhyLOxfmCde8AMqSRM8n1VL5XwIqAGhl6GKnIYvDjK5A7Kilx.y/vPQR1:16544:0:99999:7:::

Open in new window


After that replace the new hashed password in /mnt/etc/shadow.

mkpasswd -m sha-512 <NewPassword> <original salt>
vi /mnt/etc/shadow

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.