While I know it's useless in practice as such system won't be usable, can't be fixed, no apps can be installed...etc but I would like to know is it possible to have an OS that has no root at all.
Assuming I use the chroot environment via cubic to do the following:
Create a normal user with addusr (without adding it sudo).
Modify the user root in /etc/passwd to
`root:x:0:0:root:/root:/sbin/nologin
Remove the first line in /etc/shadow.
remove the gnome-terminal
Use full disk encryption
This leaving the system with only one non-sudo user.
Will there be any way to run commands, execute .sh scripts, install apps or do any harmful actions? in this case is logging in as root completely impossible?
Thanks in advance