zsh-users
 help / color / mirror / code / Atom feed
From: "Thomas Köhler" <jean-luc@picard.franken.de>
To: ZSH User List <zsh-users@sunsite.dk>
Subject: Re: how to find out who I am
Date: Tue, 5 Aug 2003 09:06:44 +0200	[thread overview]
Message-ID: <20030805070644.GA22546@picard.franken.de> (raw)
In-Reply-To: <m2vftdc5x1.fsf@freebie.phydeaux.org>

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Fletch wrote [2003/08/05]:
> >>>>> "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.
           ^
           wiping out the "REALME" variable? I don't think that's
           what is intended :)

Ciao,
Thomas

-- 
 Thomas Köhler 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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-08-05  7:14 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
2003-08-05  7:06       ` Thomas Köhler [this message]
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=20030805070644.GA22546@picard.franken.de \
    --to=jean-luc@picard.franken.de \
    --cc=zsh-users@sunsite.dk \
    /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).