sudo and cloud images

From: Gonéri_Le_Bouder <goneri_at_lebouder.net>
Date: Sat, 03 Jan 2026 01:01:46 UTC
Hi,

I maintain a pet-project where I provide FreeBSD images with Cloud-Init. I've been doing this for a couple years and I'm happy to see this is something FreeBSD support natively now. I like the nuageinit approach, is simple and straightforward.

I'm testing the FreeBSD 15 cloud image and sudo is not installed by default, which is a decision I understand. What is the "correct" way to get root privileges? Do you use a user_data file to set a root password, and just use "su"? If so, what the point of the password, it sounds like some extra complexity.

Regards,
-- 
       Gonéri Le Bouder