Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 13:26:44 -0800
From:      Brant Brookie <brant@fastserve.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   using the pw command
Message-ID:  <38595914.6D4A2EE1@fastserve.net>

next in thread | raw e-mail | index | archive | help
I am having difficulty adding a user from my webform vi a perl script.
Here is the command that I have been using, (3.2-RELEASE FreeBSD)

system("echo $password | pw useradd $username -d $home/$username -m -k
$skeletondir");

It adds the user just fine, but I can't seem to log in under the user.
Only when I change the password, can I telnet in without a password
error.

Any help is greatly appreciated. Thank you in advance.

Brant Brookie



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38595914.6D4A2EE1>