LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2012, 06:52 AM   #1
flukeyLinux
LQ Newbie
 
Registered: Sep 2012
Location: Ireland
Distribution: Sles, Rhel, AIX, Solaris, Oracle Linux
Posts: 11

Rep: Reputation: Disabled
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
 
Old 12-07-2012, 07:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

Code:
alice,bob ALL = /sbin/service nscd restart
 
1 members found this post helpful.
Old 12-07-2012, 07:52 AM   #3
flukeyLinux
LQ Newbie
 
Registered: Sep 2012
Location: Ireland
Distribution: Sles, Rhel, AIX, Solaris, Oracle Linux
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
sure, you can add an entry to /etc/sudoers to restart nscd easily enough:

Code:
alice,bob ALL = /sbin/service nscd restart
Thanks Chris.

Last edited by flukeyLinux; 12-07-2012 at 07:55 AM. Reason: Understand after looking again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No browsing - flush DNS? Steve W Linux - Networking 7 11-16-2011 03:36 AM
how to flush dns cache SarahGurung Linux - Newbie 2 10-18-2011 07:05 AM
how-to flush dns cache PlatinumRik Linux - Networking 6 07-27-2011 03:47 PM
Flush DNS in CentOS k_oudom Linux - Networking 1 12-20-2009 08:58 AM
Flush DNS HiOctane21 *BSD 2 05-15-2007 12:44 PM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration