ports/77366: amavisd-new account creation patch
Scott Balmos
scott.balmos at utoledo.edu
Thu Feb 10 23:40:32 UTC 2005
The following reply was made to PR ports/77366; it has been noted by GNATS.
From: Scott Balmos <scott.balmos at utoledo.edu>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/77366: amavisd-new account creation patch
Date: Thu, 10 Feb 2005 18:37:26 -0500
Oops... Mistake here. Didn't check Sect. 17.12 of the Porter's Handbook
first. :(
New suggested uid/gid: 110
--- /usr/ports/security/amavisd-new/files/INSTALL.tmpl Thu Aug 12
08:44:03 2004
+++ INSTALL.tmpl Thu Feb 10 18:17:39 2005
@@ -13,7 +13,7 @@
if /usr/sbin/pw groupshow "${GROUP}" 2>/dev/null; then
echo "You already have a group \"${GROUP}\", so I will use it."
else
- if /usr/sbin/pw groupadd ${GROUP} -h -
+ if /usr/sbin/pw groupadd ${GROUP} -h -g 102 -
then
echo "Added group \"${GROUP}\"."
else
@@ -29,7 +29,8 @@
if /usr/sbin/pw useradd ${USER} -g ${GROUP} -h - \
-d ${DIR} \
-s /bin/sh \
- -c "Scanning Virus Account"
+ -c "Scanning Virus Account" \
+ -u 110
then
echo "Added user \"${USER}\"."
else
More information about the freebsd-ports-bugs
mailing list