From nobody Fri Aug 23 23:58:40 2024 X-Original-To: freebsd-questions@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 4WrH8m6YZwz5TjCs for ; Fri, 23 Aug 2024 23:58:48 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (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 (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WrH8m4gFSz4nPH for ; Fri, 23 Aug 2024 23:58:48 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; none Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.17.1/8.17.1) with ESMTPS id 47NNwgv9083080 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 23 Aug 2024 23:58:42 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.17.1/8.17.1/Submit) with ESMTP id 47NNweZn083073; Fri, 23 Aug 2024 23:58:42 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 23 Aug 2024 23:58:40 +0000 (UTC) From: doug@safeport.com Reply-To: doug@fledge.watson.org To: Andrea Venturoli cc: freebsd-questions@freebsd.org Subject: Re: security.bsd.see_other_uids/gids and jails In-Reply-To: <0fe260da-43ff-4c14-9807-7b81cec37c83@netfence.it> Message-ID: References: <902826c1-fc50-48aa-867d-8010b5814df2@netfence.it> <61ed9412-563-a5f-a3c0-66ff23cb5ac4@safeport.com> <0fe260da-43ff-4c14-9807-7b81cec37c83@netfence.it> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US] X-Rspamd-Queue-Id: 4WrH8m4gFSz4nPH On Fri, 23 Aug 2024, Andrea Venturoli wrote: > On 8/22/24 21:07, doug wrote: > >> The rules of the road here are: make an effort to answer the question, >> which I doing anyway: >> >> echo 'security.bsd.see_other_uids=0' >> /etc/sysctl.conf >> echo 'security.bsd.see_other_gids=0' >> /etc/sysctl.conf > > This was not my question actually. > My question was: after I did the above, is it possible to reenable these > values selectively in a jail? > > bye & Thanks > av. > These setting can be changed in a running jail. See sysctl.