From owner-freebsd-security Tue Dec 11 0: 0:42 2001 Delivered-To: freebsd-security@freebsd.org Received: from science.slc.edu (Science.SLC.Edu [198.83.6.248]) by hub.freebsd.org (Postfix) with ESMTP id DA9C537B419; Tue, 11 Dec 2001 00:00:13 -0800 (PST) Received: (from aschneid@localhost) by science.slc.edu (8.11.0/8.11.0) id fBB7wHZ07499; Tue, 11 Dec 2001 02:58:17 -0500 (EST) (envelope-from aschneid) Date: Tue, 11 Dec 2001 02:58:17 -0500 From: Anthony Schneider To: Noah Davidson Cc: "FreeBSD Security List (E-mail)" , "FreeBSD Security List (E-mail 2)" Subject: Re: password changes Message-ID: <20011211025817.A7458@mail.slc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" 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 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 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable try "expect". cd /usr/ports/lang/expect && make install -Anthony. 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. >=20 > Thanks > Noah Davidson >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwVvJgACgkQ+rDjkNht5F3ooQCfZ8fT74yOnVpV0IyfKWhDS3RZ dHcAmgKy//o+RN5GIVOCTcYDzOCRCI/G =gOgE -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message