VMware Cloud Community
crago
Contributor
Contributor

add users to admin role in kickstart script

Prior to 4.1 we created our local ESX users (w/ssh keys) within the kickstart script.  Since 4.1 we are no longer able to sudo etc, as it won't take our password (however, you can login if you are able to use your keys), known issue, I know.  We're currently using the following `vicfg-user --server ESXSERVER --entity user --login LOCALUSER --operation modify --role admin` from the vMA after the fact to enable our ssh login / sudo.  We would really like to add this functionality into the kickstart script.

Is there a way to add users to the admin role from the host itself during the kickstart?

Thanks,
Deric

Thanks, Deric
Reply
0 Kudos
0 Replies