Re: [OE-core] [PATCH 0/2] fix can't login when debug-tweaks is not in IMAGE_FEATURES

2016-11-30 Thread ChenQi
On 11/30/2016 05:28 PM, ChenQi wrote: We could make use of EXTRA_USERS_PARAMS here. More details are in meta/classes/extrausers.bbclass. I haven't tested it myself, but maybe lines below could work: INHERIT += "extrausers" EXTRA_USERS_PARAMS = "\ usermod -p 'root' root; \ " It should be '-P'

Re: [OE-core] [PATCH 0/2] fix can't login when debug-tweaks is not in IMAGE_FEATURES

2016-11-30 Thread ChenQi
We could make use of EXTRA_USERS_PARAMS here. More details are in meta/classes/extrausers.bbclass. I haven't tested it myself, but maybe lines below could work: INHERIT += "extrausers" EXTRA_USERS_PARAMS = "\ usermod -p 'root' root; \ " This info could also be found in

Re: [OE-core] [PATCH 0/2] fix can't login when debug-tweaks is not in IMAGE_FEATURES

2016-11-29 Thread Robert Yang
Hello, According to the discussions, here are things that we may do, please feel free to give your comments. 1) Add an image feature like "production", which will conflict with debug-tweaks, and check for some common security issues ? 2) Add a way like ROOT_PASSWD to let user can set root

[OE-core] [PATCH 0/2] fix can't login when debug-tweaks is not in IMAGE_FEATURES

2016-11-23 Thread Robert Yang
Fixed 2 bugs: - Can't login as root when debug-tweaks/empty-root-password is not in IMAGE_FEATURES since no passwd. - When set root passwd and debug-tweaks/empty-root-password is in IMAGE_FEATURES, passwd is *required* to login. Filed https://bugzilla.yoctoproject.org/show_bug.cgi?id=10710,