Project

General

Profile

Actions

Feature #1141

closed

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

Added by hoffie about 17 years ago. Updated about 15 years ago.

Status:
Fixed
Priority:
Normal
Target version:

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.


Files

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

Updated by stbuehler about 15 years ago

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

Updated by stbuehler about 15 years ago

  • Target version set to 1.6.0
Actions #3

Updated by stbuehler about 15 years ago

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

Applied in changeset r13.

Actions

Also available in: Atom