useradd

  1. R

    Program permission clarification

    Hi all, recently ive been using ngrok (a tunneling program) to expose my local ubuntu 20.04 minecraft server. For security purposes I decided to create a dedicated non-sudo user to run the minecraft and ngrok process. the problem though is when i try to launch ngrok i get this message...
  2. superboy2k6

    Add a specific user to get sudo privilleges using shell scripts ONLY

    Hey so I wanted to create a shell script so that a user is added in which the user has sudo privilleges. My code went like this: #!/bin/bash useradd liveuser ; echo -e "liveuser\nliveuser" | passwd liveuser usermod -aG sudo liveuser su liveuser exit It did create the user with the password but...
Top