From owner-freebsd-isp Wed Jun 13 12:33: 7 2001 Delivered-To: freebsd-isp@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id A6A1A37B401 for ; Wed, 13 Jun 2001 12:32:57 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: (from root@localhost) by thehousleys.net (8.11.3/8.11.2) id f5DJWqf74561; Wed, 13 Jun 2001 15:32:52 -0400 (EDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) (authenticated) by thehousleys.net (8.11.3/8.11.3) with ESMTP id f5DJWor74553; Wed, 13 Jun 2001 15:32:50 -0400 (EDT) (envelope-from jim@thehousleys.net) Message-ID: <3B27BFE2.8AA80EC4@thehousleys.net> Date: Wed, 13 Jun 2001 15:32:50 -0400 From: James Housley X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex Huppenthal Cc: freebsd-isp@freebsd.org Subject: Re: Password encryption References: <01d301c0f43f$07a6e8f0$1900a8c0@d7k> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alex Huppenthal wrote: > > I have a puzzle. > > I want to use PHP or some other library to encrypt a password and then use > chpass to change the password passing the encrypted password on the command > line. > You will have better luck with pw and chpass. I have used sudo and pw from php in the past. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- PC hardware is the ductape of the computer inustry... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message