Setuserpasswd command

From DD-WRT Wiki

Revision as of 16:17, 31 March 2009 by Redhawk0 (Talk | contribs)
Jump to: navigation, search

Change the username and password used to log into the Web Interface.

usage: setuserpasswd [username] [password]

e.g.

root@DD-WRT:~# setuserpasswd myuser mypassw0rd


Notes:

  • This command automatically commits changes into nvram.
  • Telnet/SSH username will remain root!
  • Telnet/SSH password may not take effect immediately. In this case also run the setpasswd command.
  • The username and password are stored securely in nvram variables, hashed with salt.

Additional User notes:

  • I had problems changing a password that included a special character using the command line method. Using only alpha-numeric characters worked fine. forum post Special charaters can be entered through web gui password change page or Admin tab. [redhawk0]