From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <4AF242F1-479F-4819-97B1-69BBBF5EA9B0@9srv.net> From: Anthony Sorace To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPod Mail 7E18) Date: Sun, 11 Apr 2010 19:19:24 -0400 References: <46914d2c-437d-406e-a928-123f4d09f9f7@u15g2000prd.googlegroups.com> <93c7f0c907631447ddb00c5d9280f5eb@brasstown.quanstro.net> <2a514b8f79dfb3434a836f743f936bb2@brasstown.quanstro.net> , Subject: Re: [9fans] /sys/lib/newuser patch Topicbox-Message-UUID: ff2a1182-ead5-11e9-9d60-3106f5b1d025 On a "real" plan 9 system, you create the user at the file server console, then log in as that user and run newuser. That first step creates /usr/$user. The analogue in 9vx is at least 'mkdir /usr/ $user', and (less likely) possibly creating the actual user in the unix world, depending on your intended setup. Rather than see newuser create the dir if it doesn't exist, I'd rather see it exit with an error in that case. On Apr 11, 2010, at 18:04, "EBo" wrote: > >> newuser assumes that your home directory exists, and on a >> normal plan 9 install, it's likely not possible to create anything >> in /usr without doing it on the fs console. > > Maybe I am missing something here, but this is not a normal plan9 > install, but > 9vx. There I can create a user's directory in $9vx_root/usr > provided that the > permissions are open. > > in the base system that came with 9vx I get an error that /src/ > fscons does not > exist when running "con -l /srv/fscons". > > So, how is the initial setup supposed to be done on 9vx which > defaults to a > $user instead of glenda > > EBo --