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 +