Question about su and network
Ed Schouten
ed at fxq.nl
Fri Jul 15 19:14:02 GMT 2005
* 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050715/fa662279/attachment.bin
More information about the freebsd-current
mailing list