/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!
Also you can do userdel to remove the account to try again from scratch.
This thread http://communities.vmware.com/thread/83914?tstart=0 explains, that usere added via cli are disabled by default.
AWo
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?
Mine is not a default install (added AD auth), but I can verify that this does work. I used username:test password:test.
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.
Also you can do userdel to remove the account to try again from scratch.
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
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