Skip to content

Run Sudo commands without passwords.


This is to explain how to run sudo commands on Apple computers without the need to enter password




  • 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
    • %admin          ALL =(ALL)NOPASSWD: ALL


  • Press esc button on the keyboard
  • Type :w and enter to save the changes
  • Type 😡 to exit the file