* Suggestions for removing /etc/passwd entries
@ 2000-07-27 19:49 Paul N. Youngblood
0 siblings, 0 replies; only message in thread
From: Paul N. Youngblood @ 2000-07-27 19:49 UTC (permalink / raw)
To: tru64-unix-managers
Hello System Admins,
I'm running Tru64 v4.0d and Enhanced (C2) Security.
It's time to clean up my user base (remove old, inactive
accounts). My /etc/passwd file has over 9000 entries.
I want to delete over 5000 specific users from that file
using some sort of automation. I don't want to RETIRE the
users, I actually want to remove them from /etc/passwd.
I know how to do the appropriate "edauth -r USERNAME" stuff,
etc, but I could really use some suggestions on a "safe" way
to operate on this password file.
What do you think about doing the following (Would this
work and be reasonably safe)? ...
Boot to single-user mode, and run a script which makes use
of something like sed to strip out the "bad" guys from
/etc/passwd. Will doing this without vipw cause problems?
I'm looking for a way other than using vipw and deleting
all 5000+ accounts manually. I'll certainly SUMMARIZE.
Thanks for you attention.
Paul Youngblood
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-27 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-27 19:49 Suggestions for removing /etc/passwd entries Paul N. Youngblood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox