Post #2737297
2026-05-21 11:32 UTC
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.
First of all, if users have admin rights, nothing really prevents them to run that app. Even if you encrypt the app itself, they can just reinstall/replace it from standard repository.
Few ways this can be done:
If app needs internet connection, you may use firewall rules to block said connections, or even application firewall (Opensnitch). Create script which unloads said rules via sudo (asking password) then runs app, and after closing app loads rules again. Users must not have admin rights or they can just unload fw rules.
Create encrypted container/directory, protected by password, and manually install said app under there (probably needs manual recompile of the app). Create script which asks password, unlocks the encrypted location, runs app, and locks container after use. Again, no admin rights for users or they just install same app from repositories.
Use apparmor or selinux to block said app. And again create script which (via sudo) allows app via selinux/apparmor policies and runs app, and blocks it again afterwards. I repeat, users must not have admin rights or they can just unload those blocks.
What app it is?
Replies (1)
-
@Sxan@piefed.zip 2026-05-21 14:46
What app it is? Porn. It’s always porn.