I'm somewhat new to Ubuntu server (used ~10 years ago). On my current UNIX servers I'm able to create a user and give permission to "su" (as part of wheel group).
It would be really nice to have the same on Ubuntu server (18.04 and above). I found out that by default root is disabled and I have to passwd root to enable it.
- sudo su, sudo bash etc is not an option
- PermitRootLogin Yes in sshd_config isn't an option either
The only option is to have a user (we can call it joe) who can execute su (/bin/su) and become root itself.
Bookmarks