ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitriy Shadrinov <shadrinovdd@ystu.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Apache: процессы из-под пользователя apache2, но один - root
Date: Thu, 26 Jun 2008 01:29:06 +0400
Message-ID: <200806260129.06114.shadrinovdd@ystu.ru> (raw)
In-Reply-To: <200806260225.00994.alexey.borovskoy@gmail.com>

25 June 2008, Alexey Borovskoy написал(а):
> * Четверг 26 июня 2008 Olvin
>
> > Max Ivanov wrote:
> > >> Почему 6762 под root'ом остаётся, когда все остальные
> > >> процессы под apache2? [paranoia on]
> > >> Как сделать так, чтобы всё запускалось под apache2?
> > >> [paranoia off]
> > >
> > > Апач работает на 80 порту, никто кроме рута не имеет права
> > > открывать порты ниже 1024, так что один процесс рутовый
> > > будет в любом случае.
> >
> > Это я знаю. Только вот тот же bind спокойно работает на 53-м
> > порту не из-под root. Ведь можно же прицепиться к порту и
> > сбросить привилегии...
>
> И как потом рулить дочерними процессами?

Кстати, у bind в этом плане есть серьезные проблемы. Если интерфейс 
динамический, например ppp, то после опускания/поднятия интерфейса он 
становится нефункционален.


  reply	other threads:[~2008-06-25 21:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 11:15 Olvin
2008-06-23 11:35 ` Alexey I. Froloff
2008-06-23 12:23 ` Max Ivanov
2008-06-23 22:57   ` [Sysadmins] [OT] " Ivan Fedorov
2008-06-25 12:14   ` [Sysadmins] " Olvin
2008-06-25 13:25     ` Alexey Borovskoy
2008-06-25 21:29       ` Dmitriy Shadrinov [this message]
2008-06-27 16:35         ` Olvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806260129.06114.shadrinovdd@ystu.ru \
    --to=shadrinovdd@ystu.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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