From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 06:37:08 2003 Return-Path: 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 47C7A16A4B3 for ; Tue, 21 Oct 2003 06:37:08 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56A443FBD for ; Tue, 21 Oct 2003 06:37:06 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h9LDaVDK095736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Oct 2003 14:37:01 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h9LDaVXE095735; Tue, 21 Oct 2003 14:36:31 +0100 (BST) (envelope-from matthew) Date: Tue, 21 Oct 2003 14:36:31 +0100 From: Matthew Seaman To: Robert Small Message-ID: <20031021133631.GB94995@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Robert Small , freebsd-questions@freebsd.org References: <200310210810.AA525402142@mail.luftx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline In-Reply-To: <200310210810.AA525402142@mail.luftx.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Problems with /usr/libexec/save-entropy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 13:37:08 -0000 --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small wrote: > Ok, I'm an idiot! I MUST have done something to my system yesterday. It's= been running fine, and around 3:00pm yesterday, I started receiving emails= from Cron "/usr/local/save-entropy" saying: >=20 > *User: not found >=20 > I've tried everything, and looking into everything. I've checked my maste= r.passwd and group (compared 'em to /usr/src/etc). >=20 > I've checked crontab (/etc/crontab), and root's crontab (empty). I've als= o compared to another 5.1 (Release) box, and everhthing is the same. Could = someone point me in the right direction? >=20 > I'm running: 5.1 Current.=20 >=20 > I even did another update, build world, kernel and merge this morning, al= l to no avail! >=20 > The line in my crontab is: >=20 > */11 * * * * operator /usr/libexec/save-entropy >=20 > And when I try to run it from the command line I get: >=20 > /etc# /usr/libexec/save-entropy=20 > *User: not found >=20 > Any/all help would be appreciated. Check /etc/rc.conf for errors -- mismatched quote marks, that sort of thing. Run /usr/libexec/save-entropy in trace mode (it is a shell script), which should give you some idea of where and why it is blowing up: # sh -x /usr/libexec/save-entropy I think you've probably covered this one already, but make sure you have an 'operator' userid in /etc/master.passwd and an 'operator' group similarly in /etc/group. Run pwd_mkdb(8) to ensure that the db-format caches of the password database and /etc/passwd are consistent with the master files: # pwd_mkdb -p Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD4DBQE/lTZfdtESqEQa7a0RAvXyAJ4niT+MxLl3OUuq8X87v9xN26ltpACYka+n WCpax9Agk/hd9C0zbIyDqQ== =WCTd -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3--