You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-...@googlegroups.com
Hi,
I'm trying to configure user switching for the Phusion Passenger Apache module and being a Rails newbie I'd like to check the configuration with some more experienced Passenger users.
Here're the relevant pieces of configuration:
# configured in "server config" context User apache # configured in "server config" context PassengerUser app1 PassengerDefaultUser app1
config/environment.rb is owned by "app1" account.
This configuration results in the following processes being spawned:
The application appears to be working properly. Application root in /opt/myapproot is owned by "app1" account and the log and temp files (session, cache etc.) are created with the proper account (app1).
I'm just wondering about some of the Passenger processes running as root and nobody.
Apache httpd is v2.2.15 and it's been installed from a package using RHEL 6 package management. Passenger v3.0.11 has been compiled from source.
marko
Hongli Lai
unread,
Apr 12, 2012, 7:44:14 AM4/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-...@googlegroups.com
Yes, this is working exactly as it should. Some Passenger processes are running as root so that they can create processes that run as app1. If your intention is to run *everything* as app1 then you must turn user switching off.