Discussion:
[9fans] How to reboot with normal user
(too old to reply)
erik quanstrom
2013-02-21 00:28:30 UTC
Permalink
> 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
Costin Chirvasuta
2013-02-21 00:45:16 UTC
Permalink
Logically...
Need to read up on the manuals.

Thanks!

On Thu, Feb 21, 2013 at 2:28 AM, erik quanstrom
<***@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
>
Benjamin Huntsman
2013-02-21 00:47:10 UTC
Permalink
> 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
erik quanstrom
2013-02-21 00:51:37 UTC
Permalink
On Wed Feb 20 19:49:22 EST 2013, ***@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
Benjamin Huntsman
2013-02-21 01:12:56 UTC
Permalink
>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
erik quanstrom
2013-02-21 01:20:56 UTC
Permalink
On Wed Feb 20 20:13:40 EST 2013, ***@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
Loading...