Dear Friends,
As we all known, the vMA has only two built-in account vi-admin and vi-user. In our farm there are serveral Esxi engineer, I want them login with their ow IDs on vMA.
Can anyone guide me how to create account on vMA which as the same permission as vi-admin? Thank you.
vMA is basically just linux-based (not sure which distro) VM, with some pre-installed vm-tools and 3rd party agents (cli, vsphere/sdk, etc). You can add users as in any other *nix (check "man useradd" or "man adduser"). You just have to verify new user is in proper user group, the same as vi-admin...
Dear Garry,
Thanks for your help.
I created user account admin1 with useradd command and add it the same group with vi-admin. But I still got "You don't have permission to execute this command" when run vifp command. Would you pls suggest?
vi-admin@vMA:~> groups vi-admin
vi-admin : root dialout video
vi-admin@vMA:~> groups admin1
admin1@vMA:/home> vifp addserver 192.168.0.202 --username root --password Btpassw0rd@234
Error: You don't have permission to execute this command.
First, I just hope you skipped one line in that input, because as it is, "admin1" is not member of any group (no output to "groups admin1")
Next, cold you please check permissions for that "vifp" command (find with i.e. "whereis" and check with "ls -l")?
Also check if "admin1" has path to vifp command in his PATH variable...
Note: Discussion successfully moved from VMware ESXi 5 to vSphere Management Assistant (vMA)
1. The new account admin1 has the same group with vi-admin.
uid=1003(admin1) gid=0(root) groups=0(root),16(dialout),33(video)
vi-admin@vMA:/usr/bin> id vi-admin
uid=1000(vi-admin) gid=0(root) groups=0(root),16(dialout),33(video)
2. Vifp command path is included in enviroment path variable:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/java/jre-vmware/bin:/opt/vmware/bin
3. Vifp permission:
vi-admin@vMA:/usr/bin> ls -l vifp
-r-xr-xr-x 1 root root 68 2012-05-21 13:56 vifp
Dear Friend,
The issue not fixed. Anyone suggest on this?
I suggest vMA add this feature in the last release.
Last login: Thu Dec 12 12:38:01 2013 from 192.168.10.21
vi-admin@vma:~> sudo su -
vi-admin's password:
vma:~ #
Now that you have root access, noted by the # prompt, let’s create a user and give that user a local unix password:
vma:~ # useradd testuser
vma:~ # passwd testuser
Changing password for testuser.
New UNIX password:
Retype new UNIX password:
Password changed.
vma:~ #