-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At some point hitherto, Brian Medley hath spake thusly: > I'm having an odd problem w/ nis and I was wondering if anyone has ever > seen / knows howto fix it. The problem manifests itself when I try to push > out a hosts file that has domains. For example, if if have a hosts file > that looks like: [SNIP] > All entries are now doubled. Very confusing to me. BTW, this is under RH > 7.3. This is not a problem; this is normal behavior. The reason you have this is that NIS creates a DB hash with one hostname per IP address... i.e. if your IP address has five hostnames associated with it, it will have five entries in the DB. If you want to eliminate the dups for some reason, its easy enough to do that: $ ypcat hosts | uniq Or, since NIS entries are generally unsorted, you might want some variant of: $ ypcat hosts | sort -u HTH. - -- Derek Martin ddm@pizzashack.org - --------------------------------------------- I prefer mail encrypted with PGP/GPG! GnuPG Key ID: 0x81CFE75D Retrieve my public key at http://pgp.mit.edu Learn more about it at http://www.gnupg.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9k07SdjdlQoHP510RAoQ6AJ99osZJg3VPULO01DfosBpV5vGFawCgqNJo TjhjI38W0C0CA9N8yxA2YIY= =54cS -----END PGP SIGNATURE-----