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 \ […]

Android: DNS Client fails to lookup LAN Hosts

Android enforces DNS over IPV6 “first” to Google Servers as Backup DNS Solution. Google wants to catch EVERY DNS request for their DNS Logging (Spyware)! If any IPV6 DNS Google Server answere’s Android stops DNS over IPV4 of LAN to prevent AD’s BLOCKING!! So no LAN Server is seen on Android Browsers Solution: Disable IPV6 broadcast DHCP/DNS on LAN Routers! Block outgoing IPV6 on LAN Firewalls! With this crap settings google is analysing the whole internet!  

Linux: Perfect Secure Travel Laptop

If you want to Travel to other Countries (Border-Control), you should know some things: Buy a older Acer Laptop with Micro SSD Harddisk and SATA CDROM Slot Buy a SATA CDROM Adaptor for 10$, open the Laptop and remove the SATA Drive put it into the SATA Adaptor Don’t put Screws into the Laptop to the Adaptorslot so that you can pull out quick the SSD drive Install Ubuntu Linux with LUKS Disk full encryption! DOWNLOAD here Buy a privacy Shield-Sticker onto the TFT To extend security use USB-WIFI Dongle for WIFI Connections! (MAC Address Spoofing) Or: Buy a older […]

Linux: Raise Security Level by removing Software

If you use Linux you should monthly check which Software you haven’t used last weeks. Background: Every additional Software put Load on your PC Every additional Software uses libraries which can be affected by zero day exploits The Developers doesn’t know all bugs of their dependencies Third parity Software parts like “Github” or “PPA-Sources” they can be a security hole, by confusing Developers! If a Projekt is closed, remove unneeded Software to reduces the count of securitry holes! Run Cleanups after uninstall to purge changed Configs read here

Linux Security: create, mount, lock Luks Encrypted Container Files

Howto create encrypted Container Files for private Photos? REMARKS: EVERY unlocked and active mounted Luks Drive could be read out by attackers! Use long Passwords for Luks! dismount and LOCK unused luks drives/containers if NOT used! Create and mount Script: #!/bin/bash # Script creates 4GB Encrypted File Container, set Password # and mount it to /mnt/photos-private change your username!!! # # check free loop device set as variable loop=`losetup -f` # move existing container to old as BACKUP sudo mv container container.old # create container 4G sudo dd if=/dev/urandom of=container bs=1M count=4096 # bind raw container disk to free a […]

Ubuntu Upgrade Bug: do-release-upgrade breaks cups wrapper filter files for Brother Laser Printers

If you upgrade ubuntu 18.04 to 22.04 via “do-release-upgrade” and you have installed brother laser printer drivers, the whole “cups” printing system will FAIL on print and log missing “filters” at cups log. The “lp” printer output piped into nirvana! Check at  /usr/lib/cups/filter/ for the filter files Reinstalls cups by deinstall/reinstall with –purge config option Check again  /usr/lib/cups/filter/ Copy all “brto*” missing filter files from other old working PC to  /usr/lib/cups/filter/ Restart PC, cups works now. The Filter files are not inside Brother Driver Packages (deb)! Seen on a Systems with Ubuntu Small/Mini Setup! I will check next days this […]

Install Cewe or Rossmann Photobook Software Linux

Problem: Cewe Fotobuch Software wurde für 32bit Linux geschrieben lässt sich daher nach der Installation wegen fehlender Libraries nicht starten. Lösung: Download der Software von http://www.cewe-fotobuch.de/download/ Konsole öffnen (ähnlich Windows Dos Fenster – keine Mausgesteuerte Installation) die Datei Namens setup_Mein_CEWE_Fotobuch.tgz nach /tmp kopieren entpacken des Archives (.tgz) starten des Perlscripts nachträgliche Installation der 32bit Framedateien (Libraries) Copy&Paste: sudo cp setup_Mein_CEWE_Fotobuch.tgz /tmp sudo tar -xvzf setup_Mein_CEWE_Fotobuch.tgz sudo ./install.pl sudo apt-get install ia32-libs-gtk sudo apt-get install ia32-libs lib32gomp1 Unter Suse Linux 64bit sollte das gleiche Problem bestehen, hier mit Yast die 32bit Libraries suchen und installieren. ..und klappt.. Update 2023: Die Software […]

WordPress get the URL of the Blog View

If you read SEO Errors on Page Web Analytics “Speed Insights” you should: Switch your WordPress Blog to a “Static” Homepage, see section “Read” Create a “Custom” Link for the Blog View at Appearance, then go “Menus” Check after Changes again with SEO Tools !! Following Day’s My custom Blog URL: https://www.linuxonlinehelp.eu/?post_type=post Echo:             The Problem is that Web Crawler or Robots cant read the dynamic generated Pages of the WordPress Blog View    

Seafile Photo Cloud Server Problems (must KNOW)

If you plan to setup a small private Photo Cloud Server and you try to setup “Seafile Community Edition” there are some MAJOR Points (disadvantages) to know: Seafile Community Edition has limited Functions (5 Users) The Photo Files saved on “Data Blocks Files” like on “IPFS” with hash Keys as Names You need a MYSQL Database, MAJOR if broken by Updates all Photos lost! Seafile is based on Python Framework Software if any SPECIAL needed Python-Module is broken by a Update your Photos lost! I have tested many Setups, the big OS-RELEASE Changes often a big Trap cause broken Dependencies […]

AI breaks Encryption of Text

This Day this News Post appears on NET: Student uses Artificial Intelligence to decrypt papyrus roles without roll out physically the papers This Keyword was found by AI: “ΠΟΡΦΥΡΑϹ – Porphyras – Purpur” Color Possible Results: Encrypted Texts can be decrypted with AI in Future fast There is no protection in future for current used Tools AI may be able to fill up holes of encrypted Texts which a partly destroyed on HDD, Paper etc. Data Forensic will get new tools to speed up Diagnostic’s

Bug: virt-manager NO Keyboard input on VM

If you use Debian as Host System for Virtual Servers the “virt-manager” Package is broken! no keymap input no VM Console Control no VT-Switch possible Fix: run sudo virsh edit "vm-name" remove all “spice” display + audio entrys !! open sudo virt-manager go details  and and ADD Display VGA + VGA-Adapter select VNC!! save + exit settings.. reboot VM now you should be able to enter the login commands

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