From fd2b43e0cb966969bdb7948779a9a83888fe62c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Tue, 16 May 2023 16:32:26 +0300 Subject: [PATCH] fix: add missing findmnt command to sudoers configuration --- xo-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo-install.sh b/xo-install.sh index 13733f1..921259c 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -524,7 +524,7 @@ function InstallSudo { echo printinfo "Generating sudoers configuration to $SUDOERSFILE" TMPSUDOERS="$(mktemp /tmp/xo-sudoers.XXXXXX)" - runcmd "echo '$XOUSER ALL=(root) NOPASSWD: /bin/mount, /bin/umount' > '$TMPSUDOERS'" + runcmd "echo '$XOUSER ALL=(root) NOPASSWD: /bin/mount, /bin/umount, /bin/findmnt' > '$TMPSUDOERS'" if runcmd "visudo -cf $TMPSUDOERS"; then runcmd "mv $TMPSUDOERS $SUDOERSFILE" else