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 9915
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Terminal hang when bg/fg root shell on OS X
- Date: Sat, 11 Feb 2006 19:55:55 +0000
- In-reply-to: <200602101445.58658.jfh@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200602101445.58658.jfh@xxxxxxxxxxxx>
On Feb 10, 2:45pm, James F. Hranicky wrote:
}
} When I background then foreground a root shell on OS X I get
} a terminal error:
The "exec zsh" is a contributing factor here.
I suspect that you're running into a combination of problems with the
tty's controlling process having changed and with the fact that a
process owned by a normal user (parent shell, before the "su") can't
send a signal to a process owned by root.
Either change root's shell to zsh permanently, or try using
su -l -c zsh
instead of exec'ing zsh after the fact.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author