How can I run untrusted software safely on Linux?

0
12
Asked By CuriousCoder42 On

I've been using Linux for about 2-3 years and currently run Linux Mint, but I'm thinking of switching to something else. My main question is how to run proprietary programs, like Unity Hub and VSCode, in containers while allowing them to have necessary system access. I want to make sure they can only access the files and data I permit.

I often download random projects and files that I can't verify, so I need a secure way to test them. I'm aware there are open-source alternatives, but I need to use these proprietary apps for work. If I could avoid them, I would! I'd also appreciate a solution that streamlines the process, allowing me to launch these apps with one command or a desktop icon. I'm still getting used to the terminology, so apologies if I'm mixing things up.

5 Answers

Answered By AppArmorFan On

Don't forget about AppArmor! It's a great tool for managing permissions on applications, and it might fit your needs.

Answered By TechSavvy88 On

You could consider using virtual machines (VMs) for this purpose. They provide good isolation but can be resource-intensive.

Answered By SafeSandboxie On

If you want to avoid VMs, you might check out SELinux Sandboxes. They let you set rules to control which files your apps can read or write, though you’d need a RHEL/Fedora setup to use it effectively.

Answered By SecurityNerd On

For securely testing suspect software, virtual machines and isolated networks are your best bet. You could even consider dedicated hardware for some cases if you suspect malware.

Answered By LinuxExplorer On

Creating a limited user account can help you run untrusted software more safely. Alternatively, Docker could be another option if you're comfortable with it.

CuriousCoder42 -

That's a good point! I'll look into setting up a limited user account.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.