diumenge, 11 de febrer del 2018

password - contrasenya ntopng

canvi de la contrasenya de admin de ntopng


posem la contrasenya admin a  admin
 >echo -n "admin" | md5sum
21232f297a57a5a743894a0e4a801fc3  -
Notice that the -n is mandatory. Without it, your hash will be totally wrong since it includes the newline character



>redis-cli SET ntopng.user.admin.password 21232f297a57a5a743894a0e4a801fc3

comprovem de nou

root@zentyal:/home/ies# redis-cli get ntopng.user.admin.password
"21232f297a57a5a743894a0e4a801fc3"

tinc dos intal·lacions de ntopng en diferents rutes en dos ordinadors amb el mateis so
 whereis ntopng
ntopng: /usr/local/bin/ntopng /usr/share/ntopng

  whereis ntopng
ntopng: /usr/sbin/ntopng /etc/ntopng.conf /usr/share/ntopng /usr/share/man/man8/ntopng.8.gz

 /usr/local/bin/ntopng -i eth0 -i eth4 -w 3001 -L -d &

o
/usr/sbin/ntopng -i eth2 -w 3001 -L -d &                                 

depenent de l'ordinador