From nobody Sat Jan 03 20:53:26 2026 X-Original-To: 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 4dkCTT0j4Yz6LqMb for ; Sat, 03 Jan 2026 20:53:49 +0000 (UTC) (envelope-from goneri@lebouder.net) Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (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 4dkCTS11wXz3hXM for ; Sat, 03 Jan 2026 20:53:48 +0000 (UTC) (envelope-from goneri@lebouder.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lebouder.net header.s=fm2 header.b=P7sO1d4J; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=iH1KbpU0; dmarc=none; spf=pass (mx1.freebsd.org: domain of goneri@lebouder.net designates 202.12.124.154 as permitted sender) smtp.mailfrom=goneri@lebouder.net Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id A869D7A008C for ; Sat, 3 Jan 2026 15:53:46 -0500 (EST) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-01.internal (MEProxy); Sat, 03 Jan 2026 15:53:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lebouder.net; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1767473626; x=1767560026; bh=TAyEMemHsdILxnyOHL/Xv4BvtHOCfcfgxzS3qpbzwvk=; b= P7sO1d4JaTIxalky3+1yP4GZqTOnCVYfI1slALCo/09Muy8zcwA9q9ajn6myZgT5 hxjGDaZFLTW2/HnS0KPvGZ1pfd5lW5bWBlER3GEs74ofyVnz/C8lwnqxzi+I7L16 rDimC1fk57ssV2ul+h/2h/K1RhUZ4AywK4gwZGh9Wby3L1RUoNJ518vQmXYsvDrm VcqDRybCC2XNnZ2V8owLsfOWQl0ynkPlonH3/gpV0xUwv9ES2d3v8cbylnerlWAD eEppTEZr4Sc9Nqzyv7GDqMYp2R9JoHCx6wPDGINN09qc2d059599GvvXUypSBOEU 5j9FtG04fE+RNIlEtHDhuw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1767473626; x=1767560026; bh=T AyEMemHsdILxnyOHL/Xv4BvtHOCfcfgxzS3qpbzwvk=; b=iH1KbpU0833h+RG90 TtR0cvVn+TQBKzLAgqfLwcYRDJj7EzBigHnkbNyJXTqUk1co3HYaeomtZhQyYq7t xOsVULUJfioEQEMSBe2r2i4H9sp62z03G4N5ywz/isWZSdu2j9WFgCrNB6+3laHd O+3T6xXy0SwMq9PImaSIbnWtXiEFqzv1pHjun5hKMXKzvNtXb+a4AJlfAphPkC8m v2bbg42r0fuQ8u+j7a2i3q9Ubp8m5TUCM47Yy+LbICTMkZzv64cj0xGji1hGqj4z BREZkusQqWEP1sG4MWW4aCoGJx+8YCAVeUCbPyYj8LeesGYxXAnElEpodK7wPGQ3 SWMBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdelvdehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkjghfufgtgfesthhqredtre dtjeenucfhrhhomhepifhonhorrhhiucfnvgcuuehouhguvghruceoghhonhgvrhhisehl vggsohhuuggvrhdrnhgvtheqnecuggftrfgrthhtvghrnhepfedvieeuieegtdevgedvke eigeffueeihfeikeduvddtfffhheeigfeiheffffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepghhonhgvrhhisehlvggsohhuuggvrhdrnh gvthdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep qhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i5391493e:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 5AE071B40068; Sat, 3 Jan 2026 15:53:46 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface 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 Date: Sat, 03 Jan 2026 15:53:26 -0500 From: =?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?= To: questions@freebsd.org Message-Id: In-Reply-To: References: <9c246935-3eb1-4f3b-83a2-e6f02b90c5ec@app.fastmail.com> Subject: Re: sudo and cloud images Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.03 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_MIXED_CHARSET(0.56)[subject]; R_DKIM_ALLOW(-0.20)[lebouder.net:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.154:from]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[lebouder.net]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[lebouder.net:+,messagingengine.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4dkCTS11wXz3hXM Yes, and I need to be root to install it, which is a bit of a chicken eg= g situation. On Sat, Jan 3, 2026, at 13:42, Jes=C3=BAs Daniel Colmenares Oviedo wrote: > Hi, > > On 1/2/26 21:01, Gon=C3=A9ri Le Bouder wrote: >> Hi, >> >> I maintain a pet-project where I provide FreeBSD images with=20 >> Cloud-Init. I've been doing this for a couple years and I'm happy to=20 >> see this is something FreeBSD support natively now.=C2=A0I like the=20 >> nuageinit=C2=A0approach, is simple and=C2=A0straightforward. >> >> I'm testing the FreeBSD 15 cloud image and sudo is not installed by=20 >> default, which is a decision I understand. What is the "correct" way=20 >> to get root privileges? Do you use a user_data file to set a root=20 >> password, and just use "su"? If so, what the point of the password, i= t=20 >> sounds like some extra complexity. >> >> Regards, >> --=20 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0Gon=C3=A9ri Le Bouder > > You must install sudo if you want to use it. The same applies to doas.=20 > Use 'packages' for this. > > I think we should clarify this in the man page and add sudo in the exa= mple.