Re: generate a password string to be used by the useradd command



On Jul 9, 10:24 pm, Ertugrul Soeylemez <do-not-spam...@xxxxxxxx>
wrote:
wong_po...@xxxxxxxx (07-07-09 09:11:43):

How to generate a password string to be used by the useradd command?

e.g. If I want my password to be "zxASqw12", then what should the
parameter of the "useradd test -p" command be?

Why don't you just use the `passwd' utility?

Regards,
Ertugrul Söylemez.

--
Security is the one concept, which makes things in your life stay as
they are. Otto is a man, who is afraid of changes in his life; so
naturally he does not employ security.

I want to execute useradd in a script.

.



Relevant Pages