U bent hier

Linux

How to prevent entering a password each time for some sudo-commands

When you have been using Ubuntu (or Debian) for a while, there are probably a few commands which you regularly want to execute as root (sudo), and each time you start a terminal and perform sudo 'that-specific-command', the system asks for your password to confirm you going into root (superuser).

You can setup some lines in the sudoer-file, which results in the fact that the system does not ask a password if you sudo these specific commands. It could come in handy on a PC in a trusted environment, just for your personal confort of not needing to type the same password over and over again for - in that conext possibly - harmless actions.

Pagina's