ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Запуск демоном...
@ 2004-10-08  7:00 Alexandr Rakhmanin
  2004-10-08  8:06 ` Artem K. Jouravsky
  2004-10-08  8:45 ` Andrew Fefilov
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandr Rakhmanin @ 2004-10-08  7:00 UTC (permalink / raw)
  To: community

Привет.

Подскажите пожалуста:

Как можно запускать программу из под рута, но чтобы она запустилась с 
правами непривилигированного пользователя ?
Далаю так:
[root@www bin]# su -c '/usr/local/bin/server_farm' servfarm
su: exec failed

Надо чтобы он работал демоном, те чтото типа su -c 
'/usr/local/bin/server_farm' servfarm &

Как сменить владельца у процесса при запуске в реализации для С++.

Или может УРЛ на доки по этому вопросу.
-- 

Всего наилучшего.
СисАдмин ЗАО "Региональный сервисный центр".



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

end of thread, other threads:[~2004-10-08  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08  7:00 [Comm] Запуск демоном Alexandr Rakhmanin
2004-10-08  8:06 ` Artem K. Jouravsky
2004-10-08  8:45 ` Andrew Fefilov

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