this post was submitted on 19 Jan 2025
21 points (95.7% liked)

Linux

49175 readers
701 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 5 years ago
MODERATORS
 

Let's say I want to enforce certain settings, such as the use of a proxy in network settings for certain users.

Isn't this easily bypassable by for example by installing TOR browser or using a VPN app in the user space?

How does system mangers can be sure users will only use the system as planned by the sysadmin? I'm especially interested in network settings, but in general I would be interested to know more about this/be pointed towards the right direction.

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 3 days ago (3 children)

You can simply just download a binary and run it.

[–] [email protected] 10 points 3 days ago (2 children)

Mounting home and temp partitions with noexec should prevent that.

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

Nah, still easy to circumvent. This should work: https://github.com/hackerschoice/memexec, or (for dynamic exes) just call them through ld-linux.

[–] [email protected] 10 points 3 days ago

Many electron apps will break because they install some executables into ~/. config

So double win!

[–] [email protected] 1 points 3 days ago

Sure but will it bypass your established network routing if it can't change it?

[–] [email protected] 1 points 3 days ago (1 children)

And that would be enough to bypass root settings?

If someone wants to prevent users to mess with the system should he just disallow downloads entirely/confine the user into an intranet?

[–] [email protected] 1 points 3 days ago

Depends on the root setting. And depends on your goal. What is the purpose of the proxy? I doubt that it is easy to bypass, but you still could run a Proxy or VPN as user, this would not bypass the proxy but any filtering/blocking would not be possible. Etc