From owner-freebsd-questions@FreeBSD.ORG Wed May 26 15:32:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15FD416A4CE for ; Wed, 26 May 2004 15:32:42 -0700 (PDT) Received: from delicious.stderror.at (stdin.stderror.at [213.229.63.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5167C43D41 for ; Wed, 26 May 2004 15:32:41 -0700 (PDT) (envelope-from pinhead@delicious.stderror.at) Received: by delicious.stderror.at (Postfix, from userid 501) id EC8A4B71D7; Thu, 27 May 2004 00:32:05 +0200 (CEST) Date: Thu, 27 May 2004 00:32:03 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20040526223203.GJ549@stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tAmVnWIZ6lqEAvSf" Content-Disposition: inline In-Reply-To: Phone: +43 664 3502198 X-WWW-Home-Page: http://stderror.at X-PGP-Fingerprint: 53F2 28AE 8070 83E0 AFEC 0ABC BBF9 A34A 3ED1 3287 X-Operating-System: Darwin User-Agent: Mutt/1.5.6i Subject: Re: Odd one: my root account disappears into hyperspace. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 22:32:42 -0000 --tAmVnWIZ6lqEAvSf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 03:06:52PM +0100, Andy Holyer wrote: > I ssh into my server as myself, and then su to root. At which point=20 > something odd happens: >=20 > a) the output of some shell commands seems to be redirected somewhere=20 > other then my xterm; > b) when I try to run emacs or vi, I get: "emacs: standard input is not=20 > a tty" >=20 > This doesn't happen when I log in as another user and try it. I've=20 > tried comparing the contents of our two home directories, and there=20 > appears no difference. show us exactly what commands you are using.=20 look for io redirections (< or > in bash) in your .profile,=20 =2Ebashrc, root's .profile and .bashrc and finally /etc/profile and=20 any scripts that are called from within the mentioned files. hth, toni --=20 Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at mehr irrt, der hat auch zu arbeiten aufgehoert | Toni Schmidbauer -- Max Planck | --tAmVnWIZ6lqEAvSf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFAtRriu/mjSj7RMocRAj7yAJkBpIysABv9xA0Q2eFHjGCRoz0tKQCeLsse 2SYBFZEsk0945o1jmabvqXs= =+EJm -----END PGP SIGNATURE----- --tAmVnWIZ6lqEAvSf--