This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set a password for root user in root file system?

Our product is based on DVSDK4.03 and runs embedded Linux.

The default root password is empty, which is continent for development.

However, the product is entering production stage and we want to add a password to the root user.

Is there a way to do it by manipulating the root file system or kernel build configurations?