Category: GNU-Linux

06.08.2017

ome observers might well believe that the kernel has accumulated plenty of special-purpose virtual filesystems. Even so, 2.6.14 will include yet another one: securityfs. This filesystem is meant to be used by security modules, some of which were otherwise creating […]

06.08.2017

the mail system is a very broken and corrupted system. sending-addresses can be forged – spam from all over the world is flooding the mailboxes – viruses get attached… nobody trusts attachments anymore. it’s a completely newly C++ developed mailserver […]

Who is THE Urban Penguin?
06.08.2017

Andrew Mallett also on twitter apparently… 😀 pretty complete video series on LPIC1 FOR FREE ONLINE ON YOUTUBE 🙂 GOOD JOB MR MALLETT! 🙂 THANKS! LPIC2 not so much… you will have to pay for it 🙂 Andrew is an […]

01.08.2017

I believe since you do not know the file name/process id, you could specify user name option as below. lsof -r 2 -u username The „-r 2“ option puts lsof in repeat mode, with updates every 2 seconds. (Ctrl -c […]

CentOS7 Security Profiles and Software Security Flaws TopList
25.07.2017

exploits in software toplist: 2017: https://www.cvedetails.com/top-50-products.php?year=2017 All time: https://www.cvedetails.com/top-50-products.php That is why the Unix Philosophy of small, modular and beautiful matters … maybe that’s why Mr Stallmann prefers Microkernels… but well let’s be happy there is an alternative kernel to […]

20.07.2017

the strangest thing about mtr is probably that it seems to work only with a desktop-terminal. not an ssh-terminal 😀 What is MTR? mtr combines the functionality of the ‚traceroute‘ and ‚ping‘ programs in a single network diagnostic tool. As […]

18.07.2017

-p, –print-cache Print the lists of directories and candidate libraries stored in the current cache. manpage: ldconfig.man.txt manpage – dynamic linker – ld.so.man.txt root@debian9:~# ldconfig -p 664 libs found in cache `/etc/ld.so.cache‘ libz.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libz.so.1 libz.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libz.so […]

14.07.2017

display ip and ip only of the host computer the script is running on. ifconfig eth0|grep inet| awk ‚{print $2}‘ | cut -d: -f2 172.20.0.8 root@debian9:~# IP=$(ifconfig eth0|grep inet| awk ‚{print $2}‘ | cut -d: -f2); echo $IP; 172.20.0.8

14.07.2017

The Enterprise Volume Management System (EVMS) Project has the goal of providing unparalleled flexibility and extensibility in managing storage. It represents a new approach to logical volume management for Linux. The architecture introduces a plug-in model that allows for easy […]

12.07.2017

Init Ram Disk filesystem – kind of mini OS in order to mount raid and start „the real /root os“. hostnamectl; # tested on Static hostname: debian9 Icon name: computer-vm Chassis: vm Machine ID: 532eabca552b4075a8679094397c8dba Boot ID: 15ee0b8e8a1e4d1eb1003c4630644091 Virtualization: microsoft […]

10.07.2017

you should setup harddisk encryption during setup. to add an encrypted /home partition afterwards might be possible but a lot more effort. scroll very down if you want to know how to encrypt an usb sticks … needless to say […]

10.07.2017

hostnamectl; # tested with Static hostname: debian9 Icon name: computer-vm Chassis: vm Machine ID: 532eabca552b4075a8679094397c8dba Boot ID: 56c17320171e4ca2aed93998357ce1d2 Virtualization: microsoft Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.12.0cuztom Architecture: x86-64 apt-get install genisoimage genisoimage –help genisoimage -r -J -l […]

gnu linux smart s.m.a.r.t harddisk faillure surveillance
10.07.2017

harddisks… are blackboxes of data – if something fails… you do not repair – you replace. 65% of all harddisk failurs can be announced with smart. wohoo! so don’t rely on it 😀 apt-get install smartmontools # some commands smartctl […]

07.07.2017

btrfs is used by SUSE12 for the /root partition – where it is doing daily snapshots of the installed OS. It has more functionality built-in than just storing files. This article wants to take btrfs for a test-drive. Video Tutorials: […]

06.07.2017

can be easily checked via: root@debian9:~# cat /proc/filesystems nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cpuset nodev cgroup nodev cgroup2 nodev tmpfs nodev devtmpfs nodev debugfs nodev tracefs nodev securityfs nodev sockfs nodev bpf nodev pipefs […]

05.07.2017

there are some special automatically set environment variabels that might be interesting to know… echo $$; # PID of currently running shell echo $?; # return error code of last run program (before echo) echo $0; # return /path/and/way the […]

03.07.2017

strace from the strace.man.txt manpage. trace system calls and signals In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are […]

1986 – 80386 – linux history
30.06.2017

9. September 1986 At the Palladium in Manhattan, New York, Compaq Computer introduces the Compaq Deskpro 386, the first 80386-based personal computer offered by a major computer manufacturer. The Model 40 features a 16 MHz Intel 80386 and 40 MB […]

centos redhat compiling the latest kernel
30.06.2017

this also worked under debian9 stretch… it now also works for Centos7/Redhat. in this example i try to compile the latest kernel from kernel.org on CentOS7 it compiles… and boots up… hit ESC or other keys to see the verbose […]

29.06.2017

While the Boot ID /proc/sys/kernel/random/boot_id is newly generated with every reboot – the Machine ID uniquely identifies the host. It should be considered „confidential“, and must not be exposed in untrusted environments, in particular on the network. The /etc/machine-id file […]

Debian GNU HURD MicroKernel – Stallman’s OS comes to life :-D
28.06.2017

requirements: make sure you have enough harddisk space… 😀 In December 1991 the primary architect of the Hurd described the name as a mutually recursive acronym:[7] It’s time [to] explain the meaning of „Hurd“. „Hurd“ stands for „Hird of Unix-Replacing […]

Linux Kernel – Security Updates
27.06.2017

latest kernel related security problems can be found here… -> https://tracker.debian.org/pkg/linux newsletter subsribe: https://tracker.debian.org/accounts/login/ also https://anonscm.debian.org/cgit/kernel/linux.git http://www.securityfocus.com/ http://www.securityfocus.com/cgi-bin/index.cgi?c=11&op=display_threads&ListID=1&limit=30&offset=0&date=2017-06-20&mode=threaded https://cve.mitre.org/index.html https://twitter.com/CVEnew/ https://wiki.debian.org/DebianKernel

27.06.2017

to be honest… i find all of those meassurement tools too complicated to install. they probably all have their validity – but why not simply do it like this: given that you have a webserver installed and the web-root is […]