hunter-seeker.pl - A perl script that compares a list of usernames and MD5 sums
output by digestion.pl(1) to the passwd database.
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] ]
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.
list_digested Default input filename
to_remove Default output filename
newusers.pl(8), digestion.pl(8), reaper.pl(8),
userneu(8)
Johannes Grassler <johannes.grassler@freenet.de>