VMware Cloud Community
bugblatterbeast
Enthusiast
Enthusiast
Jump to solution

Prompt user for Administrator/root password

Hello All

Is it possible to prompt a user for a password for the Administrator (in Windows) or root (in linux) accounts in the "new Request" form which you can then use to set the respective account password on the deployed vCAC blueprint?

Thanks

Danny

VCP4/5, VCP6-CMA, VCAP-DCA4/5, VCAP-CIA, AWS-CSA, CCNA, MCSE, MCSA
0 Kudos
1 Solution

Accepted Solutions
bugblatterbeast
Enthusiast
Enthusiast
Jump to solution

After a bit of research (Googling Smiley Happy) I happened upon this very useful blog post which solved my requirements:-

http://extendingclouds.com/2014/04/28/how-bout-we-let-users-set-their-default-admin-or-root-password...

Danny

VCP4/5, VCP6-CMA, VCAP-DCA4/5, VCAP-CIA, AWS-CSA, CCNA, MCSE, MCSA

View solution in original post

0 Kudos
2 Replies
Craig_G2
Hot Shot
Hot Shot
Jump to solution

Why don't you have your machine provisioned WFStub create a random password, set in the OS and email the user... if you are worried about emailing passwords then you can always tap in to the Share a secret - One Time API.

I have a helper workflow called "vCAC Make Password" which is called from my main machine provisioned workflow:

passwd = Math.random().toString(36).slice(-8);

passwd is an output variable which is then passed to the new VM via an SSH session.

Works perfectly for our needs

0 Kudos
bugblatterbeast
Enthusiast
Enthusiast
Jump to solution

After a bit of research (Googling Smiley Happy) I happened upon this very useful blog post which solved my requirements:-

http://extendingclouds.com/2014/04/28/how-bout-we-let-users-set-their-default-admin-or-root-password...

Danny

VCP4/5, VCP6-CMA, VCAP-DCA4/5, VCAP-CIA, AWS-CSA, CCNA, MCSE, MCSA
0 Kudos