Re: Problems with /usr/libexec/save-entropy

2003-10-21 Thread Matthew Seaman
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


pgp0.pgp
Description: PGP signature


Re: Problems with /usr/libexec/save-entropy

2003-10-21 Thread Ruben de Groot
On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small typed:
> 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

Look for the string "*User" in /etc/rc.conf (and remove it).

-Ruben

> 
> 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.
> 
> Thanks!
> 
> Robert
> 
> Please CC me as I'm not currently subscribed to this list.  THANKS!
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"