[plug] sudo don't

Cameron Patrick cameron at patrick.wattle.id.au
Wed May 4 13:41:06 WST 2005


WolfBite wrote:

> localhost doesnt work for me(?)
> replace exact same command with 192....  works
> (localhost reconized by browser&ping)

It's more common to give ALL for the host name unless you're sharing
the same /etc/sudoers file across a bunch of machines.  Giving ALL for
the hostname _doesn't_ allow arbitrary people from over the network to
run commands on your machine, it just disables any checking of your
machine's hostname against the one given in the sudoers file.

While the sudoers man page is a bit inscrutable (in true Linux style),
there's some good stuff in the examples section at the end - although
the examples are generally of more complex uses of sudo.

Cameron.




More information about the plug mailing list