Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
 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



Re: [9fans] How to reboot with normal user

2013-02-20 Thread Costin Chirvasuta
Logically...
Need to read up on the manuals.

Thanks!

On Thu, Feb 21, 2013 at 2:28 AM, erik quanstrom
quans...@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




Re: [9fans] How to reboot with normal user

2013-02-20 Thread Benjamin Huntsman
 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



Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
On Wed Feb 20 19:49:22 EST 2013, bhunts...@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



Re: [9fans] How to reboot with normal user

2013-02-20 Thread Benjamin Huntsman
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



Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
On Wed Feb 20 20:13:40 EST 2013, bhunts...@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