|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Anne Wilson (cannewilson
googlemail.com)
Date: Sun Nov 18 2007 - 08:39:31 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sunday 18 November 2007 13:37:38 Tony Earnshaw wrote:
> Anne Wilson skrev, on 18-11-2007 14:28:
>
> [...]
>
> then. I have
>
> > hosts: files nis dns
>
> So are you running NIS? If not, vi /etc/nsswitch.conf :/hosts yyp k 0 i
> # j 0 w dw :wq and try again ;)
>
> -- Tonni
I removed nis and sure enough it now works perfectly by name. I had accepted
a default, on the principle that if you are not sure what something does,
leave it alone unless you are certain you are not going to break
something. :-)
Thanks for that. I'll know what to look for if I meet this again.
Anne
--
Registered Linux User No.293302 (http://counter.li.org/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQBHQE6jj93fyh4cnBcRAoHXAJ45JCWUxKmk7gZqjs7AfFLMhtkTKQCffkYk
26Xgj99L1UCPfDxIL0Sbz44=
=rHNa
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]