VMware Cloud Community
trisoneeko
Contributor
Contributor
Jump to solution

creating local user on ESX - cannot use wildcard characters in the pwd?

Hello,

I am creating a user account on an esx host using the vi client. This is not a problem until I try to assign it a password containing any wildcard characters.

The error is "a specified paramter is not correct"

Is this normal?

it works fine when i remove the wildcard chars from the password

Message was edited by:

trisoneeko

Reply
0 Kudos
1 Solution

Accepted Solutions
dominic7
Virtuoso
Virtuoso
Jump to solution

If it doesn't work it's a limitation of the VI client, and not the host itself. If you SSH to the host you can create users with the asterix '*' in their passwords.

View solution in original post

Reply
0 Kudos
6 Replies
dominic7
Virtuoso
Virtuoso
Jump to solution

If it doesn't work it's a limitation of the VI client, and not the host itself. If you SSH to the host you can create users with the asterix '*' in their passwords.

Reply
0 Kudos
trisoneeko
Contributor
Contributor
Jump to solution

awesome

can you tell me the procedure for creating a new user via command line?

Reply
0 Kudos
dominic7
Virtuoso
Virtuoso
Jump to solution

There are quite a few options available when creating a user, at it's most basic for you can just type "useradd trisoneeko", then set a password with "passwd trisoneeko"

usage: useradd [-u uid \[-o]] \[-g group] \[-G group,...]

\[-d home] \[-s shell] \[-c comment] [-m \[-k template]]

\[-f inactive] \[-e expire ] \[-p passwd] \[-M] \[-n] \[-r] name

useradd -D \[-g group] \[-b base] \[-s shell]

\[-f inactive] \[-e expire ]

boydd
Champion
Champion
Jump to solution

Also - make sure to create a /home/* for the new users if they will ssh in to the host(s).

DB

DB
trisoneeko
Contributor
Contributor
Jump to solution

That's all I need to know.

Thanks a lot for the help. Very much appreciated.

-trisoneeko-

Reply
0 Kudos
Rumple
Virtuoso
Virtuoso
Jump to solution

I create the user in the GUI using the password 123 and then afterwards putty inot the serverwith that user and type passwd and reset the password to what I really want it to be.

Reply
0 Kudos