Feature #1141

Allow uids/guids in spawn-fcgi's -u/-g options

Added by hoffie almost 7 years ago. Updated about 5 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:jan% Done:

100%

Category:-
Target version:1.6.0

Description

It would be nice if spawn-fcgi supported uids/gids for the -u/-g parameters, especially if you do not want to have any real system users for all your web hosting (proftpd supports virtual users, and on the webserver-side: execwrap/suexec support it as well).

spawn-fcgi with this patch will error out if only a uid is given as darix suggested. I'm still not sure whether this is correct as it differs from the behaviour with usernames.
So, either only passing a uid (and no gid/groupname) should be allowed as well (which would probably lead to gid=0(root) which is badtm) or making the check independent of gid, i.e. always require a group if a user is given. I'd be in favor of the latter approach, but it's not my decision.

spawn-fcgi-allow-uids.patch Magnifier - new patch, old one got broken by [2010] (2.94 KB) hoffie, 2007-11-29 21:21

Associated revisions

Revision 13
Added by stbuehler about 5 years ago

Allow numerical user and group ids for -u/-g (fixes #1141)

History

#1 Updated by stbuehler about 5 years ago

  • Project changed from Lighttpd to spawn-fcgi
  • Category deleted (core)
  • Target version deleted (1.5.0)

#2 Updated by stbuehler about 5 years ago

  • Target version set to 1.6.0

#3 Updated by stbuehler about 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r13.

Also available in: Atom