Is it possible to restrict what Root can do so that a user can not sudo a command or log in as root and run commands? I would like to change Roots and User1's Read
, Write
, and Execute
permissions on /path/to/directory
and all of its contents. But then give MyAdmin permission to modify that path. It would be great if only MyAdmin could change who can access or change the Read
, Write
, and Execute
permissions of this path as well. Is this possible?
It would also be nice if User1 could still run commands like sudo apt get update
but not sudo rm /path/to/dirctory