From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811919.tru64-unix-managers.marc@archive.invalid> From: Mike McGovern Date: Fri, 24 Jul 1998 16:32:53 +0000 To: tru64-unix-managers Subject: edauth -r corrupts auth.db X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811919 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