From owner-freebsd-current@freebsd.org Fri Aug 21 14:29:17 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E891F9BFD3C for ; Fri, 21 Aug 2015 14:29:17 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76F3D9C3 for ; Fri, 21 Aug 2015 14:29:17 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wicja10 with SMTP id ja10so17592861wic.1 for ; Fri, 21 Aug 2015 07:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=8JKJkjOMi3wX0TAegEtir+hWl2a53XqKBdJ9tIffjww=; b=FJ1pOgOpJ0/KYAv4u9uTadDspNX8D7nTzVxKKMBlsBH49R7uToKVv2CZc62YdRqPSz 8VXo5Jehg9SN4OYigyqufcPI/GFITsT2f28vCju3YG2sPpeLlonU6RA8wJjWnI9jau9X GoUlC1ngOygkFuIpvWxU1LK14TtE8mFJltBruAUHjmQn1XTupZiMGwNHOlWcChRYMtCu +u7ea9WCPqbAFwQUOEZmv0NMJuZA0Y/zSNKScYY9db75VjoDYrUmHKVsZqcdKwHlHZ5j cLZZeqQGxLABMJGamWvaapAOr/8f3ARfgAQpIbgCD9ER1RkBvyNeHmloQAu5giV3x2/Y mAbA== X-Received: by 10.180.211.10 with SMTP id my10mr6228815wic.41.1440167355928; Fri, 21 Aug 2015 07:29:15 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id p1sm10251238wjq.28.2015.08.21.07.29.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Aug 2015 07:29:15 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 21 Aug 2015 16:29:13 +0200 From: Baptiste Daroussin To: "O. Hartmann" Cc: freebsd-current Subject: Re: pw: pw: Invalid min_uid: '2000'; ignoring Message-ID: <20150821142913.GC6032@ivaldir.etoilebsd.net> References: <20150821154813.06d84fde@freyja.zeit4.iv.bundesimmobilien.de> <20150821141300.GB6032@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: <20150821141300.GB6032@ivaldir.etoilebsd.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2015 14:29:18 -0000 --NKoe5XOeduwbEQHU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 21, 2015 at 04:13:00PM +0200, Baptiste Daroussin wrote: > On Fri, Aug 21, 2015 at 03:48:13PM +0200, O. Hartmann wrote: > > Setting up on NanoBSD vi pw command an initial /etc/pw.conf (usermod -D= ), I use > > amongst other options also: > >=20 > > -u 2000,32767 -i 2000,32767 > >=20 > > which finally and successfully expands to > >=20 > > [...] > > # Range of valid default user ids > > minuid =3D 2000 > > maxuid =3D 32767 > >=20 > > # Range of valid default group ids > > mingid =3D 2000 > > maxgid =3D 32767 > > [...] > >=20 > > as expected. > >=20 > > Adding or changing now a user within such an environment gives me > >=20 > > pw: Invalid min_uid: '2000'; ignoring > > pw: Invalid max_uid: '32767'; ignoring > > pw: Invalid min_gid: '2000'; ignoring > > pw: Invalid max_gid: '32767'; ignoring > >=20 > > which is obviously not correct. > >=20 > > Since pw has undergone severe maintenance, I consider this a bug. >=20 > This is a bug for sure. >=20 > I'll fix asap. >=20 > Bapt Fixed in r286993 Best regards, Bapt --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXXNbkACgkQ8kTtMUmk6EyOVQCfSZaWJKWD54fAsZSFqqVVisT+ 82oAn0RF5bmf+J9B9MeIjhFvUa4uzVcJ =zLEI -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU--