tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* edauth -r corrupts auth.db
@ 1998-07-24 16:32 Mike McGovern
  0 siblings, 0 replies; only message in thread
From: Mike McGovern @ 1998-07-24 16:32 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-24 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-24 16:32 edauth -r corrupts auth.db Mike McGovern

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