Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2024 14:12:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282271] praudit -n still resolves uids/gids
Message-ID:  <bug-282271-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282271

            Bug ID: 282271
           Summary: praudit -n still resolves uids/gids
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: knan-bfo@modirum.com

man praudit(1) says=20

     -n      Do not convert user and group IDs to their names but leave in
             their numeric forms.

yet this doesn't seem to work. uids are still resolved to names. This is
unhelpful when audit files are shipped to other machines.

example:=20

cat <audit file> | praudit -n

header_ex,131,11,execve(2),0,10.4.15.10,Tue Oct 22 06:00:14 2024, + 43 msec
exec arg,wc,-l
path,/usr/bin/wc
attribute,555,root,wheel,3566801450,67953,0
subject,-1,root,wheel,root,wheel,48335,0,0,0.0.0.0
return,success,0
trailer,131


# freebsd-version -ukr
14.1-RELEASE
14.1-RELEASE
14.1-RELEASE-p2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282271-227>