9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] v9fs authentication question
Date: Tue,  6 Jun 2017 06:20:31 +0000	[thread overview]
Message-ID: <CAJSxfmJ5Z_a1-1eLiCwnVyz2oN-N8Cx8w=DpAy7Dk5sWrwkqqQ@mail.gmail.com> (raw)
In-Reply-To: <CAPd04b5uVHCJmYmH0SvQSFVDseC_v8ymT6nXbhCVtHghrXh_fg@mail.gmail.com>

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

yes.  in p9p, srv initiates auth and expects factotum to negotiate it.  i
use this (it is from a man page and/or wiki page; i forget):

#!/bin/bash

factotum -n
srv -a bootes bootes
sudo mount -t 9p -o trans=unix,uname=$USER,dfltuid=`id -u`,dfltgid=`id -g`
`namespace`/bootes /mnt/bootes


On Mon, Jun 5, 2017 at 10:10 PM James A. Robinson <jim.robinson@gmail.com>
wrote:

> If I want to be able to use v9fs to mount a plan9 fileserver as a specific
> user, do I need to provide credentials via plan9port factotum?
>
> Drawterm takes an argument about which authentication server to talk to,
> but the directions I see for v9fs seem to only talk about USER environment
> variables, or mounting a factotum interface.
>
>

[-- Attachment #2: Type: text/html, Size: 1116 bytes --]

      parent reply	other threads:[~2017-06-06  6:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06  5:10 James A. Robinson
2017-06-06  6:05 ` David du Colombier
2017-06-06  6:20 ` Skip Tavakkolian [this message]

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='CAJSxfmJ5Z_a1-1eLiCwnVyz2oN-N8Cx8w=DpAy7Dk5sWrwkqqQ@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --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).