• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ️ Info: The website has been modernized to improve readability and smartphone compatibility. Feel free to report any bugs using the contact form

    Sudo without password


    Overview

      It is often quickly tired of having to enter the password each time you use the sudo command.
      A few seconds are necessary to correct this problem.
      Be careful: changing your user account configuration leaves a lot less secure.

    Implementation

      Launch the command:
        sudo vi /etc/sudoers
      to edit the file. Then add the following line at the end of file:
        jerome ALL=(ALL) NOPASSWD: ALL
      then enter :w! to save the file (the file is read-only, must be forced to write).

      That's it.

     

    Go Back



    (c) 2005-2025 Jérôme DESMOULINS
    Data privacy