VMware Cloud Community
henrydenhengst
Contributor
Contributor
Jump to solution

add a user on SC: adduser

/usr/sbin/useradd AdminGlobal -p password

does not work on VMware, so I found a post to do it this way...

user: /sbin/grub-md5-crypt

got the password returned, and copy pasted into the suggested commandline..

/usr/sbin/useradd -p '$1$JYg0L$BJkXKAnvSP1yGGcn9lXMg/' -c "Admin Global" AdminGlobal

Result: Can NOT get into the system on this account.

PLZ help!

Reply
0 Kudos
1 Solution

Accepted Solutions
ewannema
Enthusiast
Enthusiast
Jump to solution

Also you can do userdel to remove the account to try again from scratch.

http://wannemacher.us

View solution in original post

Reply
0 Kudos
6 Replies
AWo
Immortal
Immortal
Jump to solution

This thread http://communities.vmware.com/thread/83914?tstart=0 explains, that usere added via cli are disabled by default.

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
henrydenhengst
Contributor
Contributor
Jump to solution

It gives solutions to work around that but they fail.

Also changing passwords on the SC fails!

Why is this? And how to solve it, anyone?

Reply
0 Kudos
ewannema
Enthusiast
Enthusiast
Jump to solution

Mine is not a default install (added AD auth), but I can verify that this does work. I used username:test password:test.

# /sbin/grub-md5-crypt

Password:

Retype password:

$1$KZ31L$iEdF3eRZuj6UQ/HVknmdX1

# useradd test -p '$1$KZ31L$iEdF3eRZuj6UQ/HVknmdX1'

You can always set the password of an account as root by using the #passwd <username> command.

http://wannemacher.us
Reply
0 Kudos
ewannema
Enthusiast
Enthusiast
Jump to solution

Also you can do userdel to remove the account to try again from scratch.

http://wannemacher.us
Reply
0 Kudos
AWo
Immortal
Immortal
Jump to solution

Don't get me wrong....

...but you're aware that this is case sensitive?

I'll assume that you're doing this as root. Have you checked "/var/log/messages" about an error messaged regarding this failed logon?

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

A few things, case and quoting is very important. Also note that while it will allow a login to the Service Console it will not allow a login via the VIC unless you also modify the /etc/vmware/hostd/authorization.xml file.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos