but i don't know how to do through the API
Code: Select all
/tool user-manager user set [/tool user-manager user find name ="test"] password="123456"
can be displayed User information
/tool user-manager user set [/tool user-manager user find name ="test"] password="123456"
!re=
.id=*1
=customer=admin
=name=123456
=actual-profile=3M鏃犻檺鏃
?password=123456
=shared-users=1
=wireless-psk=
=wireless-enc-key=
=wireless-enc-algo=none
=uptime-used=2d17:24:17
=download-used=7873923601
=upload-used=213002051
=last-seen=jan/17/2012 16:26:01
=active=false
=incomplete=false
=disabled=false
!re=
.id=*3
=customer=admin
=name=test
=actual-profile=4M鍖呮湀
=password=123456
=first-name=娴嬭瘯鐢ㄦ埛
=last-name=娴嬭瘯鐢ㄦ埛
=phone=13790XXXXXX
=location=鏌愯鏌愬贩325鍙
?shared-users=1
=wireless-psk=
=wireless-enc-key=
=wireless-enc-algo=none
=uptime-used=05:35:56
=download-used=301343201
=upload-used=35102990
=last-seen=jan/21/2012 11:28:52
=active=false
=incomplete=false
=disabled=false
!done
?name=test
/tool/user-manager/user/set
=.id=*3
=password=12