From nobody Wed Jul 31 15:02:52 2024 X-Original-To: freebsd-current@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 4WYwM32dXNz5S3Sb for ; Wed, 31 Jul 2024 15:02:55 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout1-smtp.messagingengine.com (fout1-smtp.messagingengine.com [103.168.172.144]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4WYwM253Djz4r9b for ; Wed, 31 Jul 2024 15:02:54 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=GXcmYRFT; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=e3lT7NnM; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.144 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from compute8.internal (compute8.nyi.internal [10.202.2.227]) by mailfout.nyi.internal (Postfix) with ESMTP id 26B241381D4F for ; Wed, 31 Jul 2024 11:02:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute8.internal (MEProxy); Wed, 31 Jul 2024 11:02:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1722438174; x=1722524574; bh=wC0dZ0Iz4vhp9OO5+WKvBkws0jGRhdM+ QTjgTyJCOG8=; b=GXcmYRFTHPY5xfQ/PGxMaZWfJItagCQcZcuSUzmZAvfFMnpr WHvUBNt888cIMmQj5FgIPwtpFMTfq6yDGDnXCV2bgPeiZstuSuAIt5/50k4LPlTN EzOnGxVJkLbFw9DSuJW8xUadwEC8y99uPd7343m5t86RJchBG3XA2EW2hmLzhBwl WWLwIfQikgcbnCP8gqWnVHHP7maywWTe2sltYxluCr0gCTe/J9hvTz9J/FfxWtSP HV5N2SwK9rZdumxK95s5gxflx7TPFfrddR9Ba4qt8ueSuR7d77U4VvH27t8aHvPk Z5PDHhyXWNJQiURXm8ojTMC4QT4iv5YVqfJzLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1722438174; x=1722524574; bh=wC0dZ0Iz4vhp9OO5+WKvBkws0jGRhdM+QTj gTyJCOG8=; b=e3lT7NnMML5Rc2jNqgL6iOSjHkLZUxm54uYHpiEFGdVdnwYCOt4 ZRSp0MrVz33m4HoMkmrrPE5nmQhcgZY51Ni0B+DuXQ/kmWiMvbByBg0F4Vg32egh AQ/QhOYNGXU72E7yxBzT2XagXU9Yqqynp7nqZHcSRZ1/nTmBzOuCRq3HU9gcQlyU P6OUpGu+LHUCh5TtpEholSy/losTFZm3NCLLfyx6X6qnx4ZdwlXz+3k43/ELbYe+ RAEBDKWCrGIT4rwdKcLgdggGENn3yutal+FL2JiKcOBKrCDBLooV5iknRMuYnbAh kVnaH5tzVjXTEvtVo+OHrHQ+Lknx94lxntw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeeigdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdortddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekgeeihfelvdekleejvdefjedvkeelfedtgfdttedtleetuddujeeulefhtefgge enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedt X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 31 Jul 2024 11:02:53 -0400 (EDT) Date: Wed, 31 Jul 2024 16:02:52 +0100 From: void To: freebsd-current@freebsd.org Subject: a zfs thank you :) Message-ID: Mail-Followup-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.60)[-0.603]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_VERYGOOD(-0.20)[103.168.172.144:from]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.144:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4WYwM253Djz4r9b Hi, I was pleasantly surprised when I installed a new [1] zfs-on-root -current to rpi4 that when adduser was invoked, I was given the option to encrypt the homedir. This is a great feature for my context [2]. It doesn't automount on boot but I think this is more of a feature rather than a bug. One can have a different password to the GELI one used to boot up the whole system. I have not tested yet whether one can have the user, once logged in, mount their homedir with doas(1). Right now, I mount the homedir like so: zfs load-key -a (prompts for password) zfs mount -a as root. I could I guess make a doas line for the user for zfs load-key -r zfsfile/system. Can anyone suggest any better ideas please? [1] n271321-9ae91f59c500 [2] machine and disk are not in a "secure" area. My concern is for data-at-rest. homedirs will have things like cached passwords user creds etc and it's to prevent someone just walking off with the disk and grabbing user creds for example. --