09-03-04 10:52 PM
On 2004-09-02, Flip wrote:
> Hello. I just created a user using the useradd command and using the man
> pages, it says I can put a -p password on it all in one command. But the
> account is unuseable. :< I have to use the passwd in order to activate the
> account, but I'm putting in the same password as I did before. I tried th
e
> usermod -U command but that didn't work either. What is the point of the
> useradd command with the -p parameter if it's not used/ignored altogether?
Did you enter an _encrypted_ password?
man useradd:
-p passwd
The encrypted password, as returned by crypt(3). The default is
to disable the account.
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
========================================
===========================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
[ Post a follow-up to this message ]
|