From nobody Wed Dec 13 05:31:12 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqkcB6CDgz53vZk for ; Wed, 13 Dec 2023 05:31:22 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqkcB2nh5z3L1D for ; Wed, 13 Dec 2023 05:31:22 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1702445474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wIpnvlCL80BOgl03XTdOm2tcAvC1SX744ofmHS0hOrc=; b=k1USbP5nJmPfwunVyihfhBHnkJFUVOS2fDsu8G7nOicUh6kLBczV1V+xW0wLJ6tY+PlPTz ImkVpeoK8sQ8WjAt96JKUhy79zDiN5FnfXBLgbiGBMxofN9r6RSDeaIQCjzjmCv+f3T08N Dh9+FUm8ceyp3RelJfiB+Zj86MbRLig= Received: from [192.168.1.160] (024-024-168-214.inf.spectrum.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id fbe51a39 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 13 Dec 2023 05:31:14 +0000 (UTC) Message-ID: <434e0413-1ea1-452d-9deb-a7c3c3d73c64@nomadlogic.org> Date: Tue, 12 Dec 2023 21:31:12 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD on AWS To: Jonathan Adams , questions@freebsd.org References: <9_4Y-B4_f4b46ZQOuGlmKq4RC68VV9p-ejyHPLJYej52dnJn0RnLeC-8Qvw4J9CNg5naH4L7TIGL90RSmTHQ40idG6eRoNhIg1lNUakTm4g=@proton.me> Content-Language: en-US From: Pete Wright In-Reply-To: <9_4Y-B4_f4b46ZQOuGlmKq4RC68VV9p-ejyHPLJYej52dnJn0RnLeC-8Qvw4J9CNg5naH4L7TIGL90RSmTHQ40idG6eRoNhIg1lNUakTm4g=@proton.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqkcB2nh5z3L1D 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 -- Pete Wright pete@nomadlogic.org @nomadlogicLA