Re: Question about su and network

From: Ed Schouten <ed_at_fxq.nl>
Date: Fri, 15 Jul 2005 21:14:01 +0200
* Fred Gilham <gilham_at_csl.sri.com> wrote:
> When my ISDN line was down yesterday, I noticed that su from an xterm
> would hang on my FreeBSD box.  Logging in as root from a virtual console
> would work OK.  After the network came back everything went back to
> normal.
> 
> Is there a way I can avoid this behavior?  I mean the hanging, not the
> return to normal operation. :-)

This would probably have happened because your DNS server was
unreachable (su tries to resolve your hostname for the logfiles). This
can be solved by adding your own host to /etc/hosts:

192.168.1.3	myhostname myhostname.mydomain.foo

Yours,
-- 
 Ed Schouten <ed_at_fxq.nl>

Received on Fri Jul 15 2005 - 17:14:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC