5 ms·
> You should not log in directly as root. Why not?
by jesprenj 3y ago
> You should not log in directly as root.
Why not?
- kccqzy 3y agoI see this as mostly a way to prevent fat finger mistakes on the part of the sysadmin. Most of the tasks that need to be done when interactively logging in don't really require root per se. Why give yourself so much ambient permissions then? If I accidentally issue a command that only root can execute, it is a chance to reflect when repeating the command with sudo and typing the password.