From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12224 invoked from network); 5 Aug 2003 07:14:55 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Aug 2003 07:14:55 -0000 Received: (qmail 10618 invoked by alias); 5 Aug 2003 07:14:43 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6455 Received: (qmail 10607 invoked from network); 5 Aug 2003 07:14:43 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Aug 2003 07:14:43 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.6.190.222] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Aug 2003 7:14:42 -0000 Received: from karnickel.franken.de (localhost [127.0.0.1]) by karnickel.franken.de (8.12.9/8.12.9) with ESMTP id h757Eg0T076739 for ; Tue, 5 Aug 2003 09:14:42 +0200 (CEST) Received: (from uucp@localhost) by karnickel.franken.de (8.12.9/8.12.2/Submit) with UUCP id h757EgFh076738 for zsh-users@sunsite.dk; Tue, 5 Aug 2003 09:14:42 +0200 (CEST) (envelope-from jean-luc@picard.franken.de) Received: by picard.franken.de (Postfix, from userid 1001) id DE02A5BBD5; Tue, 5 Aug 2003 09:06:44 +0200 (CEST) Date: Tue, 5 Aug 2003 09:06:44 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: ZSH User List Subject: Re: how to find out who I am Message-ID: <20030805070644.GA22546@picard.franken.de> Mail-Followup-To: ZSH User List References: <20030804194344.GA30657@spiegl.de> <20030804231842.GA15136@spiegl.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: X-Operating-System: Linux picard 2.4.18 X-Editor: VIM - Vi IMproved 6.2 http://www.vim.org/ X-IRC: tirc; Nick: jeanluc X-URL: http://jeanluc-picard.de/ User-Agent: Mutt/1.5.4i --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fletch wrote [2003/08/05]: > >>>>> "Andy" =3D=3D Andy Spiegl writes: >=20 > Andy> Hi Fletch, > >> ssh root@somehost -t REALME=3Dandy exec zsh ^^^^^^^^^^^ > Andy> Great. Does that have any disadvantages (i.e. any > Andy> differences) from compared with the "normal" ssh > Andy> root@somehost ??? >=20 > Shouldn't. The -t makes ssh allocate a pty even though you've given > it a command to run so things that need one (like zsh or vi :) will > have one. If you want it to be more like a normal login you could do > `exec su - root' instead. ^ wiping out the "REALME" variable? I don't think that's what is intended :) Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - Linux <>< WWW: http://jeanluc-picard.de | for Computers IRC: jeanluc | on All Real PGP public key available from Homepage! | Starships --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/L1eETEYXWMJlHuYRAh3PAJ4vBzSY5x2iXQRlEoU0YVLwNgzyeQCeNDrE MdQyex7jNYLnmnKMwjA1nVg= =XN79 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--