Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6ACBEE00C37; Tue, 14 May 2019 17:34:42 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low * trust * [209.222.82.66 listed in list.dnswl.org] Received: from 13pmail.ess.barracuda.com (13pmail.ess.barracuda.com [209.222.82.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D58C6E009A0 for ; Tue, 14 May 2019 17:34:41 -0700 (PDT) Received: from SFAMAIL.SAKURAUS.LOCAL (mail.sakuraus.com [12.26.104.5]) by mx9.us-east-2b.ess.aws.cudaops.com (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NO); Wed, 15 May 2019 00:34:40 +0000 Received: from SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) by SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Tue, 14 May 2019 17:34:38 -0700 Received: from SFAMAIL.SAKURAUS.LOCAL ([::1]) by SFAMAIL.SAKURAUS.LOCAL ([::1]) with mapi id 15.01.0669.032; Tue, 14 May 2019 17:34:38 -0700 From: Greg Wilson-Lindberg To: Yocto list discussion Thread-Topic: problem adding a user Thread-Index: AdUKtI8UMCSaJnTQT92qAk6aHgoNcg== Date: Wed, 15 May 2019 00:34:38 +0000 Message-ID: <2086bca8f57442acac5ba11c3d2712f1@sakuraus.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.16.5.239] MIME-Version: 1.0 X-BESS-ID: 1557880480-893017-24209-6564-1 X-BESS-VER: 2019.1_20190514.2102 X-BESS-Apparent-Source-IP: 12.26.104.5 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.213306 [from cloudscan33.us-east-2b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS29408 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Subject: problem adding a user X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2019 00:34:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to use the example in "Embedded Linux Systems with the Yocto Pro= ject" to add a user to my Yocto build. In the book the sample code: useradd -p `openssl passwd ${DEV_PASSWORD}` developer; \ uses openssl to generate the encrypted password string to pass to useradd. = I have never been able to get this to work. When I run the openssl command on the cmd line I get a different value every time, this seems wron= g, How can the password code compare against it if every encode=20 produces a different value? I am getting the user added to the system, the home directory shows up and = the user is in the passwd and group files. I just can't login to the=20 account. I've obviously got something confused, any help would be appreciated. Greg Wilson-Lindberg=A0=20 =20