Problems with /usr/libexec/save-entropy

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Oct 21 06:37:08 PDT 2003


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:
> 
> *User: not found
> 
> I've tried everything, and looking into everything. I've checked my master.passwd and group (compared 'em to /usr/src/etc).
> 
> I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared to another 5.1 (Release) box, and everhthing is the same. Could someone point me in the right direction?
> 
> I'm running: 5.1 Current. 
> 
> I even did another update, build world, kernel and merge this morning, all to no avail!
> 
> The line in my crontab is:
> 
> */11 * * * * operator /usr/libexec/save-entropy
> 
> And when I try to run it from the command line I get:
> 
> /etc# /usr/libexec/save-entropy 
> *User: not found
> 
> 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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031021/00d4b858/attachment.bin


More information about the freebsd-questions mailing list