Changed default password to aws, and disabled ssh password login

master
noah metz 2023-12-02 00:49:25 -07:00
parent e3d2b0149b
commit cdd3390948
1 changed files with 2 additions and 2 deletions

@ -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)))