Re: Newbie wants Firefox and Tbird
On 9/26/05, Kent West <email@example.com> wrote:
Steve Lamb wrote:
> On a single user machine or for when the person who is pretty much the
>de facto administrator and they know to just su root, run the command and get
>the hell out of dodge there is *NO* benefit of sudo.
1. Training oneself not to run things as root is one benefit of sudo, so
that you don't mess up when you go to another machine.
I'll concede this one, but...
2. Not logging into X as root is another benefit. Running a single X
client/app as root is different than running all of X as root.
You can run su within a terminal in X, no one mentioned anything about
running X as root. That's an aside from whether to use su or sudo for
3. Logging, provided by sudo, is not merely for the sake of knowing who
did what; sometimes it's for who did what when, etc.
If it is a single user machine then the single user knows who did what and when, they are the only user...
I'll grant that there may be considerably less reason to use sudo on a
single-user machine, but to claim that there is "*NO* benefit of sudo"
is simply incorrect.
There is more of a papertrail when tracking done an admin problem, but
in general, for single-user machines su is adequate and less trouble to