How to reset luci password from ssh

rainkinz picture rainkinz · Jul 14, 2014 · Viewed 22.3k times · Source

I have forgotten my luci password, but can get in via ssh. How do I reset the luci password from the console? I see that in /etc/config/luci there is this:

config extern 'flash_keep'
...
        option passwd '/etc/passwd'
...

So is it done with the regular passwd command?

Answer

able picture able · Aug 4, 2014

You can change root password use passwd command via ssh. Normally,the root password is luci password.

\# passwd

Changing password for root

New password: