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 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 Share on other sites More sharing options...
Meowthra Posted January 9, 2019 Author Share Posted January 9, 2019 Personal Preferences Link to comment Share on other sites More sharing options...
Recommended Posts