Techpository

A Better Technical Repository

November 18

Linux: Machine-id – changing the ID manually

rm /etc/machine-id
systemd-machine-id-setup

Category: Linux | Comments Off on Linux: Machine-id – changing the ID manually
November 18

Linux: Hostname setup

hostnamectl set-hostname name “newname”
hostname name “newname”

Category: Linux | Comments Off on Linux: Hostname setup
November 18

Linux: setuid – find files that a user has root level access

find / -user root -perm -4000 -print 2>/dev/null
find / -perm -u=s -type f 2>/dev/null
find / -user root -perm -4000 -exec ls -ldb {} \;

Category: Linux | Comments Off on Linux: setuid – find files that a user has root level access
November 18

Linux: Recover from a server booting issue after an fstab mounted LVM disk is deleted incorrectly

  1. Log into the server’s emergency mode by enter your root password
  2. nano /etc/fstab (remove or comment out the missing volume
  3. reboot
Category: Linux | Comments Off on Linux: Recover from a server booting issue after an fstab mounted LVM disk is deleted incorrectly
November 18

Linux: Rename a logical volume

lvrename vg1 lvol1 lvol0

Category: Linux | Comments Off on Linux: Rename a logical volume

Posts navigation

Older posts
Newer posts
RSS
  • Linux
  • SAN
  • Windows
  • Databases
  • Virtualization
  • Software
  • Websites
  • Hacking
  • Programming
  • Android

Categories

  • Android
  • Audio/Visual
  • Blender
  • Databases
  • Devices
  • Forensics
  • Games
  • Hacking
  • Hardware
  • Linux
  • Networking
  • OSX
  • Other
  • Programming
  • Raspberry PI
  • ReplicatorG
  • SAN
  • Security
  • Software
  • Uncategorized
  • Utilities
  • Virtualization
  • Websites
  • Windows
  • Windows Server
  • Techpository
  • ssh-keygen change password
  • Logitech Brio Camera adjustments
  • Linux: Error with update-initramfs’ “No space left on device”
  • Linux: ubuntu-touch – Removing all contacts using the cli
  • Linux: ubuntu-touch running sshd
  • Linux: ubuntu-touch with waydroid – android applications still showing up in the ubuntu menu after uninstalling



Copyright 2021. All rights reserved.
WordPress theme "Anarcho Notepad" by Space X-Chimp.