9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How to reboot with normal user
@ 2013-02-21  0:19 Costin Chirvasuta
  2013-02-21  0:28 ` erik quanstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Costin Chirvasuta @ 2013-02-21  0:19 UTC (permalink / raw)
  To: 9fans

Hello,

How does one reboot remotely (from drawterm)?
I see that /srv/fscons is chmod 600 and owned by bootes.
What is the standard way to do this?



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  0:19 [9fans] How to reboot with normal user Costin Chirvasuta
@ 2013-02-21  0:28 ` erik quanstrom
  2013-02-21  0:45   ` Costin Chirvasuta
  2013-02-21  0:47   ` Benjamin Huntsman
  0 siblings, 2 replies; 7+ messages in thread
From: erik quanstrom @ 2013-02-21  0:28 UTC (permalink / raw)
  To: 9fans

> How does one reboot remotely (from drawterm)?
> I see that /srv/fscons is chmod 600 and owned by bootes.
> What is the standard way to do this?

by cpuing in as bootes.  from drawterm it is legal
to cpu -h $cpuserver -u bootes.

if you have more than a trivial number of machines,
a serial console server is a good idea.  that makes this
sort of thing a little easier.

- erik



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  0:28 ` erik quanstrom
@ 2013-02-21  0:45   ` Costin Chirvasuta
  2013-02-21  0:47   ` Benjamin Huntsman
  1 sibling, 0 replies; 7+ messages in thread
From: Costin Chirvasuta @ 2013-02-21  0:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Logically...
Need to read up on the manuals.

Thanks!

On Thu, Feb 21, 2013 at 2:28 AM, erik quanstrom
<quanstro@labs.coraid.com> wrote:
>> How does one reboot remotely (from drawterm)?
>> I see that /srv/fscons is chmod 600 and owned by bootes.
>> What is the standard way to do this?
>
> by cpuing in as bootes.  from drawterm it is legal
> to cpu -h $cpuserver -u bootes.
>
> if you have more than a trivial number of machines,
> a serial console server is a good idea.  that makes this
> sort of thing a little easier.
>
> - erik
>



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  0:28 ` erik quanstrom
  2013-02-21  0:45   ` Costin Chirvasuta
@ 2013-02-21  0:47   ` Benjamin Huntsman
  2013-02-21  0:51     ` erik quanstrom
  1 sibling, 1 reply; 7+ messages in thread
From: Benjamin Huntsman @ 2013-02-21  0:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> How does one reboot remotely (from drawterm)?

Couldn't consolefs be rigged to allow certain named users (or a group) to do things like what he's asking for?

-Ben



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  0:47   ` Benjamin Huntsman
@ 2013-02-21  0:51     ` erik quanstrom
  2013-02-21  1:12       ` Benjamin Huntsman
  0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2013-02-21  0:51 UTC (permalink / raw)
  To: 9fans

On Wed Feb 20 19:49:22 EST 2013, BHuntsman@mail2.cu-portland.edu wrote:
> > How does one reboot remotely (from drawterm)?
>
> Couldn't consolefs be rigged to allow certain named users (or a group) to do things like what he's asking for?

why would rigging be involved?  it naturally does that.
when i'm doing kernel debugging, this is a pretty natural
way to go:

	C victim
	victim# ^P
	cpu0: exiting
	....

- erik



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  0:51     ` erik quanstrom
@ 2013-02-21  1:12       ` Benjamin Huntsman
  2013-02-21  1:20         ` erik quanstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Huntsman @ 2013-02-21  1:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>why would rigging be involved?  it naturally does that.
>when i'm doing kernel debugging, this is a pretty natural
>way to go:
>
>        C victim
>        victim# ^P
>        cpu0: exiting
>        ....
>
>- erik

I thought so.  I just said "rigging" because I didn't remember how to get it set up. :)

-Ben



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

* Re: [9fans] How to reboot with normal user
  2013-02-21  1:12       ` Benjamin Huntsman
@ 2013-02-21  1:20         ` erik quanstrom
  0 siblings, 0 replies; 7+ messages in thread
From: erik quanstrom @ 2013-02-21  1:20 UTC (permalink / raw)
  To: 9fans

On Wed Feb 20 20:13:40 EST 2013, BHuntsman@mail2.cu-portland.edu wrote:
> >why would rigging be involved?  it naturally does that.
> >when i'm doing kernel debugging, this is a pretty natural
> >way to go:
> >
> >        C victim
> >        victim# ^P
> >        cpu0: exiting
> >        ....
> >
> >- erik
>
> I thought so.  I just said "rigging" because I didn't remember how to get it set up. :)

the trick of using ^T^Tr on terminals and ^P on
cpu servers is slick!

- erik



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

end of thread, other threads:[~2013-02-21  1:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21  0:19 [9fans] How to reboot with normal user Costin Chirvasuta
2013-02-21  0:28 ` erik quanstrom
2013-02-21  0:45   ` Costin Chirvasuta
2013-02-21  0:47   ` Benjamin Huntsman
2013-02-21  0:51     ` erik quanstrom
2013-02-21  1:12       ` Benjamin Huntsman
2013-02-21  1:20         ` erik quanstrom

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).