3 ms·
Is it really so bad? There are always priviledge escalation bugs open on Linux, and the attacker can always just try to guess the password, with several differ
by marcosdumay 13y ago
Is it really so bad?
There are always priviledge escalation bugs open on Linux, and the attacker can always just try to guess the password, with several different sessions running su. I don't trust my systems to survive local atacks, or at least I trust them much, much less then surviving external attacks.
Personaly, I have my machines on a hierarchy of trust. More trusted machines can ssh as root into less trusted one, but not the other way around. It's much easier to automatize things this way.
- jamiesonbecker 13y agoThere is literally never a reason for one machine to log into another as root except for your convenience. Put stuff that needs to run as root into a shell script (or use rsync --rsync-cmd) and then use sudo.