SUMMARY:what is causing these error msgs?

From: J. Davis (jd@lri.stjosephs.london.on.ca)
Date: Tue Feb 28 1995 - 13:57:49 CST


My original posting:

>Recently, I have been seeing messages like:
>
>Feb 23 10:34:16 daisy sendmail[19184]: getpwnam: invalid name field: "
>Feb 23 10:34:16 daisy sendmail[19184]: getpwent: invalid name field: "
>
>syslog, ftpd and login are also sending similar messages:
>Feb 13 04:01:00 daisy syslog: getpwuid: invalid name field: "
>
>I've checked my passwd and group files and they *seem* correct.
>Any ideas as to how to put an end to these messages?
 
Thanks to the following people:

Tony Heskett <heskett_tony@jpmorgan.com>
mack23@zeta.eecs.nwu.edu (Chris Walsh)
japeters@dal.mobil.com (J.A. Peters)

...for their suggestions, which were, respectively:

1- check your uid field very carefully
2- check for blank lines in passwd file
3- don't forget about pwck and grpck

I *had* temporarily forgotten about pwck/grpck and actually written both a
perl script and a c prg to check the files. Unfortunately, both failed to
point out the *blank line* at the end of the file. :'}

Thanks again.

--

Regards, J.

*-------------------------------------------------------------------------* | J. Davis | email: jd@lri.stjosephs.london.on.ca | | SysMgr, research programmer | voice: (519) 646 6100 x4166 (rm H508) | | Lawson Research Institute | fax: (519) 646 6135 | | London, Ontario | | *-------------------------------------------------------------------------*



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT