9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] secstore
@ 2002-05-15 15:36 anothy
  2002-05-15 23:15 ` [9fans] [OT] accidental Sun serial port halt Jonathan Sergent
  0 siblings, 1 reply; 22+ messages in thread
From: anothy @ 2002-05-15 15:36 UTC (permalink / raw)
  To: 9fans

// We did have to wire DTR high on the consoles to some machines
// like the Sparcs, because if our console server rebooted and DTR
// went down and up (or is it up and down), the Suns also rebooted.

i'm curious: did you buy somethign to do this, or did you make the
needed adaptors yourself? i'm using consolefs (under 3rd edition,
with an Avenstar) right now, to manage a few SPARCs and several
PCs, and i've had that problem, as well. i've addressed this in similar
situations in the past with a sharp knife and soldering iron, but i
was wondering if there might be a more reliable (and less prone to
slicing into my hand) solution.
ア



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 18:22 rsc
  0 siblings, 0 replies; 22+ messages in thread
From: rsc @ 2002-05-15 18:22 UTC (permalink / raw)
  To: 9fans

If you can't handle typing ctl-U, connect to
a system console and run

	cat >/dev/null

And then talk.

Russ



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 16:31 presotto
  0 siblings, 0 replies; 22+ messages in thread
From: presotto @ 2002-05-15 16:31 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 20 bytes --]

Watch your language!

[-- Attachment #2: Type: message/rfc822, Size: 1593 bytes --]

From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] secstore
Date: Wed, 15 May 2002 12:30:51 -0400
Message-ID: <44dbaacf485563385d53e18eac8803ef@plan9.bell-labs.com>

On Wed May 15 12:24:19 EDT 2002, presotto@plan9.bell-labs.com wrote:
> There are (or at least were) do it yourself connectors from our
> store room and from Radio Shack that were a bit easier than
> soldering, just press the wires into the right pins and clip
> closed the connector.

You can still find such things, e.g. the MA9F-8TS at www.altex.com.
Don't forget to buy the insertion tool too.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 16:30 jmk
  0 siblings, 0 replies; 22+ messages in thread
From: jmk @ 2002-05-15 16:30 UTC (permalink / raw)
  To: 9fans

On Wed May 15 12:24:19 EDT 2002, presotto@plan9.bell-labs.com wrote:
> There are (or at least were) do it yourself connectors from our
> store room and from Radio Shack that were a bit easier than
> soldering, just press the wires into the right pins and clip
> closed the connector.

You can still find such things, e.g. the MA9F-8TS at www.altex.com.
Don't forget to buy the insertion tool too.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 16:23 presotto
  0 siblings, 0 replies; 22+ messages in thread
From: presotto @ 2002-05-15 16:23 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

There are (or at least were) do it yourself connectors from our
store room and from Radio Shack that were a bit easier than
soldering, just press the wires into the right pins and clip
closed the connector.

[-- Attachment #2: Type: message/rfc822, Size: 1807 bytes --]

From: anothy@cosym.net
To: 9fans@cse.psu.edu
Subject: Re: [9fans] secstore
Date: Wed, 15 May 2002 11:36:50 -0400
Message-ID: <20020515153656.556D3199EC@mail.cse.psu.edu>

// We did have to wire DTR high on the consoles to some machines
// like the Sparcs, because if our console server rebooted and DTR
// went down and up (or is it up and down), the Suns also rebooted.

i'm curious: did you buy somethign to do this, or did you make the
needed adaptors yourself? i'm using consolefs (under 3rd edition,
with an Avenstar) right now, to manage a few SPARCs and several
PCs, and i've had that problem, as well. i've addressed this in similar
situations in the past with a sharp knife and soldering iron, but i
was wondering if there might be a more reliable (and less prone to
slicing into my hand) solution.
ア

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 15:02 presotto
  0 siblings, 0 replies; 22+ messages in thread
From: presotto @ 2002-05-15 15:02 UTC (permalink / raw)
  To: 9fans

>
> I'm amazed that the last equipment with a soft "stand-by" switch I've
> seen is the 3B2.  You'd think the idea would have taken root a long
> time ago.  APM looks a lot like it, but I'm not up to date with
> technology (I don't think I've ever been and it's getting
> progressively more difficult even to keep the front runners in sight).

Despite its size, I'm hopeful for the ACPI spec. It leaves
everything open (as in public, not GPL) enough to make
universal power management possible by tiny players like Plan 9.
Now, all I have to do is find the month and a half free
to implement it.  I wish it were simpler...


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 14:15 rob pike, esq.
  2002-05-15 14:43 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: rob pike, esq. @ 2002-05-15 14:15 UTC (permalink / raw)
  To: 9fans

> Hm, I saw the idea in consolefs(?), but it seemed too good to be true.
> It would seem that with the trivial addition of /dev/null one could
> build an IRC-like facility too :-)

Why use /dev/null? We just choose a system console and talk there,
hitting control-U after each line.

-rob



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 14:14 presotto
  2002-05-15 14:37 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: presotto @ 2002-05-15 14:14 UTC (permalink / raw)
  To: 9fans

> Hm, I saw the idea in consolefs(?), but it seemed too good to be true.
> It would seem that with the trivial addition of /dev/null one could
> build an IRC-like facility too :-)

You should hack consolefs if you want a real IRC.  consolefs doesn't
tag what the individual users type with their id.  Also, /dev/null
isn't quite right.  Consolefs only broadcasts what comes out of the
console, i.e., the echo of the typed stuff plus output.  You'ld need
a /dev/echo.  However, if you just hacked consolefs, you could do
away with that and have a real IRC.

> I was considering very seriously going that route for my own array of
> low-power obsoletes, and my main client has a similar need with none
> of the ready expertise I can throw at my equipment.  We use a console
> switch, but that's more out of familiarity than convenience, although
> having a locked computer room does reduce the number of console
> accidents.

Our console server is in the machine room.  No sense putting it anywhere
else.

> The power panel has the advantage of allowing us to power down
> equipment when the UPS batteries risk running out, and power equipment
> back up in a chosen sequence.  You folks are lucky in that you seem to
> have a fairly homogenous system, my client lives in the twilight zone
> of SCO Server, NetBSD (various versions), WinNT and a poorly
> administered network of sundry Win95 workstations.  We seem to be in a
> truce period right now, but I don't expect it to last.

We just do the reset for our debugging machines.  A power panel that
we could remotely shut down would be nice too.  When we lose power someone
has to run in and shut down the machines before the UPS's give up.
Luckily, we only need that on our stand alone machines and the file
servers.  We also have a mixed environment.  Pretty much everything
imaginable is controlled by the plan 9 consolefs.  The admins liked
having secure access to the console server(s).  We have 3 of them now,
there are a lot of machines back there.  We did have to wire DTR high
on the consoles to some machines like the Sparcs, because if our console
server rebooted and DTR went down and up (or is it up and down), the
Suns also rebooted.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 13:33 presotto
  2002-05-15 13:59 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: presotto @ 2002-05-15 13:33 UTC (permalink / raw)
  To: 9fans

man consolefs.  We plug all our consoles (including Unix ones)
into a serial line panel on our auth server.  That way we can manage
everything from one place.  If you con(1) to a console
in consolefs then you join a session of people on that console.
You can all type and you all see the output.  Also a message
comes out whenever anyone joins or leaves the group.

It makes managing a large number of machines a little easier.
It also cuts down on the number of monitors and mouse-kbd-display
switches in the machine room.  On some machines we connect the reset
button to a relay that's controlled by DTR and plug them in too.
That way, for our testing machines, we can push the reset button
remotely.

We also have a program (clog) that connects to a console and
writes each line into a file with a timestamp, ala syslog.  It's useful
for crashes and for autditing what was done, when systems
rebooted, etc.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 12:33 presotto
  2002-05-15 13:09 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: presotto @ 2002-05-15 12:33 UTC (permalink / raw)
  To: 9fans

To answer lucio, it's not a matter of obscurity.  You
just don't want the files on a shared file server .  If
it gets backed up, then a mistake of permissions on the file
can last forever in the dump and not be noticed except by
attackers.

Whether or not you let others cpu or rx to the machine which is
the auth server is a separable question.

This still leaves the auth server open to trojan horses and
the like.  I'ld be happier with a standalone auth server that
noone can log onto except for a select few.  There are less
mistakes you can make that compromise security.  Of course,
we don't even do that.  Our auth server is also our console
server so that everyone that needs console access logs on.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 12:26 nigel
  0 siblings, 0 replies; 22+ messages in thread
From: nigel @ 2002-05-15 12:26 UTC (permalink / raw)
  To: 9fans

In the light on Lucio's comment, if I was paranoid, I would need to prevent
the casual user from binding '#'S, or rather, opening /dev/sdC0/fs, since
they could root around in there, rather than use /srv/kfs.

So, for the paranoid, a separate auth server is more sensible. At least,
those paranoid about security. Those of us more paranoid about heat, noise,
and the electricty bill will probably choose a bit of hacking of pccpu.

Assuming the kfs on the cpu server is not protected, the presumably,
keeping secstore on the fileserver is no more insecure?

I'm really only interested in the convenience of having to give a single
password all day.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 12:17 presotto
  0 siblings, 0 replies; 22+ messages in thread
From: presotto @ 2002-05-15 12:17 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

I'ld do the same thing for keyfs also, i.e., put /adm/keys and /adm/secsore
on the kfs and not make them visible to most processes.  You'll have
to protect /srv/kfs and /srv/kfs.cmd also so that only the hostowner
can open them.

[-- Attachment #2: Type: message/rfc822, Size: 1428 bytes --]

From: nigel@9fs.org
To: 9fans@cse.psu.edu
Subject: Re: [9fans] secstore
Date: Wed, 15 May 2002 12:58:16 +0100
Message-ID: <80dc9d46780953d37104e05c11fbed0f@9fs.org>

So a suitable solution for a combined cpu/auth server would be to use
kfs and bind it over /adm/secstore for the secstored process only?

I note that my cpu sever has a 15Gb disk which is only used for swap
at the moment so I suppose I ought to make better use of it.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 11:58 nigel
  2002-05-15 12:16 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: nigel @ 2002-05-15 11:58 UTC (permalink / raw)
  To: 9fans

So a suitable solution for a combined cpu/auth server would be to use
kfs and bind it over /adm/secstore for the secstored process only?

I note that my cpu sever has a 15Gb disk which is only used for swap
at the moment so I suppose I ought to make better use of it.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 11:55 presotto
  0 siblings, 0 replies; 22+ messages in thread
From: presotto @ 2002-05-15 11:55 UTC (permalink / raw)
  To: 9fans

We keep it on a stand alone auth server that not everyone has
access to and don't let it be generally readable.  Otherwise,
it's open to dictionary attack.  Depends on how paranoid you
want to be.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] secstore
@ 2002-05-15 11:45 forsyth
  0 siblings, 0 replies; 22+ messages in thread
From: forsyth @ 2002-05-15 11:45 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

i suspect it appears only on a standalone authentication server
that doesn't use the file server.

[-- Attachment #2: Type: message/rfc822, Size: 1624 bytes --]

To: 9fans@cse.psu.edu
Subject: [9fans] secstore
Date: Wed, 15 May 2002 12:19:13 +0100
Message-ID: <2ee5435c0b752aaefbcc264e23522b67@9fs.org>

The manul page says that there are deliberately no backups of the secstore,
and that -r is irrevocable.

It looks to me that secstore is sotred in /adm/secstore, so wouldn't
it be saved in a fileserver dump, or am I supposed to bind something
more local to the auth server over /adm/secstore before starting
secstored?

What is the practice at the labs?

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [9fans] secstore
@ 2002-05-15 11:19 nigel
  0 siblings, 0 replies; 22+ messages in thread
From: nigel @ 2002-05-15 11:19 UTC (permalink / raw)
  To: 9fans

The manul page says that there are deliberately no backups of the secstore,
and that -r is irrevocable.

It looks to me that secstore is sotred in /adm/secstore, so wouldn't
it be saved in a fileserver dump, or am I supposed to bind something
more local to the auth server over /adm/secstore before starting
secstored?

What is the practice at the labs?


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

end of thread, other threads:[~2002-05-15 23:15 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-15 15:36 [9fans] secstore anothy
2002-05-15 23:15 ` [9fans] [OT] accidental Sun serial port halt Jonathan Sergent
  -- strict thread matches above, loose matches on Subject: below --
2002-05-15 18:22 [9fans] secstore rsc
2002-05-15 16:31 presotto
2002-05-15 16:30 jmk
2002-05-15 16:23 presotto
2002-05-15 15:02 presotto
2002-05-15 14:15 rob pike, esq.
2002-05-15 14:43 ` Lucio De Re
2002-05-15 14:14 presotto
2002-05-15 14:37 ` Lucio De Re
2002-05-15 13:33 presotto
2002-05-15 13:59 ` Lucio De Re
2002-05-15 12:33 presotto
2002-05-15 13:09 ` Lucio De Re
2002-05-15 12:26 nigel
2002-05-15 12:17 presotto
2002-05-15 11:58 nigel
2002-05-15 12:16 ` Lucio De Re
2002-05-15 11:55 presotto
2002-05-15 11:45 forsyth
2002-05-15 11:19 nigel

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