Again a rather short entry. Quite often one question is which privileged tasks the admins did on the system. Since 11.4 there is a simple command to find out. The information of this command is yet another usecase of the auditing subsystem.

root@batou:~# admhist -d "today"
2019-03-02 06:59:08 jmoekamp /usr/sbin/zfs zfs create rpool/export/test1

The -v option yields some additional information like the hostname and the working directory.

root@batou:~# admhist -d "today" -v
2019-03-02 06:59:08 jmoekamp@batou cwd=/root /usr/sbin/zfs zfs create rpool/export/test1

Do you want to learn more? - man page of admhist (8)

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.