busybox Digest, Vol 193, Issue 42
tito
farmatito at tiscali.it
Sat Aug 28 10:06:37 UTC 2021
On Sat, 28 Aug 2021 05:29:52 -0400
Jeremy Harden <jerremiahharden at gmail.com> wrote:
> 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.
Hi
cd busybox
make defconfig
grep PASSWD .config
CONFIG_FEATURE_SHADOWPASSWDS=y
CONFIG_CHPASSWD=y
CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des"
CONFIG_MKPASSWD=y
CONFIG_PASSWD=y
CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
Ciao,
Tito
> On Fri, Aug 27, 2021 at 8:00 AM <busybox-request at busybox.net> wrote:
>
> > Send busybox mailing list submissions to
> > busybox at busybox.net
> >
> > 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
> > busybox-request at busybox.net
> >
> > You can reach the person managing the list at
> > busybox-owner at busybox.net
> >
> > 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 <jerremiahharden at gmail.com>
> > To: busybox at busybox.net
> > Subject: Login uid 0 unknown
> > Message-ID:
> > <CAJ+mTNr_jaOX2qyqk_7_u15ruuzFa1_RWtCg=i3=
> > rN7gCWkR-Q at mail.gmail.com>
> > 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 <farmatito at tiscali.it>
> > To: busybox at busybox.net
> > Subject: Re: Login uid 0 unknown
> > Message-ID: <20210826212150.0231164a at devuan>
> > Content-Type: text/plain; charset=US-ASCII
> >
> > On Thu, 26 Aug 2021 13:08:29 -0400
> > Jeremy Harden <jerremiahharden at 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
> >
> >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://lists.busybox.net/mailman/listinfo/busybox
> >
> >
> > ------------------------------
> >
> > End of busybox Digest, Vol 193, Issue 42
> > ****************************************
> >
More information about the busybox
mailing list