ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Некоторые несуразности в /[около]стартовых/ скриптах
@ 2003-04-13 12:44 Alexey Morozov
  2003-04-13 14:40 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Morozov @ 2003-04-13 12:44 UTC (permalink / raw)
  To: Sisyphus mailing list

1. Встретил в /etc/profile строчки

# Users generally won't see annoyng core files, do they?
ulimit -Sc 0 >/dev/null 2>&1

Не лучше ли убрать эту заботу о юзерах в /etc/security/limits.conf?
Впрочем, там тоже выставляются соответствующие лимиты по умолчанию.

2. В /usr/bin/gdm вижу следующее:
----------------------
#!/bin/sh
# A script so that
#    1) we read the standard system env vars
#    2) syadmins/integrators can add their own private options etc...

test -f /etc/profile && . /etc/profile

exec /usr/bin/gdm-binary "$@"
...
----------------------
Это, в свою очередь, вызывает установку _рутового_ окружения для gdm (в
частности, /root/.i18n), что в свою очередь приводит к тому, что все
сообщения gdm даются на языке POSIX :-). Никаких тебе "Добро пожаловать на..."
и всё такое прочее. Грустно.

Предлагается так изменить этот скрипт:
-------------------
#!/bin/sh
# A script so that
#    1) we read the standard system env vars
#    2) syadmins/integrators can add their own private options etc...

HOME=/var/lib/gdb

export HOME

test -f /etc/profile && . /etc/profile
...
-------------------

В качестве HOME для gdm можно выбрать также /etc/X11/gdm, благо, там только
настройки его и хранятся.



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

end of thread, other threads:[~2003-04-17 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-13 12:44 [sisyphus] Некоторые несуразности в /[около]стартовых/ скриптах Alexey Morozov
2003-04-13 14:40 ` Dmitry V. Levin
2003-04-17 13:31   ` Alexey Morozov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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