About
This is to explain how to run sudo commands on Apple computers without the need to enter password
Steps
- Open terminal
- Sudo visudo
- Enter user password if asked for it.
- Click on edit, find, find
- Type %admin
- Press i button on the keyboard to enable editing the file.
- Move up and down till you reach the command line
- Add NOPASSWS:
- %admin ALL =(ALL)NOPASSWD: ALL
- Press esc button on the keyboard
- Type :w and enter to save the changes
- Type 😡 to exit the file