LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS flush (https://www.linuxquestions.org/questions/linux-newbie-8/dns-flush-4175440420/)

flukeyLinux 12-07-2012 05:52 AM

DNS flush
 
Hi all,

Wondering if there is a way I can give a user privileages to run DNS flush on a linux system, running Sles 11?

regards,
Fluke

acid_kewpie 12-07-2012 06:29 AM

sure, you can add an entry to /etc/sudoers to restart nscd easily enough:

Code:

alice,bob ALL = /sbin/service nscd restart

flukeyLinux 12-07-2012 06:52 AM

Quote:

Originally Posted by acid_kewpie (Post 4844467)
sure, you can add an entry to /etc/sudoers to restart nscd easily enough:

Code:

alice,bob ALL = /sbin/service nscd restart

Thanks Chris.


All times are GMT -5. The time now is 01:47 PM.