DragonFly On-Line Manual Pages
HUNTER-SEEKER.PL(8) usermatic HUNTER-SEEKER.PL(8)
NAME
hunter-seeker.pl - A perl script that compares a list of usernames and
MD5 sums output by digestion.pl(1) to the passwd database.
SYNOPSIS
hunter-seeker.pl [ -h ] [ -i [input file] ] [ -o [output file] ]
[ -g [group1;...;groupn] ] [ -u [user1;...;usern] ]
[ -f [MD5 sum field in GECOS] ] [ -G [affected group] ]
DESCRIPTION
hunter-seeker.pl iterates through /etc/passwd comparing MD5 sums of
users in the group specified as argument to -G to a list of MD5 sums as
output by digestion.pl(8). It outputs a list of stale accounts suitable
for reaper.pl(8).
-i [input file]
Read input from input file or stdin if "-".
-o [output file]
Write output to output file or stdout if "-".
-G [group]
Iterate over all users whose primary group is group.
-g [group1;...;groupn]
Ignore users in these groups even if their primary group is the
group specified as argument to -G.
-u [user1;...;usern]
Ignore these users in even if their primary group is the group
specified as argument to -G.
-f [MD5 sum field in GECOS]
Specify the field in GECOS that contains the MD5 sum.
FILES
list_digested Default input filename
to_remove Default output filename
SEE ALSO
newusers.pl(8), digestion.pl(8), reaper.pl(8), userneu(8)
AUTHOR
Johannes Grassler <johannes.grassler@freenet.de>
perl v5.8.0 2004-02-08 HUNTER-SEEKER.PL(8)