zsh-users
 help / color / mirror / code / Atom feed
From: Fletch <fletch@phydeaux.org>
To: Andy Spiegl <zsh.Andy@spiegl.de>
Cc: ZSH User List <zsh-users@sunsite.dk>
Subject: Re: how to find out who I am
Date: 04 Aug 2003 20:19:22 -0400	[thread overview]
Message-ID: <m2vftdc5x1.fsf@freebie.phydeaux.org> (raw)
In-Reply-To: <20030804231842.GA15136@spiegl.de>

>>>>> "Andy" == Andy Spiegl <zsh.Andy@spiegl.de> 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


  reply	other threads:[~2003-08-05  0:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04 19:43 Andy Spiegl
     [not found] ` <75FEBB10-C6B4-11D7-9809-000393A707CC@eziba.com>
2003-08-04 19:58   ` Andy Spiegl
2003-08-04 20:04 ` Fletch
2003-08-04 23:18   ` Andy Spiegl
2003-08-05  0:19     ` Fletch [this message]
2003-08-05  7:06       ` Thomas Köhler
2003-08-08 17:35     ` Bart Schaefer
2003-08-08 19:37       ` Andy Spiegl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vftdc5x1.fsf@freebie.phydeaux.org \
    --to=fletch@phydeaux.org \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh.Andy@spiegl.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).