Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-01-2009, 07:26 AM   #1
Registered: Feb 2008
Posts: 36

Rep: Reputation: 16
Question doubt in the Suse configuration files

if we have multiple entries in the configuration files , which entry will take the affect i mean the first entry or last entry

suppose in /etc/host.conf
i have 2 entry for 'order'

order hosts,bind


order nis, bind

if this is the case which entry for order will take affect
Old 06-01-2009, 10:27 AM   #2
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
If you don't understand the effect of having two 'order' lines, why would you put two in? That doesn't seem to make sense.

Assuming that you know what you want, why not just put one line in that does the right thing?

That said, I would expect the second to be the one that takes efect (once it has been read) but I can't see it documented in the man page, so it could do anything and it might change from one release to another.


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
Doubt abt the files on mountpoint!!! goosygeek Linux - General 4 03-24-2008 08:37 AM
A doubt in SUSE installation lifeafterdeath Linux - Newbie 4 11-13-2007 01:17 PM
Linux Newbie: doubt regarding program files amit_chandak Linux - Newbie 5 03-04-2006 03:57 PM
Doubt about configuring YOU - suse Yast Online Update bruno buys Linux - Software 0 05-07-2004 02:07 AM
samba configuration doubt amit666 Linux - Newbie 4 03-29-2004 12:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:52 AM.

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