From 9037e6b448bafea512a84bd201cbe0c4c4c77ce7 Mon Sep 17 00:00:00 2001 From: nagumii Date: Fri, 27 Dec 2024 23:25:06 +0200 Subject: [PATCH] change " to \' --- environment-setup/foxbunto_env_setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 environment-setup/foxbunto_env_setup.sh diff --git a/environment-setup/foxbunto_env_setup.sh b/environment-setup/foxbunto_env_setup.sh old mode 100644 new mode 100755 index 9460b5c..92df7f2 --- a/environment-setup/foxbunto_env_setup.sh +++ b/environment-setup/foxbunto_env_setup.sh @@ -226,13 +226,13 @@ echo "Adding femto and pico users/groups..." groupmod -n femto pico usermod -l femto pico usermod -aG sudo,input femto -echo "femto ALL=(ALL:ALL) ALL" | tee /etc/sudoers.d/femto > /dev/null +echo "femto ALL=(ALL:ALL) ALL" | tee /etc/sudoers.d/femto chmod 440 /etc/sudoers.d/femto # this seems messy, user:group should be set cleanly and not corrected after? OSC: somethings were owned my pico from factory -find / -group pico -exec chgrp femto {} \; 2>/dev/null -find / -user pico -exec chown femto {} \; 2>/dev/null +find / -group pico -exec chgrp femto {} \ +find / -user pico -exec chown femto {} \ usermod -d /home/femto -m femto ls -ld /home/femto echo 'femto:fox' | chpasswd @@ -317,3 +317,4 @@ else fi exit 0 +