From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4921 invoked from network); 5 Aug 2003 00:19:13 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Aug 2003 00:19:13 -0000 Received: (qmail 15651 invoked by alias); 5 Aug 2003 00:19:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6454 Received: (qmail 15639 invoked from network); 5 Aug 2003 00:19:01 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Aug 2003 00:19:01 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.27.174.66] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Aug 2003 0:19:1 -0000 Received: from freebie.phydeaux.org (localhost.phydeaux.org [127.0.0.1]) by freebie.phydeaux.org (8.12.6/8.12.6) with ESMTP id h750JOt8017210; Mon, 4 Aug 2003 20:19:25 -0400 (EDT) (envelope-from fletch@phydeaux.org) Received: (from fletch@localhost) by freebie.phydeaux.org (8.12.6/8.12.6/Submit) id h750JObE017207; Mon, 4 Aug 2003 20:19:24 -0400 (EDT) X-Authentication-Warning: freebie.phydeaux.org: fletch set sender to fletch@phydeaux.org using -f Sender: fletch@freebie.phydeaux.org To: Andy Spiegl Cc: ZSH User List Subject: Re: how to find out who I am References: <20030804194344.GA30657@spiegl.de> <20030804231842.GA15136@spiegl.de> From: Fletch Organization: Very Little Date: 04 Aug 2003 20:19:22 -0400 In-Reply-To: <20030804231842.GA15136@spiegl.de> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Andy" == Andy Spiegl writes: Andy> Hi Fletch, >> ssh root@somehost -t REALME=andy exec zsh Andy> Great. Does that have any disadvantages (i.e. any Andy> differences) from compared with the "normal" ssh Andy> root@somehost ??? 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. -- Fletch | "If you find my answers frightening, __`'/| fletch@phydeaux.org | Vincent, you should cease askin' \ o.O' 770 294-0820 (m) | scary questions." -- Jules =(___)= | U