From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 7 Jun 2007 18:22:37 -0400 From: Kris Maglione To: 9fans@cse.psu.edu Subject: Re: [9fans] making yourself at home Message-ID: <20070607222237.GC9948@kris.home> References: <20070607215018.GA12430@mercurius.galaxy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IpbVkmxF4tDyP/Kb" Content-Disposition: inline In-Reply-To: <20070607215018.GA12430@mercurius.galaxy> User-Agent: Mutt/1.5.15 (2007-04-06) Topicbox-Message-UUID: 7ad9ddca-ead2-11e9-9d60-3106f5b1d025 --IpbVkmxF4tDyP/Kb Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In addition to what gabi posted, try the FAQ=20 (http://plan9.bell-labs.com/wiki/plan9/FAQ/index.html). >- After creating a new user, the new user does not (yet) have a > password. Apparently, I cannot use auth/changeuser because I don't > have an auth server (the system is setup as a "terminal" whereas I > would normally consider it a "workstation") and passwd gives me > "protocol botch: cs: can't translate service". You need to setup your ndb to recognize the auth server for your host,=20 and you need to run one, as well (terminals, by default, don't. See the=20 wiki page 'Drawterm to your Terminal'). >- How do I logout to let another user login? As quanstro said, reboot. >- Is there something like "su" to let me be someone else in another > window? There's auth/login (auth(8)), or you can CPU to the same host. >- How do I stop rio to get to textmode? Again, slay rio|rc, but I don't know why you'd want to do it. >- Can I somehow lock the screen? You could run a shim before you start rio, or edit rio. There is a=20 screen lock program in /n/sources/patch/sorry, and probably one or two=20 in contrib. >- I noticed that users glenda, adm and none don't have a password (by > default). These users can however change the timezone, reboot the > machine, ... Whoever starts the terminal is the hostowner. He can do things like=20 rebooting it. When you run an auth server, it performs authentication=20 for filesystems, and, by proxy, CPU servers. Only the hostowner can=20 reboot the system, for instance, so you can't just CPU to tip9ug and=20 reboot it. >- What is the purpose of the different users like (a) glenda (seems to > be hostowner, can create users, etc.), (b) adm, (c) none? See above. > [*] is part of the sys group but could not change /rc/bin/termrc > because he couldn't write to /tmp (no profile like a normal user > binding /tmp to /home/tmp; I suppose he can do this interactively) Running ramfs, for instance, would serve the purpose. Fortunately, Plan=20 9 doesn't have the /tmp mess that Unix has. Users bind their own tmp=20 directories over /tmp. >- Is there something like virtual consoles to allow e.g. several > users to login simultaneously and each starting a graphical > environment? No. You could run multiple rios, or alter rio in some way to simulate=20 it, easily enough. >- Is there something like a plain "mount" command, just to see all > bindings? cat /proc/$pid/ns --=20 Kris Maglione --IpbVkmxF4tDyP/Kb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGaIUtseQZD8Aui4wRAiksAJ43UIS3mslyNVBRCxVNQGmyKEJw0ACghesZ +g876kyTLR0/Nk4vls8ggqs= =FcfH -----END PGP SIGNATURE----- --IpbVkmxF4tDyP/Kb--