aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorthompsa <andy@fud.org.nz>2010-04-08 15:42:49 +1200
committerthompsa <andy@fud.org.nz>2010-04-08 15:42:49 +1200
commit7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29 (patch)
tree263d36e76057c630d48f5f41d1f060c4d342c5c9 /config
parent01bfd5a0ef9a057149f933b6fcbea377cfc32687 (diff)
downloadpfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.tar.gz
pfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.tar.bz2
pfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.zip
Use fixed uid/gid to keep the numbers < 2000, above this is reserved in
pfSense 2.0+. 558 was taken from the avahi entry in /usr/ports/UIDs and /usr/ports/GIDs.
Diffstat (limited to 'config')
-rw-r--r--config/avahi/avahi.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc
index a06485c5..d8ab263b 100644
--- a/config/avahi/avahi.inc
+++ b/config/avahi/avahi.inc
@@ -56,8 +56,8 @@ function avahi_install() {
}
// Add needed users and groups
- exec("/usr/sbin/pw useradd avahi");
- exec("/usr/sbin/pw groupadd avahi");
+ exec("/usr/sbin/pw useradd avahi -u 558");
+ exec("/usr/sbin/pw groupadd avahi -g 558");
// Make image RO
conf_mount_ro();