I have about 20k users on the system (DU 4.0D patched)
I want to remove 4000 of them, so I use userdel to 'Retire' them, then grep
/etc/passwd file to *really* remove them (ie, remove lines with 'Retired' in
password field).
Then I use 'edauth -r username' to remove each user's extended profile. This
results in a corrupt auth.db file insofar as some (but not all) users that
haven't been removed can't be extracted with 'edauth -g username'
On the other hand, if I run 'convuser -d' to rebuild auth.db instead of using
'edauth -r' to remove each one, the database is fine.
Has anyone else hit this problem. It leads me to think there is a problem with
edauth.
And I think there's another problem with edauth:
I assumed from the man page that 'edauth -g' would list all the users in
auth.db, but it doesn't; only those with entries in /etc/passwd are listed. Is
there a utility to list ALL auth.db entries?
--
Mike McGovern Information Systems Services +353 1 608 1932
============= http://www.tcd.ie/People/Michael.McGovern
Received on Fri Jul 24 1998 - 16:33:07 NZST