From owner-freebsd-questions Tue Aug 6 8:25:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF01337B400 for ; Tue, 6 Aug 2002 08:25:35 -0700 (PDT) Received: from buckley.rt.net.tr (buckley.rt.net.tr [212.65.128.19]) by mx1.FreeBSD.org (Postfix) with SMTP id 5796543E72 for ; Tue, 6 Aug 2002 08:25:34 -0700 (PDT) (envelope-from ismail@o2.net.tr) Received: (qmail 16103 invoked by uid 1010); 6 Aug 2002 15:25:31 -0000 Received: from unknown (HELO o2.net.tr) (ismail@o2.net.tr@212.65.128.101) by buckley.rt.net.tr with SMTP; 6 Aug 2002 15:25:31 -0000 Message-ID: <3D5076D5.2000805@o2.net.tr> Date: Tue, 06 Aug 2002 18:24:37 -0700 From: Ismail YENIGUL User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: tr, en-us, en MIME-Version: 1.0 To: fred@timogen.com Cc: freebsd-questions@freebsd.org Subject: Re: Write script to let the user change their password References: <017701c23d9c$f3eaf790$7d05a8c0@fred> <20020806083613.GK45553@wantadilla.lemis.com> <02bd01c23da9$e2f96e00$7d05a8c0@fred> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi you can use "expect", you can install it from ports (/usr/ports/lang/expect/) regards fred@timogen.com wrote: > Hi Greg, > > Sorry, I can't speak clearly my question. > The real problem I encounter is I want to write a script by php or pearl > to do the system call "password" to change the password for a user. > > The script can be run buy web server, then the system administration can > easy management the system account. > > Thanks. > > Regards, > Fred Zhang > > > ----- Original Message ----- > From: "Greg 'groggy' Lehey" > To: > Cc: > Sent: Tuesday, August 06, 2002 1:36 AM > Subject: Re: Write script to let the user change their password > > > >>On Tuesday, 6 August 2002 at 15:59:36 -0700, fred@timogen.com wrote: >> >>>hi, >>> Does someone knows the script about change password of the >>>system account on freebsd/linux? >> >>It's not a script, it's a program called passwd (note the spelling). >>There's a man page. >> >>Greg >>-- >>When replying to this message, please copy the original recipients. >>If you don't, I may ignore the reply. >>For more information, see http://www.lemis.com/questions.html >>See complete headers for address and phone numbers >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-questions" in the body of the message >> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > This e-mail was scanned by RAV AntiVirus! > > O2Net - Yeni Nesil İletişim Çözümleri http://www.o2.net.tr > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message