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" <e...@sandien.com> 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 --