From owner-freebsd-security Tue Dec 11 0: 3:57 2001 Delivered-To: freebsd-security@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 1CF2437B419 for ; Tue, 11 Dec 2001 00:03:55 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1098) id 9FCCF81D01; Tue, 11 Dec 2001 02:03:49 -0600 (CST) Date: Tue, 11 Dec 2001 02:03:49 -0600 From: Bill Fumerola To: Noah Davidson Cc: "FreeBSD Security List (E-mail 2)" Subject: Re: password changes Message-ID: <20011211020349.T32521@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Noah@oopz.com on Mon, Dec 10, 2001 at 11:41:02PM -0800 X-Operating-System: FreeBSD 4.4-FEARSOME-20011125 i386 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Dec 10, 2001 at 11:41:02PM -0800, Noah Davidson wrote: > How can I change the password of a user and not be prompted to verify > it. We are changing our mail server to sendmail. I have all of the > passwords in plain text. I want to write a script that changes all 5000 > or so passwords. How can I do this? I would like to call passwd or > some command from a perl script to do this. Any Ideas would be very > helpful. man 8 pw, specifically ''-h''. -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org / billf@mu.org - my anger management counselor can beat up your self-affirmation therapist ps. freebsd-${mailinglist}@freebsd.org and ${mailinglist}@freebsd.org are always the same for all of our mainstream majordomo mailing lists... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message