On Wed, 26 Feb 1997, Philippe Troin wrote:

> 
> On Wed, 26 Feb 1997 15:13:58 +0100 Andreas Nowack ([EMAIL PROTECTED]
> achen.de) wrote:
> 
> > lprm can't regonize that the user "spiegl" is a local user because of
> > a problem with your hostname in /etc/hostname and /etc/hosts.
> > 
> > If /etc/hostname looks like
> >     your_hostname
> > 
> > then your /etc/hosts file should contain a line like this
> >     <your ip number>   your_hostname   your_hostname.somewhere.com
> > 
> > The order of the two names in /etc/hosts is very important.
> 
> This is as simple as that !
> This should be put ASAP in the lpd documentation.
I agree! After a long time I found the solution somewhere in the
debian-bug-list.

> But doesn't it conflict with the requirement that the official name for a 
> machine (ie FQDN) should be put first in /etc/hosts ?
I don't know. Another way is:

/etc/hostname:
        your_hostname.somewhere.com

/etc/hosts:
        <your ip number>   your_hostname.somewhere.com   your_hostname

The disadvantage (?) of this way is that then the login prompt will look like
        your_hostname.somewhere.com login: _   


Andreas

------------------------------------------------------------------------------
Andreas Nowack        mail: Kastanienweg 31, Zi. 3314, D-52074 Aachen, Germany 
                       tel: +49-241-876597
 \|/ ____ \|/  
 "@'/ ,. \`@"        email: [EMAIL PROTECTED]
 /_| \__/ |_\          www: http://www.kawo2.rwth-aachen.de/~nowack
    \__U_/     fingerprint: B6 1D 0E F6 09 7B A0 EB  38 DB D1 2F C2 F7 48 06
------------------------------------------------------------------------------
                            Beware of the Penguin!
------------------------------------------------------------------------------
   "Prediction is very difficult, especially of the future."  -  Niels Bohr


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to