Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset luci password from ssh

Tags:

openwrt

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?

like image 370
rainkinz Avatar asked Jul 14 '14 02:07

rainkinz


1 Answers

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

\# passwd

Changing password for root

New password: 
like image 132
able Avatar answered Jan 03 '23 11:01

able