I have an Ubuntu Linux server and two users with sudo access rights. Is it possible to…
- User
I have an Ubuntu Linux server and two users with sudo access rights.
Is it possible to protect folder of first user from access by the second user?
Assistant
In short: No, not if both users have sudo access.
Why?
Users with
sudoprivileges can run commands as root, which means they can:- Change file permissions (
chmod,chown) - Access any file or directory on the system
- Change file permissions (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.