From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from yocto-www.yoctoproject.org (yocto-www.yoctoproject.org [140.211.169.56]) by mx.groups.io with SMTP id smtpd.web09.6343.1579166115012388400 for ; Thu, 16 Jan 2020 01:15:15 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: linux.intel.com, ip: 140.211.169.56, mailfrom: paul.eggleton@linux.intel.com) Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7E044E01320; Thu, 16 Jan 2020 01:15:14 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS 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] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [192.55.52.136 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 349C5E00EBC for ; Thu, 16 Jan 2020 01:15:10 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 01:15:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,325,1574150400"; d="scan'208";a="248724010" Received: from chensiy1-mobl1.ccr.corp.intel.com (HELO shodan.localnet) ([10.255.137.144]) by fmsmga004.fm.intel.com with ESMTP; 16 Jan 2020 01:15:08 -0800 From: "Paul Eggleton" To: "Teemu K." Cc: yocto@yoctoproject.org Subject: Re: [yocto] Root login not working with Warrior Date: Thu, 16 Jan 2020 22:14:42 +1300 Message-ID: <3521303.F0PmLzlIRM@shodan> Organization: Intel Corporation In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Teemu On Tuesday, 14 January 2020 4:37:29 AM NZDT Teemu K. wrote: > I have Yocto image that was originally made with Thud - version of > Yocto. It was working fine and I was able to login as root via serial > console. > > Then I updated Yocto to Warrior and now for some reason when I try to > login as root via serial console it says 'login incorrect' when I > enter 'root' as a user and press enter. It doesn't even ask any > passwords before saying that. I tried enabling debug-tweaks and still > the same. Can't login as a root. > > I have another user that I can login just fine and with sudo I can > also use root access. I just can't login as root. > > I looked through /etc/passwd and /etc/shadow and they looked okay. Has > something changed in Warrior regarding this? I tried googling, but > didn't find anything. Is there an /etc/securetty file and if so what does it contain? Cheers Paul -- Paul Eggleton Intel System Software Products