9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] killing 'none'
@ 2008-09-08 17:17 Antonin Vecera
  2008-09-08 17:27 ` andrey mirtchovski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Antonin Vecera @ 2008-09-08 17:17 UTC (permalink / raw)
  To: 9fans

Hello all,

I run on my terminal a process, which switches user id to 'none' (f.e. tftpd).
I can't kill that process.

ps | grep none
none   132   0:00   0:00   140K   Open   tftpd

echo kill>/proc/132/note
/proc/132/note: rc: can't open: '/proc/132/note' permission denied

Is it somehow possible to kill that process?
Or is it necessary to reboot?


Antonin



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] killing 'none'
  2008-09-08 17:17 [9fans] killing 'none' Antonin Vecera
@ 2008-09-08 17:27 ` andrey mirtchovski
  2008-09-08 17:29 ` erik quanstrom
  2008-09-08 17:29 ` Skip Tavakkolian
  2 siblings, 0 replies; 5+ messages in thread
From: andrey mirtchovski @ 2008-09-08 17:27 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

try Kill instead of kill

On Mon, Sep 8, 2008 at 11:17 AM, Antonin Vecera
<antonin.vecera@gmail.com> wrote:
> Hello all,
>
> I run on my terminal a process, which switches user id to 'none' (f.e. tftpd).
> I can't kill that process.
>
> ps | grep none
> none   132   0:00   0:00   140K   Open   tftpd
>
> echo kill>/proc/132/note
> /proc/132/note: rc: can't open: '/proc/132/note' permission denied
>
> Is it somehow possible to kill that process?
> Or is it necessary to reboot?
>
>
> Antonin
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] killing 'none'
  2008-09-08 17:17 [9fans] killing 'none' Antonin Vecera
  2008-09-08 17:27 ` andrey mirtchovski
@ 2008-09-08 17:29 ` erik quanstrom
  2008-09-08 17:29 ` Skip Tavakkolian
  2 siblings, 0 replies; 5+ messages in thread
From: erik quanstrom @ 2008-09-08 17:29 UTC (permalink / raw)
  To: antonin.vecera, 9fans

> I run on my terminal a process, which switches user id to 'none' (f.e. tftpd).
> I can't kill that process.
>
> ps | grep none
> none   132   0:00   0:00   140K   Open   tftpd
>
> echo kill>/proc/132/note
> /proc/132/note: rc: can't open: '/proc/132/note' permission denied
>
> Is it somehow possible to kill that process?
> Or is it necessary to reboot?

if you are the hostowner, then

	# chmod a+w /proc/132/note
	# echo kill>/proc/132/note

- erik



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] killing 'none'
  2008-09-08 17:17 [9fans] killing 'none' Antonin Vecera
  2008-09-08 17:27 ` andrey mirtchovski
  2008-09-08 17:29 ` erik quanstrom
@ 2008-09-08 17:29 ` Skip Tavakkolian
  2008-09-08 17:37   ` Antonin Vecera
  2 siblings, 1 reply; 5+ messages in thread
From: Skip Tavakkolian @ 2008-09-08 17:29 UTC (permalink / raw)
  To: 9fans

if you're the host owner, you can do 'Kill' -- with a captial k.

> Hello all,
>
> I run on my terminal a process, which switches user id to 'none' (f.e. tftpd).
> I can't kill that process.
>
> ps | grep none
> none   132   0:00   0:00   140K   Open   tftpd
>
> echo kill>/proc/132/note
> /proc/132/note: rc: can't open: '/proc/132/note' permission denied
>
> Is it somehow possible to kill that process?
> Or is it necessary to reboot?
>
>
> Antonin




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] killing 'none'
  2008-09-08 17:29 ` Skip Tavakkolian
@ 2008-09-08 17:37   ` Antonin Vecera
  0 siblings, 0 replies; 5+ messages in thread
From: Antonin Vecera @ 2008-09-08 17:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, Sep 8, 2008 at 7:29 PM, Skip Tavakkolian <9nut@9netics.com> wrote:
> if you're the host owner, you can do 'Kill' -- with a captial k.
>
>> Hello all,
>>
>> I run on my terminal a process, which switches user id to 'none' (f.e. tftpd).
>> I can't kill that process.
>>
>> ps | grep none
>> none   132   0:00   0:00   140K   Open   tftpd
>>
>> echo kill>/proc/132/note
>> /proc/132/note: rc: can't open: '/proc/132/note' permission denied
>>
>> Is it somehow possible to kill that process?
>> Or is it necessary to reboot?
>>
>>
>> Antonin

Yes, it works! :-)
Thanks.

Antonin



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-08 17:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08 17:17 [9fans] killing 'none' Antonin Vecera
2008-09-08 17:27 ` andrey mirtchovski
2008-09-08 17:29 ` erik quanstrom
2008-09-08 17:29 ` Skip Tavakkolian
2008-09-08 17:37   ` Antonin Vecera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).