VMware

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:00 AM by Emmer  

Adding a local COS user, can I add this user to the 'read-only' group automatically? posted: Oct 13, 2008 7:32 AM

Click to view Vliegenmepper's profile Master 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


Click to view Yattong's profile Master 602 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
Click to view Emmer's profile Lurker 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.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities