Re: NIS question!
From: Martin Paul (map_at_par.univie.ac.at)
Date: 07/09/04
- Next message: Marc: "Re: How can I install libsendfile.so.1?"
- Previous message: Martin Paul: "Re: opera 7.x sol9 error"
- In reply to: UNIX admin: "NIS question!"
- Next in thread: Richard L. Hamilton: "Re: NIS question!"
- Reply: Richard L. Hamilton: "Re: NIS question!"
- Reply: UNIX admin: "Re: NIS question!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 09 Jul 2004 11:08:34 GMT
UNIX admin <tripivceta@hotmail.com> wrote:
> When I do `ypcat hosts` I get a list of all the hostnames... except that the
> entries are repeated several times in the output, like so:
>
> 1.1.1.1 hostname1.us.domain.net hostname1.us.domain.com
> 1.1.1.1 hostname1.us.domain.net hostname1.us.domain.com
The NIS hosts map is indexed with the hostname as key (run
`ypcat -k hosts` to get the key to show up in the list, too).
Therefore, you get one entry for every hostname/host alias
listed in the hosts file.
mp.
-- Systems Administrator | Institute for Software Science | Univ. of Vienna
- Next message: Marc: "Re: How can I install libsendfile.so.1?"
- Previous message: Martin Paul: "Re: opera 7.x sol9 error"
- In reply to: UNIX admin: "NIS question!"
- Next in thread: Richard L. Hamilton: "Re: NIS question!"
- Reply: Richard L. Hamilton: "Re: NIS question!"
- Reply: UNIX admin: "Re: NIS question!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|