Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Terminal hang when bg/fg root shell on OS X
- X-seq: zsh-users 9909
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: "James F. Hranicky" <jfh@xxxxxxxxxxxx>
- Subject: Re: Terminal hang when bg/fg root shell on OS X
- Date: Fri, 10 Feb 2006 13:14:45 -0800 (PST)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <200602101445.58658.jfh@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200602101445.58658.jfh@xxxxxxxxxxxx>
You might want to consider this workaround, which has the additional merit
of not requiring the root account to be activated (the default on OS X and
Ubuntu Linux, for security reasons):
Just type
sudo screen zsh
You then get a root shell, and can detach it with control-d, reattach it
when you need it, and so forth.
HTH.
Bill
On Fri, 10 Feb 2006, James F. Hranicky wrote:
> When I background then foreground a root shell on OS X I get
> a terminal error:
>
> % 1005 : su -
> Password:
> # exec zsh
> # suspend
>
> zsh: suspended su -
> % fg
> [1] + continued su -
> # zsh: suspended (signal) su -
> % <hit return>
> #
> zsh: error on TTY read: Input/output error
>
> The terminal is hung after this. This doesn't appear to happen
> when suspending a user shell and going back to a root shell.
>
> Anyone have any ideas?
>
> ----------------------------------------------------------------------
> | Jim Hranicky, Senior SysAdmin UF/CISE Department |
> | E314D CSE Building Phone (352) 392-1499 |
> | jfh@xxxxxxxxxxxx http://www.cise.ufl.edu/~jfh |
> ----------------------------------------------------------------------
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author