Ubuntu: PAM i Unable to open env file: /etc/default/locale

W logach zobaczyłem informacje:

May 22 21:09:56 ziutus sshd[15636]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory

Rozwiązanie jest proste:

root@ziutus:/etc/rsyslog.d# ls -l /etc/default/locale
ls: cannot access /etc/default/locale: No such file or directory

root@ziutus:/etc/rsyslog.d# update-locale

root@ziutus:/etc/rsyslog.d# ls -l /etc/default/locale
-rw-r--r-- 1 root root 35 May 22 21:19 /etc/default/locale

Dodaj komentarz