Linux PAM account lockout, backup and removal

Account de-activation # Mark account as expired to prevent login

Published : 08 June 2021

Ignore powertop suggested tunables with systemd

Add additional ExecStart lines for each tunable to be overwritten/ignored, after the inital powertop --auto-tune.

Published : 20 September 2019

Linux Man Page Sections

Taken from man man

Published : 20 September 2019

Custom media control shortucts for Spotify in Linux

Occasionally Spotify will break media control (play/pause, next, previous) buttons with every other update. In order to overcome this, we can set some custom media key shortcuts.

Published : 10 June 2019

Arch Linux - speed up AUR compilation

/et/makepkg.conf MAKEFLAGS="-j$(nproc)"

Published : 12 February 2019

Check if using using Wayland or X11 for current session

loginctl show-session "$XDG_SESSION_ID" -p Type  

Published : 09 February 2019

How to convert a Clonezilla backup into a mountable image

file sda[1-9].*img.gz.* cat ./sda[1-9].*img.gz.* | gzip -d -c | sudo partclone.{file_system_type} -C -r -W -s - -O output.img sudo mount -o loop -t {files_system_type} outpu

Published : 01 February 2019

How to prepend a custom DNS server address to the beginning of /etc/resolv.conf

Modify /etc/dhcp/dhclient.conf and add the following line

Published : 12 December 2018

mount error(95): Operation not supported when mounting CIFS shares in Linux

Mounting a CIFS share using Linux may result in the following error

Published : 06 December 2018

How to add an additional disk to an existing Proxmox LVM node

Insert disk Identify new disk lsblk Partition new disk (using /dev/sdb as example)

Published : 04 December 2018

Subscribe to linux