N Point host management System Reset password method (change password online) _ Server Other

Source: Internet
Author: User

1, remote to the server, open the n point of the program directory, such as C:\Program Files\npointsoft\npointhost1.9.6\web. Then open the Admin directory and create a new file manually, such as reset.asp. The contents of the program are as follows:

<!--#include file= ". /inc/conn.asp "-->
<!--#include file=". /inc/npoint.asp "-->
<%
Dim newpass,newpass2
newpass =" Www.jb51.net "
newpass2 = Newpass
sql = "Update adminlogo Set pass= '" & Npoint (Newpass) & "Where name= ' admin '"
rs.open sql,conn,1,3
if con N.errors.count > 0 Then
 Response.Write "Reset password failed, please contact the administrator!" "
Else
 Response.Write" Admin password has been reset to "& Newpass2 &", please be sure to remove this program and modify it into your custom password! "End
If
rs.close
Set Rs = Nothing
%>

2, the above program is the admin admin password reset to www.jb51.net. If the admin is not admin, modify the admin here in where name= ' admin ' to your previously defined administrator username.

3, in the browser to execute the program, such as your n-point access interface is http://1.1.1.1/admin, then access to http://1.1.1.1/admin/reset.asp can be.

Special Note: Be sure to remove this program after resetting the password, and modify it into your custom password!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.