From nobody Sun Jun 2 07:59:11 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VsTlN0hLYz5MJnQ for ; Sun, 02 Jun 2024 07:59:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VsTlM5pNNz4jB9 for ; Sun, 2 Jun 2024 07:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717315151; a=rsa-sha256; cv=none; b=y1X3HxuPporoKYrQ6IbWguacln5y4iWg84+7QiqKGjBHCDYaipp9ZDG6iPlpa+5ni+5WNt g+yXJVuuEVhgiI/+qJDwkxp0MC4DB4I1WmdUwO7yO37jQvsMeDDwbiIJO6vriVtB+cIZDb H4sbJu1FTnFgUvVDqYqwFOtpgW8BvvTquGkP2pbJ09531I+AvZNV/Agq06Ngd0aScOgeN8 Zucu/hfBIppZgWyKyqFVIGuubYqE7MZRMEALsqbTiHQJXegVQNEadUd3FbuYlIcyOcipXO 31nMENsUGXl3zGYfd1LHqgKccQRCA13KCkpzZpHtI611VmURESOVpwt86QJ2EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717315151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JvUJ9kVLILCcnL6yZUDT1yNo1zcIhVMTFGH+YzVEbHU=; b=N9P32w3/P7G1KtG/vXyuwg96qaOq0H8w7+4YlL6wy7IhferJhynjn1Ydzda6VM+AIowLG7 8MZHEwI//HyAEjHbEGMILqfi8cUQg+Zz5L+cJW5h3Ydkid1hdAoPracezZ5DMKGowN5xfL bSz0qDG7bPH+bk3jA5AnCbTU6bbTeM7C36Q2BvLodU0KPSgB0DBBtUVmsx4GYpT8P93vkA s3zYcphhiDeG4PVcpcNmTRRvtym2wvc7P2kbGuJ1PbaEKgknE6Lb2KwxV5Eh9RJjBfWO8Q FdXVtu0nvcCBXoegXUiQ21jCae0ItKpZRpihzalOXRu5i6L3b32yRXQICTdIBA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VsTlM5DdLzjrw for ; Sun, 2 Jun 2024 07:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4527xBxU016473 for ; Sun, 2 Jun 2024 07:59:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4527xBoQ016472 for ports-bugs@FreeBSD.org; Sun, 2 Jun 2024 07:59:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279460] multimedia/motion: don't run as root Date: Sun, 02 Jun 2024 07:59:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dimitri@kaparis.name X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279460 Bug ID: 279460 Summary: multimedia/motion: don't run as root Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dimitri@kaparis.name CC: ports@blievers.net CC: ports@blievers.net Flags: maintainer-feedback?(ports@blievers.net) Created attachment 251148 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251148&action= =3Dedit use command args for pid and config options Motion service installs and runs under root account, which is not recommend= ed security-wise. I've created a set of patches that create a restricted user and group `moti= on` and runs the motion service under it. They applied cleanly on the main bran= ch as of 2024-04-10, but haven't been tested in actual build. I've manually applied the changes from these patches to my installation and it's operating without issues. --=20 You are receiving this mail because: You are the assignee for the bug.=