[OE-core] [PATCH] Use useradd and update-rc.d classes in the OpenSSH recipe

Julian Pidancet julian.pidancet at gmail.com
Mon Sep 26 23:59:28 UTC 2011


On Tue, Sep 27, 2011 at 12:38 AM, Saul Wold <sgw at linux.intel.com> wrote:
>
> Is there a reason you did not include the group and --disable-password here?
>
> I think it would be good to leave thelong name options in also.
>
> Sau!
>

The -U option creates a group with the same name. The
--disable-password option only exists with adduser and is default with
useradd -r.
I'd just like to point out that adduser is originally a perl script
from debian and reimplemented in busybox. The options it takes are not
compatible with the more standard useradd from the shadow package.

For some reason, some long options like --system (which is supposed to
be supported in useradd) did not work during my first
experimentations, but I will investigate and respin a patch with long
options if possible.

Also, I discovered that the following recipes still depends on adduser:
ppp-dialin, avahi, distcc, xserver-nodm-init, pulseaudio, hal, dbus

It would be good to use the useradd class with all of them.

-- 
Julian




More information about the Openembedded-core mailing list