From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 23 Dec 2013 12:03:43 -0600 Message-ID: From: Blake McBride To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1135fb34d1b03504ee377204 Subject: Re: [9fans] Adding a new user on 9-Front Topicbox-Message-UUID: a62a062a-ead8-11e9-9d60-3106f5b1d025 --001a1135fb34d1b03504ee377204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Or perhaps: echo newuser USER-NAME >>/srv/cwfs.cmd replace USER-NAME with the new user's name. If most commands are in lowercase, it might make sense to use uppercase names as things that need to be specified. On Mon, Dec 23, 2013 at 12:00 PM, Blake McBride wrote: > It works now. The docs were unclear to me. For example, this works: > > echo newuser george >>/srv/cwfs.cmd > > And this does not work (unsupprisingly): > > echo george george >>/srv/cwfs.cmd > > Unless you really look at it, it is unclear when to make a substitution > (or fill in a variable), and when to type it literally. Perhaps the docs > should say: > > echo newuser >>/srv/cwfs.cmd > > where is the name of the new user (without the <>). > > Thanks. > > Blake > > > > On Mon, Dec 23, 2013 at 9:32 AM, Bence F=E1bi=E1n wrot= e: > >> Did you append or truncate. That command should work. >> >> >> 2013/12/23 Blake McBride >> >>> >>> >>> >>> On Sun, Dec 22, 2013 at 11:19 PM, Sergey Zhilkin wr= ote: >>> >>>> Hello ! >>>> From - https://code.google.com/p/plan9front/wiki/admin >>>> Adding Users >>>> >>>> Add a new user on the file server: >>>> >>>> echo newuser username >>/srv/cwfs.cmd >>>> >>>> The newuser filesystem command is described in the fs(8) >>>> manpage. Examine the '/adm/users' file to investigate the results. >>>> >>> >>> The above echo command did nothing to the /adm/users file for me on >>> vanilla 9front. >>> >>> >>> >> >> > --001a1135fb34d1b03504ee377204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Or perhaps:

echo=A0newuser=A0USER-NAME =A0>>/s= rv/cwfs.cmd

=
replace USER-NAME with the new user's name. =A0If most = commands are in lowercase, it might make sense to use uppercase names as th= ings that need to be specified.


On Mon, Dec 2= 3, 2013 at 12:00 PM, Blake McBride <blake@mcbride.name> wro= te:
It works now. =A0The docs w= ere unclear to me. =A0For example, this works:

ech= o newuser=A0george=A0>>/srv/cw= fs.cmd

And this does not work (unsupprisingly):

=
echo george=A0george=A0&g= t;>/srv/cwfs.cmd

Unless you really look at it, it is unclear when = to make a substitution (or fill in a variable), and when to type it = literally. =A0Perhaps the docs should say:

echo newuser=A0<username&g= t; =A0>>/srv/cwfs.cmd

where <username> is the name of the = new user (without the <>).

Thanks.

Blake



On Mon, Dec 23, = 2013 at 9:32 AM, Bence F=E1bi=E1n <begnoc@gmail.com> wrote:
Did you append or truncate. That command = should work.


2013/12/23 Blake McBride <blake@mcbride.name>



On Sun, Dec 22, 2013 at 11:19 PM, Sergey Zhilkin <= ;szhilkin@gmail.com= > wrote:

Hello !=A0

Adding Users

Add a new user on the file server:

echo newuser username >>/s=
rv/cwfs.cmd

The=A0newuser=A0filesyste= m command is described in the=A0fs(8)=A0manpage. Examine the '/adm/users' file to investigate the results.


The above echo command did nothing t= o the /adm/users file for me on vanilla=A09front.
=A0



--001a1135fb34d1b03504ee377204--