[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Login uid 0 unknown
From:       tito <farmatito () tiscali ! it>
Date:       2021-08-26 19:21:50
Message-ID: 20210826212150.0231164a () devuan
[Download RAW message or body]

On Thu, 26 Aug 2021 13:08:29 -0400
Jeremy Harden <jerremiahharden@gmail.com> wrote:

> Some reason when I log in as root it comes out with id 0 unknown.
> 
> I haven't had this problem before (v1.32.1 works fine) where I login.  I
> set the /etc/passwd file as root::0:0:root:/bin/sh (not using a shadow file

Hi,
isn't your passwd entry malformed as root's home dir entry is missing?

root:  :0:0:root:?      :/bin/sh
root:x:0:0:root:/root:/bin/bash

Just my 2 cents,
Ciao,
Tito

> for my busybox build) and root is root:x:0 for groups.  I used make
> defconfig to build from.  My kernel version is 5.13.12, but busybox 1.32.1
> still works with it.
> 
> Thanks!
> 
> Jeremy

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic