net user Administrator SuperS3cr3t! Can this be set so that the password isn't clear text???

34 views
Skip to first unread message

mark.da...@icloud.com

unread,
Aug 14, 2018, 5:08:42 AM8/14/18
to Packer
net user Administrator SuperS3cr3t! Can this be set so that the password isn't clear text???

As per the documentation below..my packer build is working fine, however i need to remove this password so that it isn't in clear text, is this possible???


<powershell>
# Set administrator password
net user Administrator SuperS3cr3t!
wmic useraccount where "name='Administrator'" set PasswordExpires=FALSE

# First, make sure WinRM can't be connected to
netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-..............

Alvaro Miranda Aguilera

unread,
Aug 14, 2018, 2:16:07 PM8/14/18
to packe...@googlegroups.com
you could try to use variables.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/86fddb28-95f3-462e-ae2e-2e6c90ec1bdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages