Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 18:37:26 -0500
From:      Scott Balmos <scott.balmos@utoledo.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/77366: amavisd-new account creation patch
Message-ID:  <420BF036.1050700@utoledo.edu>
In-Reply-To: <200502102320.j1ANKHgt077947@freefall.freebsd.org>
References:  <200502102320.j1ANKHgt077947@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420BF036.1050700>