I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/
I changed the other users' uid/gid to 0:0
.
The problem is that once I block ssh access to user root by changing PermitRootLogin
to no in sshd_config
, all other users that share the 0:0
uid/gid also loose access via ssh to the box.
The box does not have internet access, so, installing sudo/sudoer to manage users it's not possible.