Hi guys
I was able to create a local user through command line, but not seeing an option to add the role on ESX 5.5
Just wondering any one can help. I understand that adduser has been moved on esx 5.5
Added user as below
~ # /usr/lib/vmware/auth/bin/adduser
Many Thanks
Take a look at this blog post: Creating Users and Groups on a ESXi 5 Host
Richard,
Thanks for the info. But vicfg command is not available from 5.1 onwards as far as I know and replaced by esxcli.
I managed to add the user through command line, but not finding a way to add the role
/usr/lib/vmware/auth/bin/adduser : This will allow to add the user.
Thanks
I don't think there is any way from command line as vicfg is removed.
You can manage the user using any of the following methods
-Using VIClient
-vMA
-vCLI
-PowerCLI
The most commmon method is using VIClient.
Or else you can go with PowerCLI method.
With PowerCLI, you can add user,assign role etc.Please go through this for more info.
How to – create a local user/assign permissions on an ESXi host - www.running-system.com
I also searched but it was not available with esxcli command but as mentioned earlier , we can by powercli # 1)Connect to your ESXi host: Connect-VIServer -Server ServerAddress/Name -Protocol http/https -User Username -Password password 2) Create the user by executing: New-VMHostAccount -Id username -password PassW0rd -Description “SpecialUser” -AssignGroups localadmin,root To define a role, execute: New-VIPermission -Role admin -Principal username -Entity FQDN of Server
Thanks for the reply guys
I think PowerCLI is the only option. Has anyone tried this on ESXi 5.5 as it seems to be a problem?