Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Monday August 31 2015, @04:29PM   Printer-friendly
from the so-su-me dept.

The Linux Homefront Project reports on Lennart Poettering looking to do away with the good old "su" command. From the article, "With this pull request systemd now support a su command functional and can create privileged sessions, that are fully isolated from the original session. Su is a classic UNIX command and used more than 30 years. Why su is bad? Lennart Poettering says:"

Well, there have been long discussions about this, but the problem is that what su is supposed to do is very unclear. On one hand it’s supposed to open a new session and change a number of execution context parameters (uid, gid, env, …), and on the other it’s supposed to inherit a lot concepts from the originating session (tty, cgroup, audit, …). Since this is so weakly defined it’s a really weird mix&match of old and new paramters. To keep this somewhat managable we decided to only switch the absolute minimum over, and that excludes XDG_RUNTIME_DIR, specifically because XDG_RUNTIME_DIR is actually bound to the session/audit runtime and those we do not transition. Instead we simply unset it.

Long story short: su is really a broken concept. It will given you kind of a shell, and it’s fine to use it for that, but it’s not a full login, and shouldn’t be mistaken for one.

I'm guessing that Devuan won't be getting rid of "su."


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Insightful) by Hairyfeet on Monday August 31 2015, @11:58PM

    by Hairyfeet (75) <{bassbeast1968} {at} {gmail.com}> on Monday August 31 2015, @11:58PM (#230535) Journal

    Actually Lindows was a full OS, whether you cared for its design or not. With Poettering its pretty clear the intent is to turn Linux into just a crippled VM running on top of a cloud connected SystemD, which considering Red Hat's push for cloud computing? Really not surprising.

    What is interesting to me is just how little control the Linux users have when it comes to corporate takeover. Like it or not Windows 10 was a response to Windows user simply refusing to take the "supergigantic smartphone" design of Windows 8/ 8.1 but when Linux users said "We don't want this" when it came to systemd? They were told to fuck right off, even Debian ignored their "users first" charter to tell the users "too bad so sad".

    So I'd say like it or not Red Hat is calling the shots now and they have made it clear that they just do not give 2 shits about end users and without the power of voting with their wallet? Really not much end users can do. Sure there is the fork Devuuan but how long will they be able to last without a thousandth of the budget of even Ubuntu? A year? Two? this is why I've argued "free as in beer" is a bad idea, the power of voting with your wallet is the way end users can force change and without it? Well as we have seen any corp willing to throw around enough $$$ can pretty much just take over the whole show, you either go along or they end up with more and more critical components tied into their "solution" to the point its just no longer feasible to fight against them.

    --
    ACs are never seen so don't bother. Always ready to show SJWs for the racists they are.
    Starting Score:    1  point
    Moderation   +3  
       Insightful=3, Total=3
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   5  
  • (Score: 3, Insightful) by Joe Desertrat on Wednesday September 02 2015, @04:04AM

    by Joe Desertrat (2454) on Wednesday September 02 2015, @04:04AM (#231124)

    Actually Lindows was a full OS, whether you cared for its design or not.

    Lindows was actually the first Linux distribution I installed (Knoppix was the first I tried). In retrospect I suppose, in a way, it was ahead of its time, it had an app store long before anyone else, but after a couple days I decided to try something different and ended up with Mandrake.

    ...this is why I've argued "free as in beer" is a bad idea, the power of voting with your wallet is the way end users can force change and without it? Well as we have seen any corp willing to throw around enough $$$ can pretty much just take over the whole show,...

    The problem with not having "free as in beer" is that the alternative is a Microsoft or an Apple, or something tending towards them, which is what most users switching to Linux were fleeing in the first place. If systemd becomes too onerous I'll keep trying other distributions, if Linux becomes nothing but a systemd O/S I'll try one of the BSD's. Thankfully, with "free as in beer", I'll still have choices, at least for a while.