Why do all the sudo? [was Re: Software updater no longer functional]

Karl Auer kauer at biplane.com.au
Mon Jan 23 07:05:15 UTC 2017


On Mon, 2017-01-23 at 07:38 +0100, Ralf Mardorf wrote:
> > It's safer for experienced people too.
> I explained why it isn't safer, so please explain were I'm mistaken.

You provided a few edge cases where use of sudo could lead to an
unwanted command being executed.

For the vast majority of common tasks requiring root privileges, there
are GUI programs that request those privileges in a controlled
fashion. 

For the few tasks really requiring root user command line access by
ordinary folk, sudo is the safer method. There are thousands of web
pages explaining why, I'm not going to do it again.

I use sudo with a few exceptions:

 - when a path is unreachable
 - when redirection is problematic
 - when a pipe really is the best way

... and sometimes when I am working on an expendable, easily recreated
system.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B





More information about the ubuntu-users mailing list