From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Заставить работать suexec
Date: Wed, 03 Oct 2012 15:06:14 +0400
Message-ID: <506C1C26.7090604@altlinux.ru> (raw)
In-Reply-To: <201210031324.39295.a_s_y@sama.ru>
Посмотрел на соседний тазик с debian-ом.
User/Group www-data(33)/33
При этом posix_getuid() возвращает правильный uid/gid
03.10.2012 13:24, Sergey пишет:
> On Monday 10 September 2012, Sergey wrote:
>
>> Это apache2-httpd-itk, соответственно, директива AssignUserId <user> <group>.
>> Только у меня, с наскока, тоже не вышло. На AssignUserId ругани нет, когда
>> именно этот httpd запущен, но phpinfo() упорно показывает, что виртуальный
>> хост живёт под юзером apache2: User/Group apache2(104)/110
>
> Забавно. При более внимательном рассмотрении оказалось, что процессы
> httpd2 таки запускаются от указанного пользователя, но phpinfo(),
> почему-то, показывает пользователя apache2. На php не распространяется,
> что ли ? Это как ?!
>
next prev parent reply other threads:[~2012-10-03 11:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 11:31 ` Michael Shigorin
2012-09-10 11:35 ` Boris Savelev
2012-09-10 11:58 ` Sergey
2012-10-03 9:24 ` Sergey
2012-10-03 11:06 ` Anton Gorlov [this message]
2012-10-03 11:36 ` Sergey
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=506C1C26.7090604@altlinux.ru \
--to=stalker@altlinux.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