Why do all the sudo? [was Re: Software updater no longer functional]
ken at jots.org
Sun Jan 22 17:05:33 UTC 2017
I think the answer is, realistically, that that way you know which
commands are privileged, and which ones aren't. Most admins in the real
world do do "sudo -i" or "sudo bash" or somesuch. But sometimes you
*shouldn't* execute a command as sudo -- e.g., if it's going to suddenly
create a file, it will now have root ownership, which you may not want.
So I say, "Rock on with 'sudo' in instructions," and real world use can
reflect whatever you're comfortable with.
On 2017-01-22 12:01, Chris Green wrote:
> On Sun, Jan 22, 2017 at 04:47:05PM +0000, Tony Arnold wrote:
>> > It saves typing! :-)
>> > This is by no means the worst case, you often see great streams of
>> > 'sudo this' and 'sudo that' in descriptions of how to do things.
>> Yep! Couldn't agree more. I use 'sudo -i' a lot! But it's rarely
>> suggested in any advice or documentation I've seen.
> Well someone agrees with me! :-)
> Chris Green
More information about the ubuntu-users