ports/150765: [Maintainer Update] Give sysutils/radmind its own UID/GID
Michael Graziano
mikeg at bsd-box.net
Mon Sep 20 19:30:02 UTC 2010
>Number: 150765
>Category: ports
>Synopsis: [Maintainer Update] Give sysutils/radmind its own UID/GID
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 20 19:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Michael Graziano
>Release: RELENG-8_0
>Organization:
>Environment:
FreeBSD flexo.bsd-box.net 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #1: Tue Jul 13 16:33:18 EDT 2010 root at flexo.bsd-box.net:/usr/obj/usr/src/sys/flexo i386
>Description:
These patches update the sysutils/radmind port to run as a non-root user, for the sundry and obvious reasons why doing so would be a good idea.
radmind-uidgid.patch.txt contains the changes to ports/UIDs & ports/GIDs (Claimed UID/GID# 506)
radmind.patch.txt contains the changes to the radmind port itself, including a pkg-message noting the change, which can go away after a suitable transition period.
These patches generate no additional portlint issues, and both the port & package passed basic build/install testing.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- UIDs 2010-09-20 14:28:42.000000000 -0400
+++ UIDs 2010-09-20 14:29:27.000000000 -0400
@@ -130,6 +130,7 @@
callweaver:*:444:444::0:0:Callweaver account:/var/lib/callweaver:/usr/sbin/nologin
courier:*:465:465::0:0:Courier Mail Server:/nonexistent:/usr/sbin/nologin
_bbstored:*:505:505::0:0:BoxBackup Store Daemon:/nonexistent:/bin/sh
+radmind:*:506:506::0:0:radmind User:/var/radmind:/usr/sbin/nologin
nullmail:*:522:522::0:0:Nullmailer Mail System:/var/spool/nullmailer:/bin/sh
dkimproxy:*:525:525::0:0:DKIM Proxy Owner:/nonexistent:/usr/sbin/nologin
pgbouncer:*:534:534::0:0:Pgbouncer Daemon:/nonexistent:/usr/sbin/nologin
--- GIDs 2010-09-20 14:28:48.000000000 -0400
+++ GIDs 2010-09-20 14:29:39.000000000 -0400
@@ -119,6 +119,7 @@
callweaver:*:444:
courier:*:465:
_bbstored:*:505:
+radmind:*:506:
nullmail:*:522:
dkimproxy:*:525:
pgbouncer:*:534:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list