Jump to content

sudoers without password

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
Can anyone tell me how to allow users to use sudo for ALL applications without a password? Currently I am able to give them ALL access but they have to type in the root password each time.

For users that I don't want ALL, how do I specify certain applications?

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You can use the NOPASSWD rule to enable users to su/sudo without password. Here is an example entry in /etc/sudoers:

jordan  ALL=(ALL) NOPASSWD: ALL

For specific apps you can do:

jordan ALL=/path/to/command NOPASSWD: ALL


#3
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
This doesn't seem to work on my Linux installation.