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

Re: kein sudo möglich nach upgrade von etch auf lenny



* Ulrich Fürst <Fuerst.Ulrich@vr-web.de> wrote:
> Hans-Georg Bork wrote:
> > Moin,
> > 
> > On Fri, 2009-02-20 at 10:13 +0100, Ulrich Fürst wrote:
> > > Hans-Georg Bork wrote:
> > > > Ist Dein hostname etwa localhost??
> > > Nein:
> > > $ cat /etc/hostname
> > > primus
> > 
> > was liefert denn /bin/hostname? Versuch auch zum
> > Vergleichen /bin/hostname --fqdn ...
> 
> hostname --fqdn, hostname -s und hostname  liefern 
> jeweils "primus". 
> "hostname -a" liefert aber "localhost"

Du schriebst:
$ cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 primus localhost

s
,----[ man hosts ]-
| DESCRIPTION
| This  manual  page  describes the format of the /etc/hosts file.
| This file is a simple text file that associates IP addresses with
| hostnames, one line per IP address. For each host a single line should be present
| with the following information:
| 
|               IP_address canonical_hostname [aliases...]
`----

Somit ist localhost der alias vom primus.


Reply to: