Re: FreeBSD on AWS

From: Jonathan Adams <jfadams1963_at_proton.me>
Date: Wed, 13 Dec 2023 10:22:04 UTC
On Wednesday, December 13th, 2023 at 12:31 AM, Pete Wright <pete@nomadlogic.org> wrote:

> 

> On 12/12/23 19:36, Jonathan Adams wrote:
> 

> > Hey folks,
> > I've just set up a FBSD system on AWS (14.0-RELEASE with ZFS) and I'm wondering about the default user ec2-user.
> > My question is, can I remove this user with out breaking anything? I've created my own user account that conforms to my prejudices and am not using this default user for anything.
> > 

> > Thanks in advance!
> 

> 

> should be fine, this account is tied to the key you instantiated your
> ec2 instance with. so if you no longer need to use that key and can
> login with say your own ssh key and have administrative control you
> should be fine.
> 

> it may be helpful to keep the account around though, so maybe neuter it
> by setting the login shell to /usr/sbin/nologin.
> 

> -pete

Thanks to everyone who replied, on and off list. Pete's suggestion is not a bad idea.

- Jonathan Adams
____________________________________________
"Before Turing, things were done to numbers.
After Turing, numbers began doing things"
- George Dyson