[yocto] Adding users and their rights

Anders Darander anders at chargestorm.se
Mon Jun 24 23:58:12 PDT 2013


,

* DAMARLA Satya Swaroop <satyaswaroop.damarla at gmail.com> [130625 08:39]:
> I would like to know if its possible to add users and theri rights at
> the build
> itself... I know tinylogin provides the adduser to the target but how
> can I do
> it at the build is the issue here..

Sure, it's quite easy to do using the useradd class. See
http://cgit.openembedded.org/openembedded-core/tree/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
for more info

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB




More information about the yocto mailing list