nixpkgs/modules
Peter Simons 0ef085d58a Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user.
The option is disabled by default so that previously existing installations
aren't affected.

If you'd like to migrate to the fixed numeric id for Apache, set "fixUidAndGid
= true", edit the file "/etc/groups" and replace the old GID value with 54.
(NixOS can't do that for you because it refuses to change a GID that identifies
the primary group of a user.) Then run

  find / -xdev -uid $oldUID -exec chown 54 {} +
  find / -xdev -gid $oldGID -exec chgrp 54 {} +

to update ownership of all files that are supposed to be owned by Apache.
2012-08-03 16:39:55 +02:00
..
config Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
hardware Add module for b43 firmware 2012-07-13 23:54:41 -04:00
installer Treat init-script as a boot loader 2012-07-25 11:30:16 -04:00
misc Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user. 2012-08-03 16:39:55 +02:00
profiles Remove jfsrec from the minimal CD because it pulls in Boost 2012-07-25 11:39:41 -04:00
programs add setuid wrapper for newgrp 2012-07-26 16:52:38 +02:00
security add NIX_CONF_DIR to sudo env_keep variables (suggested by Eelco Dolstra) 2012-07-27 12:25:11 +02:00
services Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user. 2012-08-03 16:39:55 +02:00
system LUKS root: Fix key file check 2012-08-02 11:39:31 +02:00
tasks Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
testing Drop the socat wrapper 2012-06-22 15:37:22 -04:00
virtualisation amazon-image.nix: Don't put any old configurations in the GRUB menu 2012-07-25 16:38:05 -04:00
module-list.nix Initial version of a SpamAssassin service. 2012-08-03 15:11:28 +02:00
rename.nix * wpa_supplicant: automatically figure out the wireless interface(s) 2012-03-04 17:21:14 +00:00