9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9fans@sirjofri.de>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] factotum (was: Connect plan9 with Linux SMB resource)
Date: Sun, 10 Apr 2022 11:22:30 +0000 (UTC)	[thread overview]
Message-ID: <46706cb9-7c91-4d63-8c87-1c474ad5b299@sirjofri.de> (raw)
In-Reply-To: <CAMCFwYxa6PDFiAJeJYQTb9oHfMTDXBYdFyr5_aBG9135xdp7cg@mail.gmail.com>

fatotum is quite easy, since it's a client as a filesystem.

The "real" server you can set up (but it's optional) is the secstore 
server which persistently holds your keys.

factotum just uses these keys (or the ones you entered manually or read 
in through a custom mechanism, e.g. a file) to handle all the 
authentication stuff you want to use.

So in the end, factotum is very easy. Just start it in your namespace and 
the programs will automatically use it. You can also run auth/fgui in a 
rio to have a nice entry box for new keys. Really, the complex thing is 
managing the namespace, which is the most important thing in Plan 9 
anyways, so you should definitely learn it.

Common start point for factotum is, run it in your lib/profile. I believe 
it's the standard lib/profile configuration to start the factotum in a 
terminal session and import the terminal factotum in a cpu session.

There's plenty of resources about factotum and auth in Plan 9 systems. Do 
yourself a favor and read the papers (/sys/doc/). Also I'm sure that 
almost all Plan 9 users can give you hints and tips about it since it's 
an integral part of the system.

On my very first Plan 9 laptop I btw just had my keys stored in a plain 
file, unencrypted.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T88b9072e49e773ba-M194adecf428e78a8da7f93ec
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-04-10 11:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10  7:45 [9fans] Connect plan9 with Linux SMB resource Tomás S. Javaloyes
2022-04-10  9:15 ` mkf9
2022-04-10  9:46   ` Tomás S. Javaloyes
2022-04-10 10:18     ` Atticus
2022-04-10 10:58       ` Tomás S. Javaloyes
2022-04-10 11:22         ` sirjofri [this message]
2022-04-10 12:14           ` [9fans] factotum (was: Connect plan9 with Linux SMB resource) Tomás S. Javaloyes
2022-04-10 14:05             ` Steve Simon
2022-04-10 17:39               ` Tomás S. Javaloyes

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=46706cb9-7c91-4d63-8c87-1c474ad5b299@sirjofri.de \
    --to=sirjofri+ml-9fans@sirjofri.de \
    --cc=9fans@9fans.net \
    --subject='Re: [9fans] factotum (was: Connect plan9 with Linux SMB resource)' \
    /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

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