Does busybox 1.33.x and 1.34.0 need a shadow file? root:x:0:0:root:/root:/bin/sh would imply I would. My email entry was incorrect, the original passwd file was not malformed, it was actually root::0:0:root:/root:/bin/sh due I was not needing a shadow file and it worked out of the box without a shadow file at least in in 1.32.1.
On Fri, Aug 27, 2021 at 8:00 AM <[email protected]> wrote: > Send busybox mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.busybox.net/mailman/listinfo/busybox > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of busybox digest..." > > > Today's Topics: > > 1. Login uid 0 unknown (Jeremy Harden) > 2. Re: Login uid 0 unknown (tito) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 26 Aug 2021 13:08:29 -0400 > From: Jeremy Harden <[email protected]> > To: [email protected] > Subject: Login uid 0 unknown > Message-ID: > <CAJ+mTNr_jaOX2qyqk_7_u15ruuzFa1_RWtCg=i3= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > 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 > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.busybox.net/pipermail/busybox/attachments/20210826/798363ed/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Thu, 26 Aug 2021 21:21:50 +0200 > From: tito <[email protected]> > To: [email protected] > Subject: Re: Login uid 0 unknown > Message-ID: <20210826212150.0231164a@devuan> > Content-Type: text/plain; charset=US-ASCII > > On Thu, 26 Aug 2021 13:08:29 -0400 > Jeremy Harden <[email protected]> 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 > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox > > > ------------------------------ > > End of busybox Digest, Vol 193, Issue 42 > **************************************** >
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
