tuxer

Linux Samba User Add Script

Problem: The User Password Sync on Standalone Samba Server like Debian & Ubuntu without LDAP is broken since years! So i wrote a small Script called add-user-smb.sh: #!/bin/bash # Prompt for username read -p "Username: " username # Prompt for password without echoing read -p "Password: " password # Add a new User to Linux sudo useradd -m $username echo "$username:$password"| sudo chpasswd # Add same User to SAMBA Subsystem with same Password! sudo smbpasswd -a $username<<EOF $password $password EOF

Ubuntu/Debian: Remove all Asian Fonts

To Speedup LibreOffice reduce the Font Packages: open Terminal enter by copy & paste: sudo apt purge \ fonts-beng-extra \ fonts-beng \ fonts-deva-extra \ fonts-deva \ fonts-gargi \ fonts-gubbi \ fonts-gujr-extra \ fonts-gujr \ fonts-guru-extra \ fonts-guru \ fonts-indic \ fonts-kacst-one \ fonts-kacst \ fonts-kalapi \ fonts-khmeros-core \ fonts-knda \ fonts-lao \ fonts-lklug-sinhala \ fonts-lohit-beng-assamese \ fonts-lohit-beng-bengali \ fonts-lohit-deva \ fonts-lohit-gujr \ fonts-lohit-guru \ fonts-lohit-knda \ fonts-lohit-mlym \ fonts-lohit-orya \ fonts-lohit-taml-classical \ fonts-lohit-taml \ fonts-lohit-telu \ fonts-mlym \ fonts-nakula \ fonts-navilu \ fonts-noto-cjk \ fonts-orya-extra \ fonts-orya \ fonts-pagul \ fonts-sahadeva \ fonts-samyak-deva \ fonts-samyak-gujr \ fonts-samyak-mlym \ fonts-samyak-taml \ […]

Impressum Datenschutz-DSGVO-GDPR

Last Update 08.10.2023 www.linuxonlinehelp.eu - Nonprofit Linux PC & Server Support since 2004 Tags: Linux Online Help, Linuxonlinehelp, Linux Support, Linux Hilfe