How to add a new user to vCenter Server Virtual Appliance

If you use vSphere 5 vCenter Server Virtual Appliance and you don’t have, or chose not to use Active Directory for user access then there is another way to add users to the appliance.

To add a new user you need to follow these steps:

1) login to the appliance using SSH.  (Putty is my client of choice but any terminal emulator should do).  Substitute your own name of course, but type:

useradd -m simon
passwd simon

2) login to vCenter as Root or other administrative user.

click on the top vCenter object, select the Permissions tab

Right click in the window and choose Add Permission

click on Add

find and select you name from the list and click Add followed by OK

Now choose your Assigned Role from the drop down list and click OK when you are done.

 

 

Posted on October 31, 2013 at 23:30 by simon · Permalink
In: Vmware · Tagged with: , , ,

7 Responses

Subscribe to comments via RSS

  1. Written by Johnb200
    on 5 September 2014 at 6:25
    Reply · Permalink

    My brother recommended I may like this website. He used to be totally right. This post truly made my day. You can not consider simply how so much time I had spent for this info! Thanks!

  2. Written by Ken McDaniel
    on 19 September 2014 at 13:39
    Reply · Permalink

    Just an fyi …

    In order to add a user the command is actually

    useradd -m

  3. Written by RJ
    on 20 September 2014 at 23:21
    Reply · Permalink

    oh man i’ve been trying to figure this out all night. thanks

  4. Written by Michael
    on 24 September 2014 at 9:08
    Reply · Permalink

    Thank you for this – just one point, I had to use “useradd” instead of “adduser”.

  5. Written by simon
    on 22 November 2014 at 0:20
    Reply · Permalink

    thanks to Ken and Michael for mentioning that they needed to use useradd and not adduser.
    Adduser worked for me, and under Linux either is usually fine. However as it doesn’t work for everyone I’ve updated the commands above.

    Simon.

  6. Written by Damon
    on 19 January 2015 at 19:59
    Reply · Permalink

    Many thanks to you guys for publishing and updating this.

    This is not easy to find in the VCenter guide.

  7. Written by Greg
    on 19 March 2015 at 10:00
    Reply · Permalink

    Thanks, thanks, thanks !

Subscribe to comments via RSS

Leave a Reply