Friday, April 1, 2016

Sonicwall Password Change on CLI

I had a co-worker reach out to me this morning asking how to change a Sonicwall NSA 2400 password via the console CLI on SonicOS Enhanced 5.9. The built in help and the online documentation did not list this as an option. He resorted to an hour on the phone with support before they offered an undocumented (and probably not supported) command. The syntax is as below:

setAdmin "username", " password"
commit

If you know of a better way, please comment and I will be happy to update this post.