Re: sudo and cloud images
Date: Sat, 03 Jan 2026 20:53:26 UTC
Yes, and I need to be root to install it, which is a bit of a chicken egg situation. On Sat, Jan 3, 2026, at 13:42, Jesús Daniel Colmenares Oviedo wrote: > Hi, > > On 1/2/26 21:01, Gonéri Le Bouder wrote: >> 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 > > You must install sudo if you want to use it. The same applies to doas. > Use 'packages' for this. > > I think we should clarify this in the man page and add sudo in the example.