From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Charles Forsyth Date: Tue, 25 Jul 2017 10:14:37 +0100 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary="001a1140216ec128cb055520c23a" Subject: Re: [9fans] Killing another user's process Topicbox-Message-UUID: c06c6ff4-ead9-11e9-9d60-3106f5b1d025 --001a1140216ec128cb055520c23a Content-Type: text/plain; charset="UTF-8" lower case kill restricts the list to processes of the invoking user initial cap Kill doesn't do that. for lower case kill, you can @{rfork n; echo -n none >/tmp/none && bind /tmp/none /dev/user && kill tftpd} you wouldn't normally of course but aspects of that command might be instructive On 25 July 2017 at 08:34, Peter Hull wrote: > Thanks, Skip. > I thought that ought to work, however 'kill tftpd' doesn't give any > output. (I can kill other processes) > I think maybe I have misunderstood the host owner part. If I do a > plain install (of 9front, actually) from the CD and log in as glenda, > am I not the host owner? > Thanks, > Pete > > > On Mon, 24 Jul 2017 at 20:02 Skip Tavakkolian > wrote: > > > > If you're the host owner, you can: > > > > Kill tftpd | rc > > > > (See rc scripts kill and Kill) > > > > > > On Mon, Jul 24, 2017, 9:41 AM Peter Hull wrote: > >> > >> Is it possible to kill another user's process in plan9? > >> Specifically I've been messing about with tftpd, which sets itself up > >> as user 'none' - if I want to stop the tftp server, how do I do that? > >> Thanks, > >> Pete > >> > > --001a1140216ec128cb055520c23a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
lower case kill restricts the list to processes of the inv= oking user
initial cap Kill doesn't do that.
for lower ca= se kill, you can @{rfork n; echo -n none >/tmp/none && bind /tmp= /none /dev/user && kill tftpd}
you wouldn't normally = of course but aspects of that command might be instructive

On 25 July 2017 at 08:= 34, Peter Hull <peterhull90@gmail.com> wrote:
Thanks, Skip.
I thought that ought to work, however 'kill tftpd' doesn't give= any
output. (I can kill other processes)
I think maybe I have misunderstood the host owner part. If I do a
plain install (of 9front, actually) from the CD and log in as glenda,
am I not the host owner?
Thanks,
Pete


On Mon, 24 Jul 2017 at 20:02 Skip Tavakkolian
<skip.tavakkolian@gmail.co= m> wrote:
>
> If you're the host owner, you can:
>
> Kill tftpd | rc
>
> (See rc scripts kill and Kill)
>
>
> On Mon, Jul 24, 2017, 9:41 AM Peter Hull <peterhull90@gmail.com> wrote:
>>
>> Is it possible to kill another user's process in plan9?
>> Specifically I've been messing about with tftpd, which sets it= self up
>> as user 'none' - if I want to stop the tftp server, how do= I do that?
>> Thanks,
>> Pete
>>


--001a1140216ec128cb055520c23a--