Re: 10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-14 Thread Baptiste Daroussin
On Tue, Jul 14, 2015 at 05:08:19PM +1000, Jan Mikkelsen wrote: > > > On 13 Jul 2015, at 19:10, Baptiste Daroussin wrote: > > > > On Mon, Jul 13, 2015 at 10:36:28AM +0200, Baptiste Daroussin wrote: > >> On Mon, Jul 13, 2015 at 04:57:32PM +1000, Jan Mikkelsen wrote: > >>> Hi, > >>> > >>> In our s

Re: 10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-14 Thread Baptiste Daroussin
On Tue, Jul 14, 2015 at 05:08:19PM +1000, Jan Mikkelsen wrote: > > > On 13 Jul 2015, at 19:10, Baptiste Daroussin wrote: > > > > On Mon, Jul 13, 2015 at 10:36:28AM +0200, Baptiste Daroussin wrote: > >> On Mon, Jul 13, 2015 at 04:57:32PM +1000, Jan Mikkelsen wrote: > >>> Hi, > >>> > >>> In our s

Re: 10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-14 Thread Jan Mikkelsen
> On 13 Jul 2015, at 19:10, Baptiste Daroussin wrote: > > On Mon, Jul 13, 2015 at 10:36:28AM +0200, Baptiste Daroussin wrote: >> On Mon, Jul 13, 2015 at 04:57:32PM +1000, Jan Mikkelsen wrote: >>> Hi, >>> >>> In our system build scripts we have this command: >>> >>> /usr/sbin/pw -V $d useradd t

Re: 10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-13 Thread Baptiste Daroussin
On Mon, Jul 13, 2015 at 10:36:28AM +0200, Baptiste Daroussin wrote: > On Mon, Jul 13, 2015 at 04:57:32PM +1000, Jan Mikkelsen wrote: > > Hi, > > > > In our system build scripts we have this command: > > > > /usr/sbin/pw -V $d useradd toor -u 0 -g 0 -d /root -s /bin/sh -c > > "Bourne-again Superu

Re: 10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-13 Thread Baptiste Daroussin
On Mon, Jul 13, 2015 at 04:57:32PM +1000, Jan Mikkelsen wrote: > Hi, > > In our system build scripts we have this command: > > /usr/sbin/pw -V $d useradd toor -u 0 -g 0 -d /root -s /bin/sh -c > "Bourne-again Superuser" -g wheel -o > > After 10.2-BETA1, the toor account is being added with UID 1

10.2-BETA1: pw(8) does not support "pw useradd name -u 0"

2015-07-13 Thread Jan Mikkelsen
Hi, In our system build scripts we have this command: /usr/sbin/pw -V $d useradd toor -u 0 -g 0 -d /root -s /bin/sh -c "Bourne-again Superuser" -g wheel -o After 10.2-BETA1, the toor account is being added with UID 1001 instead of UID 0. This looks like a problem with line 754 in pw_user.c, wh