Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to find out who I am
- X-seq: zsh-users 6454
- From: Fletch <fletch@xxxxxxxxxxxx>
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- Subject: Re: how to find out who I am
- Date: 04 Aug 2003 20:19:22 -0400
- Cc: ZSH User List <zsh-users@xxxxxxxxxx>
- In-reply-to: <20030804231842.GA15136@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Very Little
- References: <20030804194344.GA30657@xxxxxxxxx> <m23cghdwa7.fsf@xxxxxxxxxxxxxxxxxxxx> <20030804231842.GA15136@xxxxxxxxx>
- Sender: fletch@xxxxxxxxxxxxxxxxxxxx
>>>>> "Andy" == Andy Spiegl <zsh.Andy@xxxxxxxxx> 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@xxxxxxxxxxxx | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
Messages sorted by:
Reverse Date,
Date,
Thread,
Author