From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 12 Apr 2010 07:38:24 -0600 To: "erik quanstrom" , , <9fans@9fans.net> From: "EBo" Message-ID: In-Reply-To: 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: ff9323f2-ead5-11e9-9d60-3106f5b1d025 > you must also exit if ~ $user none. i'd also recommend > aborting if ~ $home /. you don't want none making > files in /. on a regular plan 9 system, that's no worry, but > 9vx, ... I also tried to add test -z $user for the null string. It turns out that user=`{cat /dev/user} dies with the error "rc (newuser): null list in concatenation". Is this an appropriate failure mode, or is there some workaround to do a null username? or is this getting to complicated? EBo --