9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cpu server as FS
@ 2001-05-04  1:23 matt
  0 siblings, 0 replies; 5+ messages in thread
From: matt @ 2001-05-04  1:23 UTC (permalink / raw)
  To: 9fans

Hullo 9fans,

urghh 2.20am

I've spent the evening setting up my first auth server.

it works fine i think but of course I made it look for a file server
it can't find (itself!).

The wiki page says :
"A set of patches to kfs exists to make it act as a network file server,
so that you could use one machine to support the network rather than
needing two."

Did Fermat write that line? How can I find these mysterious patches?

Sorry if thay are somewhere obvious but like I say it's late & I'm
tired and I'm hoping help will be at hand when I wake up to carry on.


-- 
 matt                          mailto:matt@proweb.co.uk




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

* Re: [9fans] cpu server as FS
@ 2001-05-08 13:22 rob pike
  0 siblings, 0 replies; 5+ messages in thread
From: rob pike @ 2001-05-08 13:22 UTC (permalink / raw)
  To: 9fans

	Man pages do not show options "listen" and "noauth" for kfscmd - where it
	came from ?

It looks to me that /sys/man/8/kfscmd does contain an entry for "listen",
but "noauth" and "nosync" are undocumented (unintentionally).

Noauth disables authentication checking.

Nosync disables the timer than automatically synchronizes the buffers
to the disk, to preserve power on battery-powered laptops.

-rob



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

* Re: [9fans] cpu server as FS
  2001-05-04  8:53 Richard Miller
@ 2001-05-08  8:30 ` Alexander Povolotsky
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Povolotsky @ 2001-05-08  8:30 UTC (permalink / raw)
  To: 9fans

Man pages do not show options "listen" and "noauth" for kfscmd - where it
came from ?
"Richard Miller" <miller@hamnavoe.demon.co.uk> wrote in message
news:E14vbls-000C0G-0B@finch-post-11.mail.demon.net...
> > I think.  It only works on cpu servers
> > (/dev/key has to be readable).
>
> True, for file service with authentication you do need to run it on a
> cpu server.
>
> But kfs on a terminal will also serve its filesystem to the network
> if you do 'disk/kfscmd listen'.  If you add 'disk/kfscmd noneattach',
> then other machines will be able to attach as user 'none'.
> If you add 'disk/kfscmd noauth', other machines will be able to attach
> as any user, but kfs will accept the remote user identity without
> attempting to authenticate.
>
> Clearly this is not at all secure; but it may be useful on a local
> network of trusted machines, with no outside connection -- for example,
> to "synchronise" your laptop with the fs on a standalone Plan 9 machine.
>
> -- Richard
>


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

* Re: [9fans] cpu server as FS
@ 2001-05-04  8:53 Richard Miller
  2001-05-08  8:30 ` Alexander Povolotsky
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Miller @ 2001-05-04  8:53 UTC (permalink / raw)
  To: 9fans

> I think.  It only works on cpu servers
> (/dev/key has to be readable).

True, for file service with authentication you do need to run it on a
cpu server.

But kfs on a terminal will also serve its filesystem to the network
if you do 'disk/kfscmd listen'.  If you add 'disk/kfscmd noneattach',
then other machines will be able to attach as user 'none'.
If you add 'disk/kfscmd noauth', other machines will be able to attach
as any user, but kfs will accept the remote user identity without
attempting to authenticate.

Clearly this is not at all secure; but it may be useful on a local
network of trusted machines, with no outside connection -- for example,
to "synchronise" your laptop with the fs on a standalone Plan 9 machine.

-- Richard



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

* Re: [9fans] cpu server as FS
@ 2001-05-04  1:49 Russ Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2001-05-04  1:49 UTC (permalink / raw)
  To: 9fans

> "A set of patches to kfs exists to make it act as a network file server,
> so that you could use one machine to support the network rather than
> needing two."

It's in the main distribution.  Man kfscmd(8).

You want to do
	disk/kfscmd listen

I think.  It only works on cpu servers
(/dev/key has to be readable).

Russ


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

end of thread, other threads:[~2001-05-08 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-04  1:23 [9fans] cpu server as FS matt
2001-05-04  1:49 Russ Cox
2001-05-04  8:53 Richard Miller
2001-05-08  8:30 ` Alexander Povolotsky
2001-05-08 13:22 rob pike

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