From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: christophe DAMAS Date: Wed, 4 Feb 2015 01:17:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) Subject: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3f9efd38-ead9-11e9-9d60-3106f5b1d025 I need to access to /adm/timezone to change the timezone. How do I log as user adm ? I use the standard plan9.iso image downloaded form ATT web site. I have not set any password. Glenda is automatically logged in. I've tried auth/changeuser but get "/mnt/key/adm permission denied" in return. I'm new to plan9. Read ATT docs, but I have not understand how to set password, and how to log as another user? Can someone help me ? From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 3 Feb 2015 21:21:21 -0600 Message-ID: From: Steven Stallion To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1139872e79963d050e3aaeed Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3faa5ff2-ead9-11e9-9d60-3106f5b1d025 --001a1139872e79963d050e3aaeed Content-Type: text/plain; charset=UTF-8 On Tue, Feb 3, 2015 at 7:17 PM, christophe DAMAS wrote: > I need to access to /adm/timezone to change the timezone. > > How do I log as user adm ? > > I use the standard plan9.iso image downloaded form ATT web site. > I have not set any password. Glenda is automatically logged in. > I've tried auth/changeuser but get "/mnt/key/adm permission denied" in > return. > > I'm new to plan9. Read ATT docs, but I have not understand how to set > password, and how to log as another user? > > Can someone help me ? > Short answer: you don't. Historically adm is the owner of the file system, whereas eve is the host owner (i.e. the initial user at boot). "bootes" is the traditional host owner and is normally added to the adm group (check /adm/users for detail). The easiest way to interact with the system as eve is to use the console. If you're running a default system, this should be all that is needed. Cheers, Steve --001a1139872e79963d050e3aaeed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= ue, Feb 3, 2015 at 7:17 PM, christophe DAMAS <christophe.damas@g= mail.com> wrote:
I need t= o access to /adm/timezone to change the timezone.

How do I log as user adm ?

I use the standard plan9.iso image downloaded form ATT web site.
I have not set any password. Glenda is automatically logged in.
I've tried auth/changeuser but get "/mnt/key/adm permission denied= " in return.

I'm new to plan9. Read ATT docs, but I have not understand how to set password, and how to log as another user?

Can someone help me ?

Short answer: you= don't.

Historically adm is the owner of the f= ile system, whereas eve is the host owner (i.e. the initial user at boot). = "bootes" is the traditional host owner and is normally added to t= he adm group (check /adm/users for detail). The easiest way to interact wit= h the system as eve is to use the console. If you're running a default = system, this should be all that is needed.

Cheers,=

Steve=C2=A0
--001a1139872e79963d050e3aaeed-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 3 Feb 2015 19:46:28 -0800 To: 9fans@9fans.net Message-ID: <72dc1d01317687220bbbe888d07fbbe5@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3faf2690-ead9-11e9-9d60-3106f5b1d025 > > How do I log as user adm ? > > > > I use the standard plan9.iso image downloaded form ATT web site. > > I have not set any password. Glenda is automatically logged in. > > I've tried auth/changeuser but get "/mnt/key/adm permission denied" in > > return. > > > > I'm new to plan9. Read ATT docs, but I have not understand how to set > > password, and how to log as another user? > > > > Can someone help me ? > > > > Short answer: you don't. > > Historically adm is the owner of the file system, whereas eve is the host > owner (i.e. the initial user at boot). "bootes" is the traditional host > owner and is normally added to the adm group (check /adm/users for detail). > The easiest way to interact with the system as eve is to use the console. > If you're running a default system, this should be all that is needed. thanks for connecting a slightly rogue thought i'd had. i'd always thought of the authentication user of the file server (i use tor) as the hostowner, but in fact it's not. i would recommend *not* adding the cpu host owner to adm, as this preserves the separation of powers as in /sys/doc/9.ps. one can take this further by making the hostowner of the auth server different from other cpu servers, if you have a large network. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Wed, 04 Feb 2015 01:17:00 GMT." References: Date: Tue, 3 Feb 2015 21:42:12 -0800 From: Bakul Shah Message-Id: <20150204054212.571F8B827@mail.bitblocks.com> Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3fbf6b54-ead9-11e9-9d60-3106f5b1d025 On Wed, 04 Feb 2015 01:17:00 GMT christophe DAMAS wrote: > I need to access to /adm/timezone to change the timezone. > > How do I log as user adm ? > > I use the standard plan9.iso image downloaded form ATT web site. Do you mean 9pi.img? > I have not set any password. Glenda is automatically logged in. You need to change cmdline.txt on the boot (DOS) partition to not automatically log in as glenda. % c: # this mounts the dos partition % cd /n/c % cp cmdline-term.txt cmdline.txt % fshalt # wait till it says "done halting" ^T^Tr # reboot Now it will prompt you for a user name. Use sys or some other name from the line starting with adm: in /adm/users. > I'm new to plan9. Read ATT docs, but I have not understand how to set > password, and how to log as another user? Just reboot and log in as another user. See the plan9 wiki for a more elaborate setup. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Wed, 4 Feb 2015 09:52:24 +0000 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3fdc8f22-ead9-11e9-9d60-3106f5b1d025 > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Wed, 4 Feb 2015 13:06:14 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 3fe5268c-ead9-11e9-9d60-3106f5b1d025 > 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). On my server(s), "9fs fossil" mounts fossil -AWP on /n/fossil. That allows me to really fool around. I haven't wrecked any servers yet and venti is always there as a catch net anyway. Lucio. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: Christophe DAMAS Date: Thu, 5 Feb 2015 00:37:51 +0100 Message-ID: References: <20150204054212.571F8B827@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed User-Agent: Unison/2.2 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] adm "user" on plan9 raspberry pi Topicbox-Message-UUID: 40a61af4-ead9-11e9-9d60-3106f5b1d025 On 2015-02-04 05:42:12 +0000, Bakul Shah said: > On Wed, 04 Feb 2015 01:17:00 GMT christophe DAMAS=20 > wrote: >> I need to access to /adm/timezone to change the timezone. >>=20 >> How do I log as user adm ? >>=20 >> I use the standard plan9.iso image downloaded form ATT web site. >=20 > Do you mean 9pi.img? >=20 >> I have not set any password. Glenda is automatically logged in. >=20 > You need to change cmdline.txt on the boot (DOS) partition to > not automatically log in as glenda. >=20 > % c: # this mounts the dos partition > % cd /n/c > % cp cmdline-term.txt cmdline.txt > % fshalt # wait till it says "done halting" > ^T^Tr # reboot >=20 > Now it will prompt you for a user name. Use sys or some other > name from the line starting with adm: in /adm/users. >=20 >> I'm new to plan9. Read ATT docs, but I have not understand how to set >> password, and how to log as another user? >=20 > Just reboot and log in as another user. See the plan9 wiki > for a more elaborate setup. You're right I mean 9pi.img (Thanks a lot to Richard Miller) Thanks for your advice I can now select user at boot. From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: Christophe DAMAS Date: Wed, 4 Feb 2015 23:44:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) Subject: Re: [9fans] adm Topicbox-Message-UUID: 40aa2464-ead9-11e9-9d60-3106f5b1d025 Richard Miller <9fans hamnavoe.com> writes: > > > 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 > > Thank's a lot. I works pretty fine, but I need to learn more about fscons to understand why it works.