OpenWrt Forum Archive

Topic: Root password set

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

      I want to set a password before source compilation. How can I set a password during source compilation ?

B.R.

The password is stored in hashed form in /etc/shadow.  Set the password on a running router then copy its /etc/shadow file to the files tree of the buildroot.

The discussion might have continued from here.