Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] UID/GID for www-applications
Date: Thu, 29 Aug 2019 22:36:23
Message-Id: 584ab22a-5303-1e4c-562c-7d8bb8092ebc@gentoo.org
In Reply to: [gentoo-dev] UID/GID for www-applications by Azamat Hackimov
1 On 8/29/19 4:31 PM, Azamat Hackimov wrote:
2 > Hello.
3 >
4 > I need UID/GID for www-apps/redmine. Originally package creates own user
5 > and group named redmine, but I think it's better to create generic
6 > user/group for all web-applications, like www-data in Debian/Ubuntu or http
7 > in Arch.
8 > Is there any suggestions about this proposal?
9 >
10
11 Does redmine even work when run through apache? The ebuild goes to a lot
12 of trouble to make everything owned by "redmine," but then the apache
13 vhost runs as the default "apache" user.
14
15 Running multiple web applications as the same user is a bad idea in
16 general, but it's hard to say what the best solution is without knowing
17 how well things work currently. For example, if using apache doesn't
18 work, I'd say definitely leave things alone: it's better to run the
19 built-in rails server as a separate user from all of the other web apps
20 on the machine.