[OpenWrt-Devel] Customizing openssh password login, preprovisioned root passwords, etc.

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Jun 24 20:05:26 EDT 2018

> On Jun 24, 2018, at 12:42 PM, Eric Luehrsen <ericluehrsen at gmail.com> wrote:
> On 06/22/2018 12:43 AM, Philip Prindeville wrote:
>> Hi all,
>> A while back I proposed some PR’s to allow baking in root passwords (configurable, so it wouldn’t have to be some lame constant password) as well as turning off password login for OpenSSH server.
>> The maintainers of base-files and openssh didn’t like either.
>> So I’m proposing a virtual package that scribbles on both as part of its /postinst script, which was suggested as a compromise.
>> Please see:
>> https://github.com/openwrt/packages/pull/6311
>> and leave comments.
> Related thought: Some consumer grade routers have the WiFi key and admin password in part of the flash that OpenWrt doesn't write over. It would be nice to be able to include those as defaults, if possible. Then the password(s) would be as written on the bottom of the device after a settings reset.
> Eric

I could add this to the customization.  I was trying to find where the original /etc/config/wireless file is, but there doesn’t seem to be one… Is it auto-synthesized per the available hardware on the first boot?


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list