From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <36c92cd19b8287b5a8451095ae4d40e2@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Novice question - run as other From: Charles Forsyth In-Reply-To: <200403170907.i2H97psH083854@adat.davidashen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 17 Mar 2004 09:17:53 +0000 Topicbox-Message-UUID: 33106e82-eacd-11e9-9e20-41e7f4b1d025 >>would mean I would modify rc's #c/user. I don't understand something >>basic. sorry, i ought to have added that #c/user changes per-process data, not per-namespace data, so it changes the data for the echo process, not for the rc. /sys/src/9/port/auth.c:/^userwrite userwrite(char *a, int n) { if(n!=4 || strncmp(a, "none", 4)!=0) error(Eperm); kstrdup(&up->user, "none"); /* note use of up-> */ up->basepri = PriNormal; return n; }