9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Nicolas Bercher <nbercher@yahoo.fr>
To: 9fans@9fans.net
Subject: Re: [9fans] mount with different username
Date: Tue,  7 Jan 2014 18:33:58 +0100	[thread overview]
Message-ID: <52CC3A86.9030201@yahoo.fr> (raw)
In-Reply-To: <CAOCRf5WA10QKTJRzj-fQbfE4uhgjHBvd+jdxJiw5137Byi_0mg@mail.gmail.com>

On 07/01/2014 18:17, Bence Fábián wrote:
> Hi fans!
>
> I want to mount my filesystem on a linux machine from plan9.
> u9fs.log says:
>
>      u9fs
>      kill 23121
>      <- Tversion tag 65535 msize 8216 version '9P2000'
>      -> Rversion tag 65535 msize 8216 version '9P2000'
>      <- Tattach tag 15 fid 527 afid -1 uname bence aname
>      ruserok(, bence) not okay
>      -> Rerror tag 15 ename u9fs: rhosts authentication failed
>
> My username is not bence but bfabian on the linux system.
> That seems to be the problem. I guess maybe i should use
> the -k option of mount(1) but -k 'user=bfabian' doesn't seem
> to be enough.
>
> Any input?
>
> Thanks,
> BenceF
>

When I login with drawterm, I need to use both -u (for drawterm)
and -k (for factotum if I remember well), maybe this is the same for
mount:

   -u bfabian -k 'user=bfabian'

Can't find -u in mount(1) as well as -k in drawterm usage().

Nicolas



  reply	other threads:[~2014-01-07 17:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 17:17 Bence Fábián
2014-01-07 17:33 ` Nicolas Bercher [this message]
2014-01-07 18:56   ` Nicolas Bercher
2014-01-07 19:04 ` Skip Tavakkolian
2014-01-07 19:24   ` Bence Fábián
2014-01-09 10:10     ` Bence Fábián
2014-01-09 10:42       ` Bence Fábián
2014-01-09 12:46         ` Bence Fábián

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=52CC3A86.9030201@yahoo.fr \
    --to=nbercher@yahoo.fr \
    --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).