9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Anthony Sorace <anothy@gmail.com>
To: corey@bitworthy.net,
	Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] a few Q's regarding cpu/auth server
Date: Wed,  5 Aug 2009 22:42:54 -0400	[thread overview]
Message-ID: <509071940908051942g155a8ddem6a5bdb27d0a6885d@mail.gmail.com> (raw)
In-Reply-To: <200908051920.10243.corey@bitworthy.net>

> "/sys/log/cron: rc (cpurc): can't open: 'sys/log/cron' is a directory"
>
> ... not quite sure what to make of that.

that's weird. it shouldn't be a directory, just an append-only file
like most of the others in /sys/log. not sure how it got directoried.
remove and replace.

> * Could anyone explain or tell me where I can find more information
> regarding what all is going on with the following:
>
>   con -l /srv/fscons
>   prompt: uname bootes bootes
>   prompt: uname sys +bootes
>   prompt: uname adm +bootes
>   prompt: fsys main
> main: create /active/cron/bootes bootes bootes d775
> main: create /active/sys/log/cron bootes bootes a664
>
> ... I've read con(1), and I can fathom the obvious basic premise:
> I'm creating a user and assigning it to groups. But what is '/srv/fscons',
> and what is 'fsys main' doing, and where can I find what other commands
> are available and what they do?

/srv/fscons is the conventional location for you fossil console; see
fossilcons(8) for more information, including what uname, fsys, and
create do.

> * At one point I created a new user with 'auth/changeuser' that I didn't
> need/want. What's the suggested means of removing this user?

see keyfs(4). remove the directory.

> * Similarly to the question above, how should I delete a user created
> with uname via fscons?

you may or may not realize this, but it's sometimes non-obvious: users
on the auth server are different from users on a file server, and they
don't need to be the same (depending on what you want). changeuser and
keyfs work on the auth server; anything done on fossil's console
(/srv/fscons) is on the file server. again, see fossilcons(8).

> * I hope I don't get beat up on this one (well, I hope I don't get too beat up
> on _any_ of these questions...), but it seems strange that something as
> important as a cpu/auth server would just go and boot up right into the
> hostowner... apparently this a non issue - so what am I not understanding?

philosophy. plan9, like research unix before it, recognizes that if
you have physical access to the box, all bets are off anyway. security
consists of locking your door.

if you really, really need to get around that, you have a few options.
the closest to "out of the box" is to install and run a screen locker;
a few people have written those, although i'm not entirely certain any
are current. more ambitiously, there was a 3rd edition patch to detach
the console devices from the cpu server itself, asking for login and
treating it as an attached terminal. those are assuredly out of date,
but if you really need the functionality, that's where to start.

alternately, just run something on the console that doesn't have a
"quit" function. the console doesn't have interrupt functionality.



  reply	other threads:[~2009-08-06  2:42 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06  2:20 Corey
2009-08-06  2:42 ` Anthony Sorace [this message]
2009-08-06  6:15   ` Corey
2009-08-06  6:30     ` John Floren
2009-08-06  7:52       ` Corey
2009-08-06  8:19         ` Robert Raschke
2009-08-06 23:28           ` Corey
2009-08-07  0:01             ` John Floren
2009-08-07  0:14               ` ron minnich
2009-08-07  0:17               ` John Floren
2009-08-07  8:55                 ` Steve Simon
2009-08-07  1:00               ` Corey
2009-08-06 10:33         ` Steve Simon
2009-08-07  1:34           ` blstuart
2009-08-07  2:50             ` Anthony Sorace
2009-08-07 12:37               ` Ethan Grammatikidis
2009-08-07 14:37                 ` Anthony Sorace
2009-08-07 14:53                 ` David Leimbach
2009-08-07 12:05           ` Ethan Grammatikidis
2009-08-07 12:29             ` Iruata Souza
2009-08-07 12:39               ` Ethan Grammatikidis
2009-08-07 13:02                 ` Iruata Souza
2009-08-07 13:27                   ` Ethan Grammatikidis
2009-08-07 14:44               ` Wes Kussmaul
2009-08-06 12:54         ` erik quanstrom
2009-08-06 15:16       ` David Leimbach
2009-08-06 11:47     ` erik quanstrom
2009-08-07  0:25       ` Roman Shaposhnik
2009-08-07  0:59         ` hiro
2009-08-07  3:04           ` Daniel Lyons
2009-08-07  3:36             ` John Floren
2009-08-07  9:51               ` erik quanstrom
2009-08-08  4:12               ` lucio
2009-08-07  1:29         ` blstuart
2009-08-10 10:06   ` Corey
2009-08-10 10:33     ` Steve Simon
2009-08-10 10:43       ` Corey
2009-08-10 16:01         ` ron minnich
2009-08-10 20:43           ` Corey
2009-08-11  1:18             ` erik quanstrom
2009-08-07  4:19 lucio
2009-08-07  5:04 ` Corey
2009-08-08  4:26   ` lucio
2009-08-07  4:19 lucio
2009-08-07  4:19 lucio
2009-08-07  4:55 ` Daniel Lyons
2009-08-08  4:08   ` lucio
2009-08-08  7:42     ` Daniel Lyons
2009-08-07  4:56 ` Corey

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=509071940908051942g155a8ddem6a5bdb27d0a6885d@mail.gmail.com \
    --to=anothy@gmail.com \
    --cc=9fans@9fans.net \
    --cc=corey@bitworthy.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).