VMware Communities > VMTN > VMware Infrastructure™ > VI: ESX 3.5 > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2 Replies Last post: Oct 14, 2008 2:06 AM by Emmer
Reply

Adding a local COS user, can I add this user to the 'read-only' group automatically?

Oct 13, 2008 7:32 AM

Click to view Vliegenmepper's profile Master Vliegenmepper 1,511 posts since
May 10, 2006

Hi,

I'm wondering about this: Is it possible to add a user from CLI and add that same user from CLI to the "read-only" group which is visible when I connect with VI Client directly to the ESX Host?

Thanks,

Kenneth


Reply Re: Adding a local COS user, can I add this user to the 'read-only' group automatically? Oct 13, 2008 8:03 AM
Click to view Yattong's profile Master Yattong 599 posts since
May 25, 2007
Hey,

You should be able to just use the useradd command with the -G syntax.


If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
~y
Reply Re: Adding a local COS user, can I add this user to the 'read-only' group automatically? Oct 14, 2008 2:06 AM
Click to view Emmer's profile Lurker Emmer 2 posts since
Nov 16, 2005
vmware-vim-cmd vimsvc/auth/entity_permission_add vim.Folder:ha-folder-root <sc user> false ReadOnly true

the groups in the sc have nothing to do with the roles visible in the via the vi client, so adduser -G does not solve this sadly.

Actions