I usually use Debian-derivative distributions such as Ubuntu server. Most of them come pre-configured to use sudo
rather than su
and to prevent access to the root
account at all possible.
With this in mind, should root
have a shell in /etc/passwd
? If I cannot login as root
, does it make sense to give root
a real shell?