[yocto] how to disable shell access

Insop Song insop.song at gmail.com
Thu Jun 19 20:35:49 PDT 2014


Thank you Ross,

To answer my own question on "1. how to change the default password of root?"
- remove "debug-tweaks" and do as it is described in
"https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password"

Ref:
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password
http://bec-systems.com/site/967/setting-the-root-password-in-an-openembedded-image
https://lists.yoctoproject.org/pipermail/poky/2013-August/009098.html
http://gumstix.8.x6.nabble.com/Duovero-EXTRA-IMAGE-FEATURES-tools-sdk-password-td4968867.html

ISS

On Tue, Jun 17, 2014 at 1:54 PM, Burton, Ross <ross.burton at intel.com> wrote:
> On 17 June 2014 21:23, Insop Song <insop.song at gmail.com> wrote:
>> 2. how to block shell access but to open for debugging access
>> For this, I could think of that we could block ssh access and only open console.
>> Or opening ssh for a hidden port only.
>
> The Raumfeld multi-room audio system has a neat solution for this: you
> insert a USB stick with a special file to enable the SSH daemon.  The
> filename is a md5sum, presumably a hash of something along the lines
> of "open sesame".  This is their magic "root me" button, as root has
> no password.
>
> Ross



More information about the yocto mailing list