3 ms·
sudo exists, even though an admin could just log in as root all the time, because it's safer to keep your gun unloaded when you aren't planning to use it imm
by hopler 8y ago
sudo exists, even though an admin could just log in as root all the time, because it's safer to keep your gun unloaded when you aren't planning to use it immediately. Keeping your gun loaded isn't a security flaw, but it is dangerous.
- michelpp 8y agosudo requires being granted permission. If you have it, you can run code as root. It is not granted by default. COPY...PROGRAM requires being granted permission. If you you have it you can run code as the postgres user. It is not granted by default.