Linux
Setup 802.1X Authentication on Arch Linux
Over the past few days, I attempted to set up 802.1X authentication on Arch Linux, a wired identity authentication protocol widely used in enterprise environments and well-supported on Windows and Ubuntu. However, when it came to Arch Linux, a series of strange issues emerged. This post will detail the problems I encountered and the debugging process. WPA-Supplicant for 802.1X Authentication On Arch Linux, 802.1X authentication is handled by wpa_supplicant. To begin, you need to test our protocol configuration and user credentials by manually running wpa_supplicant. If you haven’t installed it yet, use the following command:
Enable Microsoft Remote Desktop (RDP) on Linux
Gnome 42 has a fantastic new feature that allows Linux users to share their desktops with Microsoft’s Remote Desktop Protocol remotely, namely GNOME remote desktop. In this tutorial, we’ll show you how you can use this great new feature. Without this feature, an alternative solution is xrdp. However, xrdp cannot provide a consistent desktop environment as used in current Linux. Enable Automatic Login and Disable Screen Lock For the remote desktop to work on GNOME, we have to enable automatic login and disable automatic screen lock. Otherwise, it is unable to connect to the Linux PC remotely from Windows 10/11 using the Remote Desktop Connection app.
Arch Linux ARM on an M1 Mac with VMware Fusion
Arch Linux ARM is a simple and lightweight Linux distribution that is actually the official port of the Arch Linux operating system. It’s built especially for processors that support ARM architecture. With its use, the users can have full control of the system and shape their system according to their needs. In this tutorial, we provide the detailed procedure to install Arch Linux ARM on a Macbook Pro (with Apple M1 Pro) running VMware Fusion 13.0.
Get Root Privileges Using CVE-2017-16995
NOTE: PLEASE DO NOT USE IT TO ATTACK OTHER COMPUTERS. CVE-2017-16995 has been fixed before. But it is broken again in many kernels of Debian and Ubuntu distributions, ranging from version 4.4 to 4.14. It causes an arbitrary memory read/write access issue was found in the Linux kernel compiled with the eBPF bpf(2) system call (CONFIG_BPF_SYSCALL). The issue could occur due to calculation errors in the eBPF verifier module, triggered by user-supplied malicious BPF program. An unprivileged user could use this flaw to escalate their privileges on a system. Setting parameter “kernel.unprivileged_bpf_disabled=1” prevents such privilege escalation by restricting access to bpf(2) call.
Install QQ/TIM in Linux with Wine
This tutorial introduces how to install QQ/TIM in Linux with Wine, which had been tested on ArchLinux with Wine 2.4. Prerequisites Before starting, you need to get the latest Wine. I’m not sure whether QQ/TIM can run on a lower version of Wine. In ArchLinux, you can easily get the latest Wine using the following command: pacman -S wine However, in Debian, you need to install Wine with some more steps. You can see this tutorial.