3 ms·
Do you also disallow su on your system or is it just sudo that's been banished? Edit: I'm curious because if you still allow su on the system there seems to be
by voxadam 3y ago
Do you also disallow su on your system or is it just sudo that's been banished?
Edit: I'm curious because if you still allow su on the system there seems to be little to no reason to set PermitRootLogin in sshd_config regardless of auth mechanism (password, cert, token, etc.).
- fuzztester 3y agoYes, good question. Because su was there in Unix before sudo, IIRC. And sudo means "su do", meaning do (something) as su, which in turn meant "super user" or "substitute user" according to Wikipedia, since it can also be used to login as other users than root , e.g.: su - tom https://en.m.wikipedia.org/wiki/Su_(Unix) https://en.m.wikipedia.org/wiki/Su_(Unix)