From owner-freebsd-questions Tue Aug 6 2:31:17 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 7E9D437B401; Tue, 6 Aug 2002 02:31:15 -0700 (PDT) Received: from goliath.xo.com (goliath.xo.com [207.155.252.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12CA543E3B; Tue, 6 Aug 2002 02:31:15 -0700 (PDT) (envelope-from fred@timogen.com) Received: from fred ([61.170.155.242]) by goliath.xo.com id FAA26005; Tue, 6 Aug 2002 05:31:14 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] From: fred@timogen.com Message-ID: <02bd01c23da9$e2f96e00$7d05a8c0@fred> To: "Greg 'groggy' Lehey" Cc: References: <017701c23d9c$f3eaf790$7d05a8c0@fred> <20020806083613.GK45553@wantadilla.lemis.com> Subject: Re: Write script to let the user change their password Date: Tue, 6 Aug 2002 17:32:12 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 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