Category: Knowledge

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

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

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

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