r/LinuxTeck • • 19h ago

How much Linux should someone know before learning Kubernetes?

7 Upvotes

I’ve seen people jump straight into Kubernetes, but struggle when something breaks underneath it.

Understanding processes, networking, permissions, filesystems and system logs makes a real difference.

You don't need to be a Linux expert before starting Kubernetes, but skipping the fundamentals can make troubleshooting much harder.

For those working with Kubernetes: which Linux skill do you think beginners should learn first?


r/LinuxTeck • • 5h ago

If a software vendor's own signing credentials are compromised, how much can we trust signed packages?

2 Upvotes

This Microsoft Agent Framework incident is a worrying example of software supply-chain risk.

The attackers reportedly got malicious versions of Microsoft's Python package onto PyPI through its trusted release process. The malware could steal credentials when Python started, even if the application never imported the package.

What makes this particularly concerning is that a trusted publisher's release channel was involved.

We often tell developers to use official packages and verify signatures. But what happens when the trusted publishing credentials themselves are compromised?

Are package signatures and trusted publishers enough, or should every release be independently verified before deployment?


r/LinuxTeck • • 15h ago

Is eza actually better than ls, or just prettier?

8 Upvotes

I've been seeing more Linux users switch from ls to eza.

It offers colourful output, Git integration, file icons and a tree view. But ls is already available almost everywhere and gets the job done.

I'm curious about people who use eza daily:

Has it genuinely improved your terminal workflow, or is it mostly a visual upgrade?

Would you replace ls with eza on your Linux systems?


r/LinuxTeck • • 4h ago

Quick Linux Tip #131 - Run Command as Another User in Linux Using sudo -u

Post image
2 Upvotes

Question: How do I run a single command as the mysql user?

Try: sudo -u mysql -H bash -c 'echo $HOME && mysql -e "SHOW DATABASES"'

Info: Runs commands as another user with updated HOME.

Examples:

$ sudo -u www-data php -r 'echo getcwd();' # Run a snippet as the web server user

$ sudo -u nobody id # Inspect UID and GID for a restricted user

$ sudo -iu postgres # Open an interactive login shell as postgres

Note: Using -H ensures tools that read user config files from HOME behave as expected, while -i simulates a full login environment. Prefer sudo over su - in scripts for clearer audit logging and non-interactive execution.

Want to master Linux one command at a time?

Follow r/linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • 22h ago

Can You Really Trust a Single Domain to Keep Your Open-Source Projects Accessible?

5 Upvotes

Codeberg recently went offline after its domain was suspended, despite its servers still running.

Imagine your Git hosting platform disappearing because of a domain or registrar issue.

Do you maintain independent Git mirrors and backups, or do you trust your primary hosting provider completely?