Skip to content

Instantly share code, notes, and snippets.

@shreewatsa
shreewatsa / password_policy.md
Created July 13, 2023 08:08
Change password policy in linux

Change this file : /etc/pam.d/common-password

password    [success=1 default=ignore]  pam_unix.so minlen=1 sha512
password    requisite           pam_deny.so
password    required            pam_permit.so
password    optional    pam_gnome_keyring.so
@madkoding
madkoding / pair-dual-boot-bluetooth.md
Last active June 7, 2025 13:22
Pairing bluetooth devices in dual boot with Linux Ubuntu and Windows 10/11

Pairing Bluetooth Devices in Dual Boot with Linux Ubuntu and Windows 10/11

Introduction

This guide provides updated instructions for pairing Bluetooth devices (such as keyboards or mice) in a dual-boot environment with Linux Ubuntu and Windows 10/11, incorporating community feedback and suggestions.

Instructions

1. Pair in Linux First

  • Pair your Bluetooth device in Linux. This is crucial to ensure the LinkKey remains consistent.
  • Note: Do not re-pair the device in Linux after completing the pairing in Windows.