From addb0b6bc2e948f6412095b24bd500946f144817 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Wed, 18 Sep 2019 18:20:46 -0400 Subject: [PATCH] fix usermod --- addnew_printer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addnew_printer.sh b/addnew_printer.sh index 98a6a70..9da80cc 100755 --- a/addnew_printer.sh +++ b/addnew_printer.sh @@ -105,7 +105,7 @@ then #journalctl --rotate > /dev/null 2>&1 #journalctl --vacuum-time=1seconds > /dev/null 2>&1 #just to be on the safe side, add user to dialout - usermod -a G dialout $OCTOUSER + usermod -a -G dialout $OCTOUSER #Open port to be on safe side ufw allow $PORT/tcp