Archive: June, 2017

watch linus torvalds work – lawyers try to destroy linux and the planet
13.06.2017

by clicking on this link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (wow! this truly shows the power of Open Source / Free Software… complete transparency in development process) problem: lawyers without social skills WILL destroy the planet and mankind and linux “Linux’s creator is stepping […]

13.06.2017

vi countdown.sh; # create a new file with those lines #!/bin/bash COUNT=10 while (( COUNT > 0 )) do      echo -e “$COUNT \c”     sleep 1;     (( COUNT — )) done echo -e “\n\nWe have lift off!!” ESC […]

system logging – log files – rsyslog rsyslogd
12.06.2017

TOS-based systems (Atari ST) used a row of bombs to indicate a critical system error. Number of bombs displayed revealed information about the error. The error (also called an exception) is reported by the Motorola 68000 microprocessor. The very first […]

12.06.2017

what it means: there are updates for windows … (windows itself is spyware :-D)

12.06.2017

i have no idea where they get their data from… but they have a nice ranking page… not sure if that is a true good representation of the market though. https://distrowatch.com/dwres.php?resource=popularity it is crazy… in 2017 – Linux has ONLY […]

top10 most used mail servers – segfault exim4
10.06.2017

a hacked e-mail account is a catastrophe – look at Hillary. telnet dwaves.de 25; # a simple telnet tells you that this server is running Trying 78.46.249.71… Connected to dwaves.de. Escape character is ‘^]’. 220 dwaves.de ESMTP Exim 4.XX_X Tue, […]

10.06.2017

this seems to be a result of updating VirtualBox without updating the extension… the version of extension and VirtualBox need to match oterhwise this error. VERR_PDM_DEVHLPR3_VERSION_MISMATCH 0x80004005 download the extension matching your version of virtualbox http://download.virtualbox.org/virtualbox/5.1.22/Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126.vbox-extpack uninstall any older version […]

09.06.2017

in general programs = processes = tasks = job less is more (security) run as little software as you absolutely need – uninstall/disable all services you don’t need. less software = less lines of mistaken code = less security flaws. […]

09.06.2017

# all these commands will modify /etc/passwd su – root # disable login for user usermod -s /usr/sbin/nologin username # change login-shell of username to bash usermod -s /bin/bash username # change login-shell of username to sh usermod -s /bin/sh […]

08.06.2017

passwd -l maria; # disables account maria passwd: password expiry information changed. grep maria /etc/shadow maria:!$6$w9DaelrP$/tJiXC2PU0B.XOupP0sFTySis5VfkMwv0DnoFy3.d.nC8gXJU.DSbU0Uryyex40P67keCFoQuxEjZ8RD9kDGU0:17325:0:99999:7::: passwd -u maria; # enable account maria passwd: password expiry information changed. /etc/passwd grep /bin/bash /etc/passwd; # output all interactive user accounts that use […]

08.06.2017

client /etc/ssh/ssh_config is for client side config – here you can for example enable StrictHostKeyChecking yes /etc/ssh/ssh_known_hosts similar to ~/.ssh/known_hosts it contains the system-wide-accepted public keys of other hosts. So if you have “StrictHostKeyChecking yes” enabled, you could manually accept […]

gpg cheat sheet – encrypting files with gpg
08.06.2017

Warning! while gpg is very likely sound and solid encryption – what is far more likely to be compromised is YOUR HARDWARE – every network card – wifi card – usb UMTS G3 modem – PCI-Card – contains enough RAM […]

cool stuff you can do with ssh
07.06.2017

i assume you have setup public-private-key-authentication and tested its workings and tightened security to only allow public-private key auth of specific non-root users. run local scripts remotely You can run local scripts remotely by executing bash on the remote system […]

GNU linux time zones – change timezone
07.06.2017

Debian 12 as systemd is installed per default but not the time-sync service #wtf? su – root apt install systemd-timesyncd timedatectl set-timezone Europe/Berlin systemctl status systemd-timesyncd timedatectl; # check if sync is on Local time: Fri 2023-12-08 16:21:41 CET Universal […]

07.06.2017

 stat /etc/hosts   File: ‘/etc/hosts’   Size: 249             Blocks: 8          IO Block: 4096   regular file Device: 801h/2049d      Inode: 5506941     Links: 1 Access: (0644/-rw-r–r–)  Uid: (    0/    root)   Gid: (    0/    root) Access: 2017-06-06 15:37:06.896148382 +0200 Modify: 2017-06-06 15:37:04.728130437 +0200 Change: […]

apt cheat sheet
06.06.2017

about package.deb & apt Apt is a mainly-online-repository-based (“AppStore”) software installation & package management system used by Debian, Ubuntu and Mint (and other apt based distributions). But – it is possible to manually download a package.deb and install it with: […]

02.06.2017

you can use the command: xdpyinfo|less to get your X-server version: name of display: :0.0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11604000 X.Org version: 1.16.4 maximum request size: 16777212 bytes motion buffer size: 256 bitmap […]

02.06.2017

probably outdated monitor file.config generator… but that’s what it look(ed) like: manpage: xvidtune.man.txt

02.06.2017

looks different in every distro… Debian8 root@debian:~# uname -a; # tested on Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2 (2017-04-30) i686 GNU/Linux root@debian:~# ll /etc/X11/ total 72K drwxr-xr-x 2 root root 4.0K Jun 2 15:39 app-defaults -rw-r–r– 1 root root […]

02.06.2017

whenever you have a linux desktop (KDE, Gnome2-3) you use the x-server and a client (window-manager like lightdm) to connect to it. They communicate via network thus allowing to redirect the grafical output of remotely-run programs to the local display. […]

02.06.2017

got it installed on debian8 and it starts but seems broken for debian8 + lightdm + MATE Gnome2 Desktop. (at least not in that Hyper-V VM) not highly important but would be fun 😀 https://code.google.com/archive/p/ardesia/downloads (you will need JavaScript to […]

scanning with linux – brother and epson
02.06.2017

interesting but untested app under CentOS MATE Gnome2 it was successfully tested with a Brother 9460 CDN under Debian 8. Brother is shipping it’s own brsane config tool. this should work for Ubuntu as well. https://launchpad.net/simple-scan epson via usb: if […]