Meowthra Posted January 4, 2019 Share Posted January 4, 2019 sudo -s USER_NAME=$(id -u -nr 501) cat >> /private/etc/sudoers << EOF $USER_NAME ALL=(ALL) NOPASSWD: ALL EOF Link to comment https://www.insanelymac.com/forum/topic/337100-macos-sudo-without-password/ Share on other sites More sharing options...
PippoX0 Posted January 5, 2019 Share Posted January 5, 2019 Ok. But why reduce security on terminal commands ? sent from my iPhone Link to comment https://www.insanelymac.com/forum/topic/337100-macos-sudo-without-password/#findComment-2657419 Share on other sites More sharing options...
Meowthra Posted January 9, 2019 Author Share Posted January 9, 2019 Personal Preferences Link to comment https://www.insanelymac.com/forum/topic/337100-macos-sudo-without-password/#findComment-2658066 Share on other sites More sharing options...
Recommended Posts