Date: Sat, 22 Aug 1998 21:34:39 -0700 (PDT) From: David Wolfskill <dhw@whistle.com> To: lh@aus.org, questions@FreeBSD.ORG Subject: Re: exec exiting su Message-ID: <199808230434.VAA13016@pau-amma.whistle.com> In-Reply-To: <XFMail.980822232326.lh@aus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Sat, 22 Aug 1998 23:23:26 -0400 (EDT) >From: Luke <lh@aus.org> >Hi I was just chatting on irc and someone was complaining about their 'su' >ending whenever they used 'exec'. I went and tried it in csh/tcsh/sh/bash >and it happened to me as well, no matter what if I was su'd and did 'exec ><anything> it exec'd it and exited to the previous shell. Is there a reason for >that or is it just an oddity? Behavior of "exec" was just discussed on the list (yes, I note that you said you weren't on the list; please see the archives). Basically, "exec" *replaces* the program that invoked it. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808230434.VAA13016>