getespwent cycles round

From: Richard Rogers <R.M.Rogers_at_staffs.ac.uk>
Date: Wed, 16 Jun 1999 14:27:39 +0100

Hi all -

I've found a strange problem on one of our two mail servers. I have a
routine that does a check for who has not logged on for more than a
specified number of days, using getespwent() to recover each user's
C2 data sequentially. On one sever it works fine, but on the other it
seems to scan through the database (I'm not sure if it gets right to
the end), then jump back to an earlier point, cycling round and round
the same area.

The authck program seems to hang on this system also.

Any ideas what might have gone wrong, or any elegant solutions?

Thanks

Richard

-----------------------------------
Richard Rogers
Information Technology Services
Staffordshire University
Tel: 01785 (+44 1785) 353395
E-mail: R.M.Rogers_at_staffs.ac.uk
           ...Sit back, relax, and soon it will just go away...
Received on Wed Jun 16 1999 - 13:27:50 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT