Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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... ;-))

share|improve this question

Try creating an alias:

alias sudo='LANG=C sudo LANG='
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.