ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вопрос про start_daemon
@ 2007-11-09  9:28 Gulay Boris
  2007-11-09 20:24 ` Michael Shigorin
  0 siblings, 1 reply; 7+ messages in thread
From: Gulay Boris @ 2007-11-09  9:28 UTC (permalink / raw)
  To: community

У меня есть демон, который не умеет запускаться под заданным пользователем.
Хочу решить эту проблему при помощи параметра --set-user для start_daemon в
инитскрипте.

Однако, есть подвох: у пользователя, под которым, по моей задумке, должен
запускаться демон, в качестве шела и хоума указан /dev/null.

При попытке запустить демона получаю ошибку "/dev/null not available;
exiting". В этом свете вопрос: зачем start_daemon указывает для su параметр
-l? Ведь нам, всего лишь, нужно выполнить одну команду, даже в мане, в
примере для ключа -c, -l не указан.

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

end of thread, other threads:[~2007-11-13  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09  9:28 [Comm] Вопрос про start_daemon Gulay Boris
2007-11-09 20:24 ` Michael Shigorin
2007-11-10 12:42   ` Dmitry V. Levin
2007-11-10 20:41     ` Gulay Boris
2007-11-12  8:34   ` Gulay Boris
2007-11-12 20:59     ` Dmitry V. Levin
2007-11-13  9:43       ` Gulay Boris

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