9830 praudit should be able to map users and groups correctly

Review Request #1204 - Created Sept. 10, 2018 and updated

Peter Tribble

It's common to aggregate audit logs on a central system. Currently, running praudit then resolves uids and gids back to names on the system where praudit runs, which may be completely wrong.

This fix allows the user to copy the group and passwd files to the aggregated system and point praudit at those files. It does this by preloading the uid and gid caches introduced in 9106.

Run praudit with the -p and -g flags, verified that it resolves uids and gids correctly. Verified that without the flags being used, we get the same (wrong) results as before.


  • 0
  • 7
  • 1
  • 8
Description From Last Updated
Andy Fiddaman
Joshua Clulow
Peter Tribble
Peter Tribble
Peter Tribble
Peter Tribble
Review request changed

Change Summary:

2nd attempt at persuading RB to accpet the updated diff


Revision 3 (+135 -12)

Show changes

Andy Fiddaman
Ship It!