[Buildroot] [Bug 5366] can't login (root or default)

bugzilla at busybox.net bugzilla at busybox.net
Thu Jul 26 06:50:42 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=5366

--- Comment #9 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> 2012-07-26 06:50:42 UTC ---
(In reply to comment #8)

> I think i figures out the cause of the problem.
> What should the '/bin/login' be? In the versions that work it points to
> 'busybox'. In the version that does not work (this version) it's a standard
> executable.
> 
> Could this be the reason that i can't login?

Ah, yes, good point! /bin/login can be provided by util-linux. I thought about
getty (which I told you already), but I forgot about /bin/login. Can you try
disabling BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS to see if it works better?

It would be nice to figure out why the /bin/login from util-linux doesn't work.
My initial suspicion would be that it lacks the SUID-root bit set, but on my
system /bin/login doesn't have this bit set. Or maybe the util-linux /bin/login
requires some configuration file that we don't have or something.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the buildroot mailing list