From fc189e9a577d6a940ac8eefaae5913dd67a95953 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 23 Apr 2022 13:44:44 -0700 Subject: rename ASSERT-EUID-ROOT -> ASSERT-REMOTE-EUID-ROOT Signed-off-by: Sean Whitton --- src/property/sshd.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/property/sshd.lisp') diff --git a/src/property/sshd.lisp b/src/property/sshd.lisp index 7f35195..8d1022c 100644 --- a/src/property/sshd.lisp +++ b/src/property/sshd.lisp @@ -41,7 +41,7 @@ To prevent lockouts, also enables logging in as root with an SSH key, and refuses to proceed if root has no authorized_keys." (:desc "SSH passwords disabled") (:apply - (assert-euid-root) + (assert-remote-euid-root) (unless (and (remote-exists-p ".ssh/authorized_keys") (plusp (length (read-remote-file ".ssh/authorized_keys")))) (failed-change "root has no authorized_keys")) -- cgit v1.2.3