Mailinglist Archive: opensuse-bugs (14787 mails)
| < Previous | Next > |
[Bug 222728] kdesu resets locale
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 29 Nov 2006 06:19:56 -0700 (MST)
- Message-id: <20061129131956.E8392F49@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=222728
------- Comment #19 from andreas.hanke@xxxxxxxxxxxxxx 2006-11-29 06:19 MST -------
Removing 'Defaults env_reset' is very insecure.
Adding 'Defaults env_keep = "LANG"' should work on systems where LANG is the
only actually used locale variable.
If you're using more locale-related environment variables, try if adding all of
them helps:
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC
\
LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS"
This should now really work, even without removing 'Defaults env_reset'. It's
(a subset of) what Red Hat does.
(Note that I do _not_ the security impact of this.)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Comment #19 from andreas.hanke@xxxxxxxxxxxxxx 2006-11-29 06:19 MST -------
Removing 'Defaults env_reset' is very insecure.
Adding 'Defaults env_keep = "LANG"' should work on systems where LANG is the
only actually used locale variable.
If you're using more locale-related environment variables, try if adding all of
them helps:
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC
\
LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS"
This should now really work, even without removing 'Defaults env_reset'. It's
(a subset of) what Red Hat does.
(Note that I do _not_ the security impact of this.)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |