From cdd3390948a524f6cedd175c74111e11f8eb3082 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sat, 2 Dec 2023 00:49:25 -0700 Subject: [PATCH] Changed default password to aws, and disabled ssh password login --- aws.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws.scm b/aws.scm index 9c9206c..cfda09d 100644 --- a/aws.scm +++ b/aws.scm @@ -119,7 +119,7 @@ (users (cons (user-account (name "aws") (group "admin") - (password (crypt "root" "$6$salt")) + (password (crypt "aws" "$6$salt")) (shell (file-append zsh "/bin/zsh"))) %base-user-accounts)) (sudoers-file (plain-file "sudoers" @@ -134,5 +134,5 @@ (cons* (service dhcp-client-service-type) (service aws-pubkey-service-type) (service openssh-service-type - (openssh-configuration (port-number 22))) %base-services))) + (openssh-configuration (port-number 22) (password-authentication? #f))) %base-services)))