Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to set locale for non-interactive shells?

Featured Replies

I need this to say en_US.UTF-8:

 

$ ssh root@tower locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

 

I can do this by adding "AcceptEnv LANG LC_*" into /etc/ssh/sshd_config and then doing "/etc/rc.d/rc.sshd restart". But I'm wondering if there's a better way, or if I should make a feature request for the next version of unraid.

 

Copy /etc/ssh/sshd_config to the flash drive and edit the copy as desired. Add a line in the go fie that copies the edited version from the flash to "/etc/ssh/sshd_config".

 

cp /boot/custom/sshd_config /etc/ssh/sshd_config

 

Or, if "AcceptEnv LANG LC_*" just needs to be added a the end of the file you can put this line in the go file:

 

echo "AcceptEnv LANG LC_*" >> /etc/ssh/sshd_config

 

 

Make a feature request.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.