github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/bin/package/raspberry/files/0-setup-user.sh (about)

     1  #!/bin/bash -ev
     2  
     3  usermod -l myst pi
     4  usermod -m -d /home/myst myst
     5  echo 'myst:mystberry'|chpasswd
     6  
     7  rm /etc/sudoers.d/010_pi-nopasswd
     8  install -m 644 myst_sudo_nopasswd /etc/sudoers.d/010_myst-nopasswd