[Bug 6368] busybox passwd extrange behavior

bugzilla at busybox.net bugzilla at busybox.net
Mon Jul 22 19:36:12 UTC 2013


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

--- Comment #11 from Roberto <robertorebolledocft at gmail.com> 2013-07-22 19:36:29 UTC ---
The problem happens when i use the option CONFIG_USE_BB_PWD_GRP in busybox.




CONFIG_USE_BB_PWD_GRP:

If you leave this disabled, busybox will use the system's password
and group functions. And if you are using the GNU C library
(glibc), you will then need to install the /etc/nsswitch.conf
configuration file and the required /lib/libnss_* libraries in
order for the password and group functions to work. This generally
makes your embedded system quite a bit larger.

Enabling this option will cause busybox to directly access the
system's /etc/password, /etc/group files (and your system will be
smaller, and I will get fewer emails asking about how glibc NSS
works). When this option is enabled, you will not be able to use
PAM to access remote LDAP password servers and whatnot. And if you
want hostname resolution to work with glibc, you still need the
/lib/libnss_* libraries.

If you need to use glibc's nsswitch.conf mechanism
(e.g. if user/group database is NOT stored in /etc/passwd etc),
you must NOT use this option.

If you enable this option, it will add about 1.5k.

-- 
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 busybox-cvs mailing list