• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ Info: FThe site is hosted on a new server. Do not hesitate to report any bugs to me via thee 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