ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] p6: root locale after su
@ 2012-09-10  5:25 Andrew Borodin
  2012-09-10  5:42 ` Ilja Raskin
  2012-09-11  8:51 ` Dmitry V. Levin
  0 siblings, 2 replies; 15+ messages in thread
From: Andrew Borodin @ 2012-09-10  5:25 UTC (permalink / raw)
  To: community

Здравствуйте!

Исходные данные: /etc/sysconfig/i18n пуст, у пользователя и рута
свои ~/.i18n с разными локалями: у юзера KOI8-R, у рута POSIX.

После перехода на p6 неожиданно обнаружил следующее:
1. Если залогиниться рутом, то локаль у рута POSIX.
2. Если залогиниться пользователем, а потом перейти в рута через
su -, то у рута локаль KOI8-R, т. е.  пользовательская.

Как так?

-- 

С уважением
А. Бородин.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-09-11 10:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-10  5:25 [Comm] p6: root locale after su Andrew Borodin
2012-09-10  5:42 ` Ilja Raskin
2012-09-10  6:18   ` Andrew Borodin
2012-09-11  5:36     ` Andrew Borodin
2012-09-11  5:57       ` REAL
2012-09-11  6:17         ` Ilja Raskin
2012-09-11  6:22           ` REAL
2012-09-11  6:26           ` Andrew Borodin
2012-09-11  7:40             ` Андрей Черепанов
2012-09-11  8:00               ` Andrew Borodin
2012-09-11  8:22                 ` Sergey
2012-09-11  8:27                   ` REAL
2012-09-11  8:51 ` Dmitry V. Levin
2012-09-11  9:01   ` REAL
2012-09-11 10:06     ` Dmitry V. Levin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git