2 ms·
> For example, what benefit is there in creating a new user with sudo privileges instead of using root directly? Users should run with as few privileges as pos
by DanBC 13y ago
> For example, what benefit is there in creating a new user with sudo privileges instead of using root directly?
Users should run with as few privileges as possible. Logging in as root requires two sets of keys.
Sudo logs all commands. The commands usable when using sudo can be limited, whereas root gives access to everything. Using sudo creates heightened awareness of risks.
Root is a high value target. Giving it a strong password is important, but locking it is better.