First of all a warning: Be careful with the order in which you change the admin
password in the older versions. There was a race condition that if you deleted
the admin user before deleting the links he controlled, it wouldn't let you
back in.
So here's what you do
On the web interface go to the Admin link, where you'll need to log in with
admin/admin. After you've done that, go to URLs and delete the all of the
URL's(by clicking on the red circle with line through it)  At this point you
may get some errors about URL not found(I think this is still a bug)
Once you've deleted all the URL's then click on the Users link(under Admin
still) and add your desired name under there. Now, you CAN delete the admin
user(on the newer versions you can't), but you don't need to. What you need to
do is add all the URL's that you want your new user to control. To do this
click on the URLs link again and choose Add URL. On the screen that comes up it
explains pretty clearly how to specify the different URL's. On mine, I just
leave it blank, which protects all the different links. So after you enter the
url(or leave it blank) click the user that you want to control those links(your
newly created user) and click "Add URL" At this point you'll get an
"Authorization failed message") This is because you;re logged in as admin, and
admin no longer has control over these pages. So what you need to do is click
"OK" and type in your username and password you created. This'll let you back
in. Then in the future, when you try to log into NTOP, it won't let you access
any of the pages until you type this username and password.
Let me know if you have questions.
Good luck.
Tibor

On Wed, 18 Oct 2000, Darren Tay wrote:
> Hi all,
> 
> Subject line says it.
> 
> How do I change the default user/password for the web interface?
> 
> I installed via the Mandrake's rpm, ntop-1.3.1-1mdk.i586, no problems.
> (running Mandrake 7.1, kernel 2.2.17.)
> 
> What a wonderful app, and well built rpm, that I did zero
> configuration, (partly because I didnt know how) simply browsed to port
> 3000 and voila, I'm impressed, built-in web server, very comprehensive
> stats.
> 
> Only problem is I can't find up-to-date documentation on how to change
> the admin login via web interface. Default is admin/admin. How the heck
> do I change it? I'm impatient to get it online, (so that I can
> entertain myself by monitoring my home lan from office) but I can't yet
> becos it's still on the default admin/password!
> 
> This version doesn't use the cleartext .ntop file, instead it uses
> ntop_pw.db which holds the encrypted passwords.
> 
> Thanks very much
> d
-- 
Tibor Incze
Network Systems Administrator
Newsham Hybrids(USA) Inc.
Ph: (719) 630 3200
Fax: (719) 630 8021
Email: [EMAIL PROTECTED]

Reply via email to