Re: As seen above: use of su vs sudo
On Tuesday, August 7, 2018 11:58:48 AM -04 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 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?
What ever one prefers, I recommend the following discussion:
and this book: