Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 21:14:01 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        Fred Gilham <gilham@csl.sri.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Question about su and network
Message-ID:  <20050715191401.GI36726@hoeg.nl>
In-Reply-To: <200507151906.j6FJ6JqP034933@mx1.csl.sri.com>
References:  <200507151906.j6FJ6JqP034933@mx1.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--uJrvpPjGB3z5kYrA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Fred Gilham <gilham@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.
>=20
> 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,
--=20
 Ed Schouten <ed@fxq.nl>

--uJrvpPjGB3z5kYrA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC2Ar5mVI4SHXwmhERArEqAKDUFpUV1BLGW2yAHurojlL24D/QpwCfTnY+
qBbrwR2DeVvCONWNZSqShFA=
=B+Rd
-----END PGP SIGNATURE-----

--uJrvpPjGB3z5kYrA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050715191401.GI36726>