Re: sudo and cloud images
- Reply: Gonéri_Le_Bouder : "Re: sudo and cloud images"
- In reply to: Gonéri_Le_Bouder : "sudo and cloud images"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jan 2026 18:42:23 UTC
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.