RockyLinux File extend drive FYI

Just a quick reminder, for myself πŸ˜‰ Needed to resize a partition on RockyLinux 9.5And wanted to document that. So this was a /home partition, on a LVM system. Steps I took: Backup /home –> tar -czvf /root/home.tgz -C /home . Test Backup –> tar -tvf /root/home.tgz unmount /home –> umount /dev/mapper/rl_<NAME_OF_MACHINE>-home Remove logical volume ...

Linux – Cloud-init, note-to-self

Just a reminder for myself. Can use in Cloud-init to set password for the root account. #cloud-config ssh_pwauth: true users: - name: root lock_passwd: false hashed_passwd: HASHED_PASSWORD ssh_authorized_keys: - ssh-rsa <key>

Linux – Password has been used already. Choose another

Just a quick reminder, note-to-self Linux – Password has been used already. Choose another root@linux:~ # passwdChanging password for root.New Password:Reenter New Password:Password has been used already. Choose another.Password changed Linux is keeping the old password stored on /etc/security/opasswd. Delete the line containing the user that you’re trying to change the password.It is encrypted so ...