tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mike McGovern <mcgovern () tcd ! ie>
To: tru64-unix-managers
Subject: edauth -r corrupts auth.db
Date: Fri, 24 Jul 1998 16:32:53 +0000	[thread overview]
Message-ID: <96078715811919.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-07-24 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox