Re: Cannot gain access to Webmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mo, den 07.11.2005 schrieb Paul Smith um 19:45:

> Thanks, Alexander and Craig. A bit more of research showed to me that
> /etc/hosts exists, but it is completely empty. For sure, I have not
> emptied that file. How can I fill it with the proper contents?
> 
> Paul

With what Craig wrote you should easily be able to recreate the content.
To repeat: /etc/hosts is a plain text file, owned by root:root and chmod
644. Use an editor of choice, mine is "vim". To illustrate you again the
content, here mine as example:

$ cat /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.0.2             serendipity.dogma.lan serendipity

"man hosts" should be explanation enough to understand how the line have
to look like for a correct mapping. Very important is to have a working
mapping for the localhost (so the comment in there).

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 19:52:50 up 9 days, 17:53, load average: 0.09, 0.14, 0.16 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux