[OT] Debian mailinglists

Steve Lamb grey at dmiyu.org
Mon May 26 16:15:04 UTC 2008


On Mon, May 26, 2008 6:05 am, Marcin Kasperski wrote:
> Once you get used to sudo, you start running individual commands more
> often.

    Rarely.  I can't think of any sequence in root for which I would issue
only a single command.

> For example, nowadays I tend to walk around /etc/ from my user
> account and just issue things like "sudo scite xorg.conf"
> or "sudo /etc/init.d/apache2 restart". Well, I must admit I configured
> sudo to accept me without password ;-)

    For example, walking to etc you can do but if you edit anything in etc
chances are you'll want to restart other things.  Sequence of commands.

> Don't forget also about things like
>     sudo make install
> (which works as I am still in the correct directory etc)

    This is Ubuntu, if I wanted to make something I'd be using Slackware still.

> or
>     sudo apt-get install blahblah

    Without the preceding sudo aptitude update?  Sequence again.

> As I already mentioned, you may configure sudo to accept specific users
> without entering password at all. This is reasonable for desktop boxes.

    Quite aware of that.  It is the basis of my automatic spam/ham training
of SA.  ;)

> The fact that sudo is fairly powerful does not mean it can't be used for
> trivial configs too....

    Careful.  There be dragons.  The fact that Word is fairly powerful does
not mean it can't be used for trivial uses like, email, right?  Besides,
none of this is germane to the point I made.


-- 
Steve Lamb





More information about the ubuntu-users mailing list