Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Cant fg a suspended su (4.1.0-dev-7)
- X-seq: zsh-workers 18322
- From: Philippe Troin <phil@xxxxxxxx>
- To: Peter Whaite <peta@xxxxxxxxxxxxxxxxx>
- Subject: Re: Cant fg a suspended su (4.1.0-dev-7)
- Date: 06 Mar 2003 14:14:53 -0800
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <200303061823.h26INXS07611@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200303061823.h26INXS07611@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Peter Whaite <peta@xxxxxxxxxxxxxxxxx> writes:
> Philippe Troin said:
> >
> > Mrm, that's not GNU su. Or it's a very heavily patched version of GNU
> > su. I've check shellutils 2.0 and it does a straight exec(), and does
> > not leave a parent process like seen above...
>
> Well thats strange. We have (RedHat 7.1)
>
> % rpm -q -f /bin/su
> sh-utils-2.0-13
> % rpm --verify -f /bin/su
> %
Not really strange: shellutils (and GNU su) do not support PAM. Redhat
probably PAMified su and leaves a master process around to implement
the PAM session logout.
> On a RedHat 7.2 system we have sh-utils-2.0.11-5 and su doesnt exec
> itself away there either.
>
> > Peter, can you confirm that this patch makes zsh perform as expected
> > with your su?
>
> Yes it does work.
I assume you've tested both suspend and exec?
Bart, can you check-in the patch in CVS?
Thanks,
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author