Category: Debian

Security: Isolated Browser eMail Programs

If you want to be more secure, on Linux you can isolate used programs on different Users! All you need is installed by default! Howto: Add a new User for eMail and Browser to the System with: $sudo adduser mailuser $sudo adduser webuser now install if not installed by default “gksu” User Switch $sudo apt-get install gksu copy now the default App Links to webuser’s Home Desktop, for mailuser enter mailuser’s name $cp /usr/share/applications/firefox-esr.desktop /home/webuser/Desktop/firefox-esr.desktop edit the firefox-esr.desktop by right click on nautilus or a editor and change command line: old: /usr/lib/firefox-esr/firefox-esr %u to: gksu -u webuser -w "/usr/lib/firefox-esr/firefox-esr %u" […]

Chrome Browser: Disable Password Passphrase Autologin Seahorse

Today i got a call and was asked how to STOP Seahorse from asking with a Passphrase Popup after opening Chrome or Chromium Browser: Seems that google implementated a new Tool for Security to Prevent Access to STORED Browser Passwords, BUT this won’t work on Desktops with USER AUTOLOGIN like Lightdm! Howto: open a Terminal an enter ln -s /usr/share/applications/google-chrome.desktop /home/username/Desktop/google-chrome.desktop Now open the new Icon on the desktop with the mouse right click Change Command Line for Chrome : google-chrome-stable –password-store=basic %U or for (chromium): Now open the Browser with the new Icon Link On Ubuntu you can hold the Icon […]

PDF/A: Setup Linux CUPS to Print Archive PDF/A

If you have a Office and you have to archive Documents and Prints over Years you should have heard that there is a special PDF Type called PDF/A which is set as default Archiving PDF File Type for decades. To use it you can use the Linux Print Server called CUPS to translate all digital Prints to PDF/A. This free Software Printer is known on all Linux Releases, and he can listen on USB and Network Interfaces on Documents. Also you can use Network Printers/Scanners like the Brother MFC-Series to Scan Documents and later to print them virtual as PDF/A […]

Linux: Bash Script Time Saver Session Timer

If you use daily the Internet you know how fast the Time passes. The Internet Research can grab a lot of time without that you feel it. Thats wasted time! For saving Time on Linux you display a Timer Message on the User Screen after some Time, which let you remark that XX Minutes are gone. The Linux Tool who can offer this is called “gxmessage” Howto: Install gxmessage if not installed with $sudo apt-get install gxmessage open the root Crontab with $crontab -e Enter this code (Username = User!): */10 * * * *    sudo -u username DISPLAY=:0.0 […]

Apache: Analyse Logs Spam Bots

If you admin a Apache Webserver, you see often weekly thousand of visits a day on your Blogs. Background: These are no real users, this visits are made by Spam Bots in my Logs like Xovi.de or xovibot.net Bots! On info pages this Company says Admins should disallow crawl by robots.txt, but they IGNORE the settings! This x-guys is in my opinion against German Law “Datenschutz”. "Mozilla/5.0 (compatible; XoviBot/2.0; +http://www.xovibot.net/)" Solution: On Linux Setup a Firewall like ufw and block these IP Ranges To find out the IPs do: $sudo cat /var/log/apache2/access.log|grep xovibot.net| awk '{ print $2 }' | sort | […]