Re: Run script as root without sudo
Date: Thu, 19 Aug 2021 06:34:43 UTC
On Thu, 19 Aug 2021 at 18:25, Aristedes Maniatis <ari@ish.com.au> wrote: > > That would require root to put the file there and then to reboot the > machine. In which case, wouldn't it be simpler to just start a new instance, install your packages by hand, and then take a snapshot of the volume and convert it to a custom AMI instead? That way all new instances from your custom AMI will be preconfigured with the required packages. Cheers. -- Jonathan Chen <jonc@chen.org.nz>