On 08/07/2018 04:58 AM, Martin Drescher wrote:
Hi members, I'm a little... lets say thoughtful, about the use of 'su' discussed at some points in this list.
I don't recall that discussion. Can you give a link to the archives?
I have a strong opinion about su, which is, avoid it whenever it is possible and use 'sudo' instead. This is the case in close to a 100% in all cases I can think of. This opinion is based on how both programs work and deal with pam and environmental variables. Not to forget: You will not need to share (or in my case, not even set, but lock that account) a root password. And I'm curious why Debian still prefers the use of su over sudo?
I'm not sure that is Debian's position. Every time I see a topic requiring root privileges sudo is used.
For my personal environment and use pattern I prefer su.My environment is a single laptop without physical LAN or internet connectivity. It is a single user system - I am the only person with physical access.
As to use pattern, if I need root privileges, I'm doing experimental system restructuring. The closest I come to using sudo is my use of Gparted and Synaptic.