9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Venkatesh Srinivas <me@acm.jhu.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] remedial sources auth, connect, and mount in plan9port
Date: Thu,  1 Oct 2009 03:44:05 -0400	[thread overview]
Message-ID: <f75780240910010044i3c1d9a8fnf9558cdc3fb5a2ef@mail.gmail.com> (raw)
In-Reply-To: <d50d7d460909302206j49097107idf2c3b4ece87b265@mail.gmail.com>

Hi,

In order to construct an authenticated mount of sources, you will need
to start factotum, use srv -a to create an auth-ed connection to the
server and to "post" it, and to mount the "posted" connection.

(assuming you have a working plan9port install and are on a unix):
$ 9 factotum
(start factotum in the current 'namespace'. p9p's current namespace is
the value of the NAMESPACE environmental variable).

$ srv -a sources.cs.bell-labs.com
(I am prompted for my userid and password on the server)
user[venkatesh]: <my sources username>

[mount step; I use v9fs.You will have to adapt if you're using 9pfuse or 9mount]
$ sudo mount -t 9p $NAMESPACE/sources.cs.bell-labs.com <mountpath> -o trans=unix

Good luck,
-- vs



  reply	other threads:[~2009-10-01  7:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01  5:06 Jason Catena
2009-10-01  7:44 ` Venkatesh Srinivas [this message]
2009-10-01  9:50   ` Jason Catena
2009-10-01 10:04     ` Ethan Grammatikidis
2009-10-01 10:31       ` sqweek
2009-10-01 12:38         ` Abhishek Kulkarni
2009-10-01 15:34         ` Jason Catena
     [not found] <<d50d7d460910010834r40c926barbc3dedd5828f3bd1@mail.gmail.com>
2009-10-01 16:22 ` erik quanstrom
2009-10-02  3:03   ` Jason Catena
     [not found] <<d50d7d460910012003h6aec0d3bj40ebdadac3358b6a@mail.gmail.com>
2009-10-02  3:11 ` erik quanstrom
2009-10-02 16:52   ` Jason Catena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f75780240910010044i3c1d9a8fnf9558cdc3fb5a2ef@mail.gmail.com \
    --to=me@acm.jhu.edu \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).