| Summary: | Failed to login to system with root and its password. | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | wangt13 <simitel> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED MOVED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2020.02.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
wangt13
2023-03-30 01:41:41 UTC
(In reply to wangt13 from comment #0) The busybox in buildroot is also configured as follows to support login. # # Login/Password Management Utilities # CONFIG_FEATURE_SHADOWPASSWDS=y CONFIG_USE_BB_PWD_GRP=y CONFIG_USE_BB_SHADOW=y CONFIG_USE_BB_CRYPT=y CONFIG_USE_BB_CRYPT_SHA=y CONFIG_ADD_SHELL=y CONFIG_REMOVE_SHELL=y # CONFIG_ADDGROUP is not set # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set # CONFIG_ADDUSER is not set # CONFIG_FEATURE_CHECK_NAMES is not set CONFIG_LAST_ID=0 CONFIG_FIRST_SYSTEM_ID=0 CONFIG_LAST_SYSTEM_ID=0 CONFIG_CHPASSWD=y CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" CONFIG_CRYPTPW=y CONFIG_MKPASSWD=y # CONFIG_DELUSER is not set # CONFIG_DELGROUP is not set # CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set CONFIG_GETTY=y CONFIG_LOGIN=y # CONFIG_LOGIN_SESSION_AS_CHILD is not set CONFIG_LOGIN_SCRIPTS=y CONFIG_FEATURE_NOLOGIN=y CONFIG_FEATURE_SECURETTY=y CONFIG_PASSWD=y CONFIG_FEATURE_PASSWD_WEAK_CHECK=y With lots of testing and googling, I think I fixed the issue of cannot login to busybox from serial console, by disabling 'CONFIG_USE_BB_SHADOW' in busybox-menuconfig. From it help text, it seemed that using internal shadow can save disk space. But enabling it cause me not to login to system. Is there any further infor on this option and its impact? Thanks, Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
|