[yocto] Changing /etc/shadow file

Jack Mitchell ml at communistcode.co.uk
Mon Nov 25 02:27:16 PST 2013


On 25/11/13 10:23, rajan pathak wrote:
> Running out of idea
> 
> Any would like to give some suggestion here?
> 
> Thanks
> 
> 

I use this snippet to modify my passwd file so I'm sure you could adapt
it for the shadow file.

ROOTFS_POSTPROCESS_COMMAND_append = " \
  sed -i 's/*/x/' \
  ${IMAGE_ROOTFS}/etc/passwd ;"


-- 
  Jack Mitchell (jack at embed.me.uk)
  Embedded Systems Engineer
  Cambridgeshire, UK
  http://www.embed.me.uk
-- 



More information about the yocto mailing list