[sudo-users] how to change default sudo-io location; iolog_dir ; iolog_file

mirosm mirosm at protonmail.ch
Wed Dec 19 13:58:49 MST 2018


Hello,

I would like to change the default path for sudo-io logs from:
/var/log/sudo-io/XX/XX/XX
to something as close as:
/var/log/sudo-io/$hostname/$username/$epochtime

I did have some luck with option iolog_dir setting the %{user} and iolog_dir
eg. iolog_dir=/var/log/sudo-io/%{user}

But still is looking similar to default: /var/log/sudo-io/username/XX/XX/XX

Also what ver of sudo I need to work with iolog_dir ;iolog_file?

Thank you for any help.

BR
Miro


More information about the sudo-users mailing list