Skip to content

Commit 5d495c4

Browse files
committed
typo fixed
1 parent 504b2d6 commit 5d495c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mupsetup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ fi
1414
useradd $username
1515
echo $username:$password | chpasswd
1616
adduser $username sudo
17-
echo "# meteorup-server-script\n%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
17+
echo "# meteorup-server-script\n%sudo ALL=(ALL) NOPASSWD:ALL" >> $sudoers
1818
service sudo restart
1919

2020
if grep -q "%sudo ALL=(ALL) NOPASSWD:ALL" $sudoers; then
2121
echo "The script worked correctly, you can now use the new user in your mup.json"
2222
exit
2323
fi
2424

25-
echo "Check the sudoers file with visudo for %sudo ALL=(ALL) NOPASSWD:ALL"
25+
echo "The script could not modify the sudoers file check with visudo for %sudo ALL=(ALL) NOPASSWD:ALL"

0 commit comments

Comments
 (0)