/etc/hosts goes blank by itself
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi: I have a box running SuSE 8.0. I have my /etc/hosts file set to contain the following: 127.0.0.1 localhost 192.168.1.16 mycomputer However, after a while, I noticed I could not print. The lpr command said it could not find lp@localhost. I looked into /etc/hosts and it was empty. Is there a process that would periodically "clean" the hosts file? The box is not connected to the internet, and nobody logs in as root. Any hints would be appreciated. Regards. - -- Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9oz6nu5DxuPWE298RAmN+AJsFZBJ7nFGEOVV0D1KE/dY1Bvu6EACdGK9l bqlmZaaRxNEK2DvlFv7aUMw= =eL/F -----END PGP SIGNATURE-----
On Tue, 8 Oct 2002 14:23:03 -0600
Alfredo Cole
However, after a while, I noticed I could not print. The lpr command said it could not find lp@localhost. I looked into /etc/hosts and it was empty. Is there a process that would periodically "clean" the hosts file? The box is not connected to the internet, and nobody logs in as root. Any hints would be appreciated.
Yeah start yast2 ->system->Editor for /etc/sysconfig and do a search for "/etc/hosts" turn off "beautify" and "check" -- use Perl; #powerful programmable prestidigitation
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Mar 08 Oct 2002 10:39, zentara escribió:
On Tue, 8 Oct 2002 14:23:03 -0600 (...)
Yeah start yast2 ->system->Editor for /etc/sysconfig
and do a search for "/etc/hosts"
turn off "beautify" and "check"
This is the first thing I did. But it keeps happenning. I will keep trying. Thank you. - -- Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9o0ipu5DxuPWE298RAv0mAJsH5yMhKd0YgLbrWeO548HFi+FsrQCeLm8J 0a9zo06sGYI/5p4fy6s7L4c= =h9t4 -----END PGP SIGNATURE-----
participants (2)
-
Alfredo Cole
-
zentara