VMware Cloud Community
baggins2000
Contributor
Contributor
Jump to solution

Unable to add users to administrative role

I have been working on setting up ssh and have realized that before the user can login it needs to be added to the administrative role.

I have since tried this , but everytime I add and click okay and go back the user has not been added to the role.

What else could I be missing?

0 Kudos
1 Solution

Accepted Solutions
JDMils
Enthusiast
Enthusiast
Jump to solution

I tried KB1029178 as I wanted to add another root users, but ESX4i only allows ONE root user. But I did have success using that KB. I also tried another method which worked well:

SSH to the host in question and run this:

useradd <USERNAME> -M -d/

passwd <PASSWORD>

vi etc/passwd

Find the <USERNAME> and it should be changed to include this:

:/:/bin/ash

In a VI client GUI, connected directly to the host in question:

Permissions | Add Permission. Assign the user to the Administrator group.

| +-- JDMils | +-- ESXi 4.1.0, clustered hosts, HA, DRS & VMotion enabled. |

View solution in original post

0 Kudos
3 Replies
baggins2000
Contributor
Contributor
Jump to solution

okay I knew if I posted , the answer was going to slap me in the face and I found I was looking in the wrong place for permissions.

and they were propogating correctly.

Still unable to login via ssh though.

0 Kudos
aravinds3107
Virtuoso
Virtuoso
Jump to solution

Check this KB1029178

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
JDMils
Enthusiast
Enthusiast
Jump to solution

I tried KB1029178 as I wanted to add another root users, but ESX4i only allows ONE root user. But I did have success using that KB. I also tried another method which worked well:

SSH to the host in question and run this:

useradd <USERNAME> -M -d/

passwd <PASSWORD>

vi etc/passwd

Find the <USERNAME> and it should be changed to include this:

:/:/bin/ash

In a VI client GUI, connected directly to the host in question:

Permissions | Add Permission. Assign the user to the Administrator group.

| +-- JDMils | +-- ESXi 4.1.0, clustered hosts, HA, DRS & VMotion enabled. |
0 Kudos