Skip to contentSkip to conversation

Which package provides full featured passwd, adduser, etc?

DISCUSSION Lukasz Domowy 1 participant 2 messages Dec 7, 2020

lore
Share & tools
lore
#0 lore raw

Hi All,

I'd like to replace busybox passwd, adduser (and friends) with full featured equivalents supporting --root option. Probably I overlooked something, but I cannot find right package to include in my rootfs. At my Ubuntu host those are parts of shadow-utils. What is the right package in Yocto? Thank you in advance.

Best regards,
Lukasz

#1 lore raw

I looks like it is provided by just 'shadow' recipe:

oe-pkgdata-util list-pkg-files shadow
shadow:
/etc/default/useradd
/etc/limits
/etc/login.access
/sbin/nologin.shadow
/sbin/vigr.shadow
/sbin/vipw.shadow
/usr/bin/chage
/usr/bin/chfn.shadow
/usr/bin/chsh.shadow
/usr/bin/expiry
/usr/bin/faillog
/usr/bin/gpasswd
/usr/bin/lastlog
/usr/bin/newgidmap
/usr/bin/newuidmap
/usr/bin/passwd.shadow
/usr/sbin/chgpasswd
/usr/sbin/chpasswd.shadow
/usr/sbin/groupadd
/usr/sbin/groupdel
/usr/sbin/groupmems
/usr/sbin/groupmod
/usr/sbin/grpck
/usr/sbin/grpconv
/usr/sbin/grpunconv
/usr/sbin/logoutd
/usr/sbin/newusers
/usr/sbin/pwck
/usr/sbin/pwconv
/usr/sbin/pwunconv
/usr/sbin/useradd
/usr/sbin/userdel
/usr/sbin/usermod

However, after adding 'shadow' package to image, nothing changed. Files enumerated above have not been added. Any ideas why?

Best regards,
Lukasz