Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-2008, 11:20 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 390
Tor is on a distinguished road
Default sudoers without password

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?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-04-2008, 06:06 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

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

Code:
jordan  ALL=(ALL) NOPASSWD: ALL
For specific apps you can do:

Code:
jordan ALL=/path/to/command NOPASSWD: ALL
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 10:46 PM
Member
 
Join Date: Jan 2007
Posts: 96
Prog is on a distinguished road
Default

This doesn't seem to work on my Linux installation.
Reply With Quote
Reply

Tags
sudoers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crack/Reset grub password Off Linux Security 14 06-30-2008 08:31 PM
Remove User Password Hektor Linux Security 8 06-24-2008 02:12 PM
Enforce Password Change Wanch Linux Security 6 03-23-2008 03:52 AM
MySQL Root Password Prog Linux Applications 1 10-08-2007 08:38 PM
Need help setting up sudoers! Jame Linux Applications 2 01-26-2007 04:11 PM


All times are GMT. The time now is 10:53 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.