Why do all the sudo? [was Re: Software updater no longer functional]
Smoot Carl-Mitchell
smoot at tic.com
Sun Jan 22 17:22:01 UTC 2017
On Sun, 2017-01-22 at 17:01 +0000, 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! :-)
sudo provides a good audit trail of the commands run as root. I have
found it invaluable in tracking down some types of errors. sudo -i
just changes the uid to root and provides no real audit trail in the
logs. After a while I found typing sudo just becomes second nature.
--
Smoot Carl-Mitchell
System/Network Architect
voice: +1 480 922-7313
cell: +1 602 421-9005
smoot at tic.com
More information about the ubuntu-users
mailing list