9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] adm "user" on plan9 raspberry pi
Date: Wed,  4 Feb 2015 13:49:26 +0100	[thread overview]
Message-ID: <CAOEdRO0rvLo-fkWesJOR8ZO6A4QiJdtBsvB8oN9dr5z8=fDi5Q@mail.gmail.com> (raw)
In-Reply-To: <c3ac82031ec3aeccf7f73ec95ffacf55@hamnavoe.com>

On 4 February 2015 at 10:52, Richard Miller <9fans@hamnavoe.com> wrote:
>> I need to access to /adm/timezone to change the timezone.
>>
>> How do I log as user adm ?
>
> To change /adm/timezone you only need to be part of group adm.  If
> you're "logged in" (ie booted) as glenda, just add glenda temporarily
> to the group using the fossil console (as current hostowner, glenda
> has authority over the local fossil).
>
> % echo uname adm +glenda >>/srv/fscons
> % ... do stuff with /adm/timezone
> % echo uname adm -glenda >>/srv/fscons

It's interesting I was solving the same question a couple of days ago.
(I was installing 9atom.)
I think R. Miller's answer is closest to what christophe.DAMAS needed.
(On 9atom one is asked during booting for a user, so there it can be
enough to really 'just log in as adm'.)

It's a pitty this is not as clear as it should be on the wiki.

Anyhow; a related question that came across my mind:

How does a user list all groups they is in?
(to list all users in a group one can
uname group
on the fossil console)

and

What is the difference between
con /srv/fscons
and
con -l /srv/fscons
?

Thanks
Ruda



  parent reply	other threads:[~2015-02-04 12:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  1:17 christophe DAMAS
2015-02-04  3:21 ` Steven Stallion
2015-02-04  3:46   ` erik quanstrom
2015-02-04  5:42 ` Bakul Shah
2015-02-04 23:37   ` Christophe DAMAS
2015-02-04  9:52 ` Richard Miller
2015-02-04 11:06   ` lucio
2015-02-04 12:49   ` Rudolf Sykora [this message]
2015-02-04 23:44   ` [9fans] adm Christophe DAMAS

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='CAOEdRO0rvLo-fkWesJOR8ZO6A4QiJdtBsvB8oN9dr5z8=fDi5Q@mail.gmail.com' \
    --to=rudolf.sykora@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).