this post was submitted on 21 May 2026
21 points (86.2% liked)

Linux

65418 readers
535 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

Friend asks: I would like to make an app to ask for authentication before launching. I can do that on MacOS via creating an encrypted disc image and put the app in there, and windows has robust third party tools for it. But how would you go about it on Linux, especially since it's a .deb (that gets auto-updated all the time via its repo) and not an appimage/flatpak? Others need access to the user account, but I want to restrict that one app. Creating a different user account for it is out of the question btw, since you can still change the password for that user via the primary admin account. Also, I don't want to be running full VMs that take forever to boot to use that one app. Is there any simple way to lock an app under Linux?

you are viewing a single comment's thread
view the rest of the comments
[–] eugenia@lemmy.ml 3 points 1 day ago (1 children)

You are the only one with the answer closer to what I'm looking for, everyone else is thinking in terms of user accounts, where root can override. An encrypted volume can not be unlocked by root without having the password of the said volume.

[–] Kynsey@lemmy.ml 1 points 19 hours ago (1 children)

I would honestly just create a tiny dual boot of another linux distro with LUKS KVM encryption on the entire thing. It has its own sudo, and is locked behind your encryption password. You just boot into a small 30GB or so private session that only you have access to while leaving the main distro untouched.

[–] mysticalone@lemmy.world 1 points 17 hours ago

I think an alternative could be mountable encrypted disk images with LUKS and mounting it whenever access is needed. http://freesoftwaremagazine.com/articles/create_encrypted_disk_image_gnulinux/