From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 4 Feb 2015 13:49:26 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3fed0546-ead9-11e9-9d60-3106f5b1d025 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