From owner-freebsd-questions Thu Dec 16 13:27:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.fastserve.net (mail.fastserve.net [207.155.78.230]) by hub.freebsd.org (Postfix) with ESMTP id E89A01571F for ; Thu, 16 Dec 1999 13:27:10 -0800 (PST) (envelope-from brant@fastserve.net) Received: from fastserve.net (brant@[207.13.193.100]) by mail.fastserve.net (8.8.5/8.8.5) with ESMTP id NAA25381 for ; Thu, 16 Dec 1999 13:27:10 -0800 (PST) Message-ID: <38595914.6D4A2EE1@fastserve.net> Date: Thu, 16 Dec 1999 13:26:44 -0800 From: Brant Brookie X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9-19mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: using the pw command Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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