changed sudo commands

master
tiyn 1 year ago
parent 8eae6d56b3
commit 940aa6c46b

@ -47,7 +47,7 @@ struct secretpass {
/* list of secret passwords and their commands */ /* list of secret passwords and their commands */
static const struct secretpass scom[1] = { static const struct secretpass scom[1] = {
/* Password command */ /* Password command */
{"shutdown", "sudo shutdown -h now"}, {"shutdown", "sudo -A shutdown -h now"},
}; };
/* length of entries in scom */ /* length of entries in scom */

Loading…
Cancel
Save