There's a database that stores the passwords - I forget the exact name or 
location, but it's in the ntop directory where all the other stuff is typically 
stored.  Browse around and after stopping nTop delete that DB file.  I'll try 
to find more info later if you're still having probs.

Gary


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaan Talvet
Sent: Tuesday, September 18, 2007 2:28 PM
To: [email protected]
Subject: RE: [Ntop] Cannot log in to the Preferences section via 
webinterfaceand edit preferences

Hi ernest, 

The first time I ran ntop from the command line it asked me for an admin 
password. I didn't notice it at first and went right to the web interface and 
couldn't log in. Did it ask you for one?

-jaan 


-----Original Message-----
From: Ernest G. Wilson II [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 16, 2007 8:07 AM
To: [email protected]
Subject: [Ntop] Cannot log in to the Preferences section via web interfaceand 
edit preferences

I can view the ntop web interface at:
http://172.28.0.12:3000
And / or
https://172.28.0.12:3001

I see ntop working correctly with graphs and data and everything looks
great.
I try to change the preferences via:
Admin à Configure à Preferences
And I cannot log in!
I tried admin / admin
I tried ntop / ntoppassword
I tried admin / ntoppassword

I have set the password various ways like this etc:
ntop -u ntop -A

No matter what I do I cannot authenticate to edit preference or any other
protected area within the ntop web interface.

I tried ntop versions:
3.2 from FreeBSD packages
3.3 from FreeBSD ports
3.3.3 from source

This is not my first time using ntop or compiling source code.

Here is how I configured this last try of 3.3.3 before I gave up and emailed
this list:
cd /usr/src
svn co https://svn.ntop.org/svn/ntop/trunk/ntop 
cd ntop
./autogen.sh
autoheader
autoconf
aclocal
automake
./configure --localstatedir=/var/db --with-ossl-root=/usr/local
--with-gdbm-root=/usr/local --with-gd-root=/usr/local
--with-libpng-root=/usr/local --with-zlib-root=/usr --disable-ipv6
--with-localedir=/usr/local/share/locale --prefix=/usr/local
--mandir=/usr/local/man --infodir=/usr/local/info/ --enable-mysql
--enable-sslwatchdog --enable-jumbo-frames
gmake
gmake install
pw useradd ntop -n ntop -G www -s /usr/sbin/nologin
chown -R ntop:www /usr/local/share/ntop
chown -R ntop:www /var/db/ntop/
chown -R ntop:www /usr/local/share/ntop/html



I am stuck here in the web interface:
Admin --> Configure --> Preferences



Ernie

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop


This electronic communication, including any attachments, contains information 
from the New Jersey School Boards Association that may be legally privileged, 
confidential, and exempt from disclosure under applicable law. This 
communication also may include content that was not originally generated by 
NJSBA or which may be copyrighted. If you are not the intended recipient, any 
use or dissemination of this communication is strictly prohibited. If you have 
received this communication in error, please notify the sender immediately and 
delete it from all computers on which it may be stored. This communication is 
not to be construed as establishing an attorney-client relationship or as legal 
advice. For legal advice, please contact your board attorney. This message does 
not necessarily reflect the position or policy of the NJSBA or its members. The 
individual who sent this message is solely responsible for its content. 

Every effort is made to keep our network free from viruses. You should, 
however, review this e-mail message, as well as any attachment thereto, for 
viruses. We take no responsibility and have no liability for any computer virus 
which may be transferred via this e-mail message.



_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

===========================================================================





"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to