From owner-freebsd-questions Sat Apr 28 10:27:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 0z0ne.com (www.0z0ne.com [194.143.192.23]) by hub.freebsd.org (Postfix) with SMTP id 92EF837B422 for ; Sat, 28 Apr 2001 10:27:52 -0700 (PDT) (envelope-from jesus@pasapues.com) Received: (qmail 7942 invoked by uid 1005); 28 Apr 2001 17:26:22 -0000 Received: from dynamic.159.212.es.encomix.com (HELO LAPTOP) (194.143.212.159) by www.0z0ne.com with SMTP; 28 Apr 2001 17:26:22 -0000 From: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= To: Subject: passwd Date: Sat, 28 Apr 2001 19:29:30 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I'm programming a PERL Script able to add a new user to the system. How can I set the password of the new user with PERL code? (I thinked to use `passwd` but I see it works interactively). I'm programming a PHP CGI Script able to add new users to the system. I'm trying to do it making a PERL setuid script able to be run by httpd user (nobody) which act as an interface. Any idea is welcomed. Thanks in advance. -- Jesús Arnáiz 0z0ne Inc I+D/IT Manager http://www.0z0ne.com mailto:jesus@0z0ne.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message