Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-132639 / 25.04 / Add empty /etc/default/locale file to be read by /etc/pam.d/sshd #15085

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Dec 3, 2024

We should not have any default locale as https://wiki.debian.org/Locale suggests ("If you have users who access the system through ssh, it is recommended that you choose None as your default locale").

Messages like this appear without this file

root@truenas[~]# tail -1 /var/log/error
Nov 20 21:17:01 truenas CRON[399613]: pam_env(cron:session): Unable to open env file: /etc/default/locale: No such file or directory

We should not have any default locale as https://wiki.debian.org/Locale suggests
("If you have users who access the system through ssh, it is recommended that you
  choose None as your default locale")
@bugclerk
Copy link
Contributor

bugclerk commented Dec 3, 2024

@bugclerk bugclerk changed the title Add empty /etc/default/locale file to be read by /etc/pam.d/sshd NAS-132639 / 25.04 / Add empty /etc/default/locale file to be read by /etc/pam.d/sshd Dec 3, 2024
@yocalebo yocalebo merged commit e78fb4f into master Dec 3, 2024
2 of 3 checks passed
@yocalebo yocalebo deleted the NAS-132639 branch December 3, 2024 13:08
@bugclerk
Copy link
Contributor

bugclerk commented Dec 3, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants