I just tried to add a user in the same way the root password is changed : with
a ROOTFS_POSTPROCESS_COMMAND like this :
ROOTFS_POSTPROCESS_COMMAND += add_a_user;
add_a_user(){
useradd -p
Hello Chris,
thank you for your hints, I just read the part of the manual and I have doubts
about the correct locations, the manual says :
For example, suppose you had a set of configuration options in a file called
myconfig.cfg. If you put that file inside a directory named linux-yocto that
Hi there,
when I'm turning options on and off in menuconfig these changes are usually
saved in the .config file, which resides (in my case)in
/build/tmp/work/wandboard_quad-poky-linux-gnueabi/linux-wandboardd/3.10.17-r0/git
,
right ? As this configuration is obviously downloaded from git, I've
Hi,
any more ideas regarding the useradd ? it is still not working from within
recipe
-Ursprüngliche Nachricht-
Von: Heise, Matthias
Gesendet: Dienstag, 18. November 2014 14:02
An: 'Uhl, Joe'; meta-freescale@yoctoproject.org
Betreff: AW: [meta-freescale] default root password or
Basically I'm trying to understand the whole thing :D : what Yocto/bitbake does
and provides and what needs to be provided by me or someone else (e.g.
freescale).
In this case I didn't get why the recommended ways for setting up
cross-compiling didn't work, but only the optional way.
Would
Hi Joe,
thank you very much, the part with the root password is working, also with a
different password copied from shadow into the sed-line.
The new user however isn't even added to the users list, any idea what might be
wrong/missing here ?
The same line as in EXTRA_USER_PARAMS copied into
Tried that, no difference
Try adding single quotes around the encrypted password like this:
EXTRA_USER_PARAMS = useradd -p
'\$6\$53uYm/0Fnll\$Nc0RbHSvqRrd63Tw98TO3V1n25ORK9oR4QHqRIriXzLy0il/7.LIacX7mz7RJ1tdPIWiCJLNyQa7dKBNURqEg1'
fstuser;
Did actually no one ever want to add a root password (or a new user WITH
password) via recipe ?
Btw the command useradd -p password tester; does not work on the console
either so why should it in the .conf or recipe ;-)
Although I read something like above in the examples, (with clear-text
Hi all,
you have been very helpful so far with my different noob-problems - thank you
very much.
Now I was trying to set up cross-compiling for my wandboard (finally made it)
and have some difficulties to understand what was happening there and why :)
Please be so kind and enlighten me, this is
I'm still fighting with adding a password. The only thing I could achieve so
far is adding a user by adding this to the local.conf in the build directory :
INHERIT += extrausers
EXTRA_USERS_PARAMS = useradd -p ' ' tester;
I then can login with tester. As soon as I add a password, I'm prompted
This was obviously cross postet ;-) I cleaned the project and now can again
login without password, also when openssh is added(if debug-tweaks is
enabled). The problem that remains is that I can't set a password to a user, if
I try the user is not able to login. Also I can't add a user via
Hi again,
while stumbling through my first bitbake experiences I have now following
problem : when adding the ssh server (I used openssh) to an image
(core-image-minimal.bb) all of a sudden a login with username AND password is
required while before just entering root as login was enough. How
Ok, thank you, and yes, will do ☺
Von: lucas.dutra.nu...@gmail.com [mailto:lucas.dutra.nu...@gmail.com] Im
Auftrag von Lucas Nunes
Gesendet: Donnerstag, 13. November 2014 15:05
An: Heise, Matthias
Cc: meta-freescale@yoctoproject.org
Betreff: Re: [meta-freescale] default root password or password
Thank you, just checked that debug-tweaks and it is already set ! what's
wrong here ? btw, the manual says ssh root access has a blank
password , I don't know if this is implicit but I've got that password
problem directly on the machine, on the serial terminal and via ssh.
Maybe too much
Hi,
After the getting started I tried to use Hob to play a little with different
setups. I added the meta-fsl-arm and meta-fsl-arm-extra layers, selected
the wandboard quad and directly after the selection during the step generating
dependency tree I got this :
Trying to resolve runtime
Hi there,
I'm new to yocto and tried following the above mentioned getting started and
I'm now running into the problem that I can't get the linux source when running
bitbake. I get following error:
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING:
16 matches
Mail list logo