Luca, your reply is complete BullSH*T Following up on this thread, the exact same thing happened to me!
The factory default script provided by one of these packages wiped out all /home folders and /var/log. Someone needs to fix this. After running the apt-get install, the instructions state "IMPORTANT IMPORTANT IMPORT IMPORTANT IMPORTANT You can now point your browser to https://localhost The default user is nbox with password nbox Please run a factory reset by GUI (System -> Factory Reset ) IMPORTANT IMPORTANT IMPORT IMPORTANT IMPORTANT" After you do this, you will completely screw up your system. Looking at the CGI/HTML code, that button runs /usr/local/bin/factory_reset This script looks like something NTOP installed, since it was created the same time I did my apt-get install of ntopng/nbox/etc. Inside that script, there are several HIGHLY DESTRUCTIVE commands that not only reset your NIC configuration, but also: # # Delete all users and reset the root passwod # /bin/rm -rf /root/* /root/.[a-Z]* /root/.[0-9]* for USER in `cd /home; /bin/ls -1` do echo "Removing user $USER..." userdel -f -r $USER done # system cleanup find /var/log/ -type f -exec /bin/rm {} ';' find / -type f -name "*~" | xargs rm -f rm -f /root/.ssh/known_hosts rm -f /root/.bash_history WTF is it completely wiping out all of our settings. This completely wiped out all user accounts and just left the new nbox and n2disk user accounts. I checked my /etc/shadow file any only two accounts remained: nbox, n2disk --Highly Annoyed NTOP User --------------------------------------------------------- After running this: - apt-get install ntopng pfring nprobe ntopng-data n2disk nbox and running a Factory Reset in the nbox GUI, my root file system was wiped out and my existing /home folders were gone and /etc/passwd was replaced. I'd really like to not have that happen when I try again to instal ntop. Can anyone clue me in on which of those packages is deadly to my existing Ubuntu server? Thanks! On Tue, May 10, 2016 at 2:59 AM, Luca Deri <deri at ntop.org <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>> wrote: >* Kevin *>* for the nBox a factory reset means to set things like IP address etc. not *>* to wipe the OS. Pur tools are just packages not an OS, so you do noted to *>* modify the OS *>>* Regard Luca *>>* > On 09 May 2016, at 22:53, Kevin Kleinfelter <ntop at kleinfelter.com <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>> *>* wrote: *>* > *>* > I didn't RTFM closely enough. I installed ntopng and nbox. It said to *>* run a Factory Reset, so I ran a Factory Reset. I wasn't planning on wiping *>* out my old OS, but I did. *>* > *>* > I'd like to not repeat that mistake, but I'd also like to get all the *>* goodness of web-based analysis of rflow data. *>* > *>* > Was my key mistake in installing nbox? Can I safely install ntopng *>* after rebuilding my machine and not have it wipe out my OS? *>* > thanks, *>* > *>* > _______________________________________________ *>* > Ntop-misc mailing list *>* > Ntop-misc at listgateway.unipi.it <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> *>* > http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> *>>* _______________________________________________ *>* Ntop-misc mailing list *>* Ntop-misc at listgateway.unipi.it <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> *>* http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> *>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20160510/1bdbaad1/attachment.htm>
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
