sudo logs date with user's locale, apparently. How do I make it use "C" locale?
Posted
by jae
on Server Fault
See other posts from Server Fault
or by jae
Published on 2010-03-05T11:15:38Z
Indexed on
2010/04/05
14:03 UTC
Read the original article
Hit count: 311
I have sudo set to log to /var/log/sudo.log. I've noticed that when the locale was set to "de_DE.UTF-8", it logged a localized date ("Mär" for "März") instead of "C" locale ("Mar" for "March").
How do I make it log the date independent of the user's locale? Where the ** is that documented, anyway?
Or am I halluzinating? (Could be, since I've got a major cold... ;-))
© Server Fault or respective owner