Setuserpasswd command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:52, 14 September 2008 (edit)
Soulstace (Talk | contribs)
m (don't use "password" for password!)
← Previous diff
Revision as of 16:17, 31 March 2009 (edit) (undo)
Redhawk0 (Talk | contribs)

Next diff →
Line 12: Line 12:
*Telnet/SSH password may not take effect immediately. In this case also run the '''setpasswd''' command. *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. *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 alpha-numeric characters only worked fin. [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=49777 forum post] Special charaters can be entered through web gui password change page or Admin tab. [redhawk0]
[[Category:English documentation]] [[Category:English documentation]]
[[Category:commandline command reference]] [[Category:commandline command reference]]

Revision as of 16:17, 31 March 2009

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 alpha-numeric characters only worked fin. forum post Special charaters can be entered through web gui password change page or Admin tab. [redhawk0]