From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 23 Dec 2013 12:00:47 -0600 Message-ID: From: Blake McBride To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e0122f6ae4c664704ee3768fb Subject: Re: [9fans] Adding a new user on 9-Front Topicbox-Message-UUID: a6242bc4-ead8-11e9-9d60-3106f5b1d025 --089e0122f6ae4c664704ee3768fb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wrote: > 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 wro= te: >> >>> 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. >> >> >> > > --089e0122f6ae4c664704ee3768fb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It works now. =A0The docs were unclear to me. =A0For examp= le, this works:

echo newuser= =A0george=A0>>/srv/cwfs.= 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 <be= gnoc@gmail.com> wrote:
Did you append or truncate. That command = should work.


=
2013/12/23 Blake McBride <<= a href=3D"mailto:blake@mcbride.name" target=3D"_blank">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


--089e0122f6ae4c664704ee3768fb--