I always thought su was the wrong way to go about things.
Give me sudo every time.
(there are assorted long discussions about su vs sudo out there on the
interweb, let's not repeat them here!)
Just be glad we still have a choice!
DaveT
On 28/08/15 16:32, Laurent Bercot wrote:
> On 28/08/2015 17:00, Michael Bütow wrote:
>> https://tlhp.cf/lennart-poettering-su/
>
> The thing is, he's not entirely wrong: su *is*, really, a
> broken concept.
> What he conveniently forgets, of course, is that having a
> real root session with a separated environment, which is
> what the new feature does, could already be achieved... by
> logging in as root.
>
> Duh!
>
> So, this is just yet another propaganda stunt.
> "su sucks. See? UNIX sucks! And now systemd can do so much
> better than UNIX: it gives you real root sessions that do not
> leak anything from the user environment."
> "But, um, can't UNIX already do that ?..."
> "NO NO NO systemd does it better because <insert confusing
> buzzwords that will bamboozle executives and journalists>"
>
> It's been like this since day 1 of systemd, and I'm not
> expecting it to change any time soon.
>