When we write scripts, we want to embed sudo command with password automatically for our username. We need to edit the hidden etc/sudoers to add (usersname is our login name).
usersname ALL=(ALL) NOPASSWD: ALL
- How To Install Virtual Box 5.2 with Windows on macOS High Sierra 10.13.1
- How to get rid of the warning “Your computer was restarted because of a problem”
- How To Fix iMovie 10.1.17 Keep Crashing On macOS High Sierra 10.13
- How To Fix Photo Library Not Showing In iMovie Library
- MacOS High Sierra 10.13 On Windows PCs-Laptops