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
Category: Knowledge
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 \ […]
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 […]
Bug: XDM Login Manager fails start on Boot
Seen on ubuntu 22.04 after do-release-upgrade the xdm Login Manager fails to start, cause a old xdm.pid file hangs from last shutdown on “/run/xdm.pid”. XDM prevent start on a old PID File!! Workaround edit Roots crontab to purge it: sudo crontab -e @reboot rm -rf /run/xdm.pid > /dev/null 2>&1 quit and save with “:wq!” ..reboot
Ubuntu: Chromium install without snap
Howto: Remove all snaps and install chromium on ubuntu 20.XX-24.XX sudo snap remove "package-name" (first all gtk-XX,gnone-xx and all "base+core") sudo apt-get remove snap snapd sudo add-apt-repository ppa:xtradeb/apps (Answere Question ENTER) sudo apt-get update sudo apt-get install chromium
Major Bug: Backdoor inside XZ Libs / SSH Backdoor
Brand New: SSH Backdoor seen on Linux XZ-Libs published with Backdoor! Prio HIGH! (The Backdoor offers break out of a SSH Connection) Update your Systems! Read: Article/Post/Backdoor-XZ-SSH Ubuntu Report Debian Report
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 […]
Linux: find files modified in special Month
If you want to free space on Backups you can use find to select a special month: find -newerct "1 Sep 2023" ! -newerct "1 DEC 2023" -delete This command removes files created from 01.Sep.2023 to 01.Dec.2023. ..very useful..
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
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
Startup Blogging? Useful to know
..if you like to startup blogging or hosting a Website at Europe: you should read this first!! https://stylepeacock.com/dsgvo-fuer-blogger/ https://stylepeacock.com/abmahnung-bloggertipp/ https://www.ihk-muenchen.de/de/Service/Recht-und-Steuern/Datenschutz/ https://www.ihk-muenchen.de/de/Service/Recht-und-Steuern/Datenschutz/Die-EU-Datenschutz-Grundverordnung/Fallbeispiel/ https://www.ihk-muenchen.de/de/Service/Recht-und-Steuern/Internetrecht/ if i find more on i publish more useful links
Howto: Create qrcode image command line
If you need digital bookmarks to share as Pic on social media do: Install qrencode : sudo apt-get install qrencode then as user: qrencode -o qrcode.png 'www.linuxonlinehelp.eu My Blog' Result: