From 940aa6c46b8c34f14c772937188f32e89e7b6732 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 20 Dec 2023 04:06:26 +0100 Subject: [PATCH] changed sudo commands --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 748c0ce..35eb319 100644 --- a/config.def.h +++ b/config.def.h @@ -47,7 +47,7 @@ struct secretpass { /* list of secret passwords and their commands */ static const struct secretpass scom[1] = { /* Password command */ - {"shutdown", "sudo shutdown -h now"}, + {"shutdown", "sudo -A shutdown -h now"}, }; /* length of entries in scom */