This might seem like a crazy step, but.. How to disable(remove) root completely from a system? (I'm currently working on Ubuntu 18.04).
I'm working to modify an OS so that no user would ever be able to mess up with the internal files... the user need to have very limited control over the system. This can be done by giving sudo access to only limited commands to the users and taking off any other way to access sudo or su... This question is just my crazy thought that if the root is completely disabled there can be no way some one can figure out a way to abuse the system.. just trying to know if there is a possibility to work this way.
I understand that is creates obvious issues, but is there a way to work around them? Thanks :)
sudo
access to achieve it (enabling root), or access to the physical machine (where on it is moot, as they can boot a live and bypass OS security anyway unless you've built in higher security than just disabling root). Don't give themsudo
access, otherwise you're wasting your time if they already have physical access to hardware – guiverc Aug 23 '19 at 09:29