15.sudo free password

  1. Enable passwordless sudo to run programs on the Raspberry Pi without providing a password.

    1. Log in to the Raspberry Pi command line interface. Assume that the default username and password for the Raspberry Pi are pi and raspberry respectively.
    2. In the command line interface, type the following command:
  2. Enable passwordless sudo access by adding the following command:

     

    For example, to provide passwordless sudo access to user dofbot, enter the following command:

  3. To save changes, press Ctrl+x on your keyboard.

  4. For these changes to take effect, restart the Raspberry Pi by entering the following command.