Slashdot Mirror


Longhorn to use UNIX-like User Permissions

destuxor writes "After years of Windows users abusing administrative accounts out of necessity, Microsoft promises that Longhorn will make better use of user permissions in what sounds exactly like what UNIX/Linux users have been doing for years. Hopefully this will fix the long list of applcations that cannot be run by a Least-Privilege User Account (LUA) while giving a much-needed security boost. Too bad "MS-root" can't watch over your grandmother when she opens emails."

22 of 697 comments (clear)

  1. 'User' attitudes by Jumbo+Jimbo · · Score: 5, Insightful

    I think that it's a good start and may well make a big difference in companies which use Windows as their desktop platform and have system administrators who can control user accounts.

    This section from the article seems to have a good point: A strictly enforced LUA model could make it harder for worms and viruses to take over Windows systems. But Microsoft may have a tough time changing user and developer behaviour, even with new features that support the LUA regime in Longhorn, experts warn.

    On home systems, we still currently have enough problems trying to convince people not to open dubious attachments, or with people giving sites permission to install practically anything on their machines. It will take a big shift in attitudes (or Microsoft forcing the user to jump though hoops) to make many home users have anything but admin-privilege accounts.

    1. Re:'User' attitudes by Cosine+Jeremiah · · Score: 5, Insightful

      Macintosh users adjusted rather well to OS X's behavior, which basically mimic's a GUI sudo whenever root privs are needed. I think if application installers start popping up the password prompt, people will figure out what to type in there.

      On the other hand, perhaps people will end up getting too used to typing in the password whenever it's presented.

      "Installer? Check! Installer? Check! Virus? Check!"

  2. Finally... by TripMaster+Monkey · · Score: 5, Interesting
    From the article:


    Application developers who log on to their development machines as administrators when they write code create programs that assume that level of privilege but have trouble when run by a user with reduced permissions, according to Brown's work, which estimated that 90 percent of Windows software can't be installed without administrator access to Windows, and that 70 percent won't run properly unless the user is an administrator.


    It's about damned time this issue gets addressed. Every day at work I have to fight with this M$ limitation. Chief among the offenders are:

    - Kodak Share software
    - Autocad
    - Any serial port emulation program
    - PowerDVD

    Most users must be elevated to Power User status on their machines to allow them to do anything nowadays, while there are plenty of programs (like the ones listed above) that will malfunction or simply refuse to work with anything less than full Admin rights. Sometimes, I have no choice but to give a user full Admin rights...I grind my teeth as I do so, knowing full well I'll be called to disinfect the machine of countless spyware programs within weeks, if not days.
    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:Finally... by Anonymous+Luddite · · Score: 5, Interesting

      >> Sometimes, I have no choice but to give a user full Admin rights...I grind my teeth as I do so, knowing full well I'll be called to disinfect the machine of countless spyware programs within weeks, if not days.

      That's where I live buddy.

      We have a room full of people of varying ability who all have unlimited access because [censored p.o.s. software package] doesn't run otherwise. These guys surf a lot, clicking "yes" on every friggen dialogue box they see... literally can't go a full week without some exploit being loaded.

      zero user buy-in for security - When someone shows up to remove the exploit-of-the-week for them, they get is static about "touching my machine". It pains me to be in the same room sometimes...

    2. Re:Finally... by Rycross · · Score: 5, Interesting

      We run all of our users as users at work. Some of the programs which don't work can be made to work by fiddling with file permissions and the security policies. For programs that just won't work without admin priveledges, we provide an admin account which has been modified so that you cannot log into it (by having a script that logs you out as soon as you log in). The users use the "Run as..." option, and run their programs using this administrator account. Thus they can't do everything as administrator, but programs that require the permissions can be run.

    3. Re:Finally... by Spy+der+Mann · · Score: 5, Interesting

      Chief among the offenders are:

      - Kodak Share software
      - Autocad
      - Any serial port emulation program
      - PowerDVD


      Shouldn't Microsoft Logo certification do something about this? I mean, isn't there a clause saying "Thou shalt let users run thy program withoust being administratorths" or something?

  3. Of course... by Anonymous Coward · · Score: 5, Insightful

    The permissions will permanently be set to 777.

    The problem has never been a lack of permissions in NTFS, just that no one uses them well.

  4. A step in the right direction but.. by thundercatslair · · Score: 5, Interesting

    This might not change much, windows users are generally lazy. I see most people will just log in as an administrator and stay that way forever. The article didn't mention how easy it would be to switch to an administrator either like unix's su. No matter what microsoft does security will always be a huge problem, users don't want to change they like it easy.

  5. Permission Differences by buckhead_buddy · · Score: 5, Funny

    No the Microsoft permissions in Longhorn will be different from Unix permissions...
    They'll be patented. :-)

  6. No, Unix uses Windows-style permissions by badmicrophone · · Score: 5, Funny

    well, it will once MS finally patents them like they did sudo.

    http://taint.org/2004/08/20/024522a.html

    --
    Check out my music video!

  7. XP does that. User permissions are not the problem by Anonymous Coward · · Score: 5, Informative

    The permission mechanisms in Windows NT/2k/XP are pretty flexible. Unix is only just migrating from the old user/group/world permission set to access control lists, something that is readily available for just about everything in the Windows operating system, from files to individual registry entries.

    The problem with Windows permission management is that a) it is completely hidden from the casual user, b) there are no guidelines how applications can be made to work with restricted privileges and programmers are too lazy to figure it out themselves and c) the default XP install makes everybody an admin, so there is very little incentive for application programmers to get it right.

  8. Re:-rw-r--r-- by Narchie+Troll · · Score: 5, Insightful

    Note that the discussion isn't about using literal Unix-style permissions -- the title is rather misleading. NTFS permissions are very good; in some ways, they are superior to classic Unix permissions (but not necessarily to Posix ACLs).

    Instead, the Windows security model is (apparently) going to be more Unix-like, in that the demarcation between administrator (root) and normal user will be more strict. Mostly, this means making software developers allow their programs to be installed and run with limited permissions, unlike the current admin-fest.

    There are many ways that Microsoft could fuck this up, but I hope they don't. Unlike some people, I have no investment in constantly repairing ruined systems.

  9. What worries me about manifests by tepples · · Score: 5, Insightful

    But here's something that worries me more about manifests:

    Microsoft also proposes application manifests, which allow developers to define the permissions an application needs to operate properly and can be signed by independent software vendors to ensure integrity. Deployment manifests, signed by IT departments, will allow network administrators to dictate how much trust an application should have on the network, according to the documents.

    Based only on this part, it appears that an application manifest must be published by an entity that can afford three figures USD per year for a code signing license. Developers of free software and proprietary freeware often cannot afford this annual fee. My worry is that Longhorn Home Edition may not permit users to install customized deployment manifests, locking users into using only programs with an application manifest, that is, proprietary commercial software.

  10. Not Permissions, Just Common Sense Default ACLs by foo+fighter · · Score: 5, Insightful

    This isn't Windows switching from their ACL model to a UNIX permission model.

    One, they are pushing for 3rd-party developers to finally stop requiring simple apps like kid's software and low-end desktop publishing to be run with escalated privileges.

    I mean, these application developers have had since '98 or '99 to work this out. But Window's lax defaults and lack of user education didn't force the issue. Microsoft is finally, /finally/, forcing the issue.

    Two, it is Microsoft finally realigning their default ACLs to be at once more secure and more common sense.

    It makes no sense for a home user to not be able to control their power settings or change their system time unless they have escalated privileges.

    Really, this isn't so much Windows following UNIX as it is Windows following OS X.

    Finally, and this is IMHO, going to a permission model would be a *huge* step backwards. I know UNIX die-hards will flame me for this, but it is my experience that ACLs are much more flexible and lucid than permissions.

    --
    obviously no deficiencies vs. no obvious deficiencies
  11. Windows biggest problem by erroneus · · Score: 5, Insightful

    I'd love to blame Microsoft for their own operating system problems, but really, the blame is mostly on the third party developers.

    It has been this way from the beginning... as far back as I can see, developers skirted the BIOS because BIOS calls were too slow -- that was back when the BIOS was part of the OS. This is not a Microsoft problem, but it adds to understanding of how the culture evolved. "Forget about standards and interoperability, we need to deliver performance!" The error in judgement has been costly.

    Today developers continue to write code that uses and exploits bugs and irregularities in the MS Windows operating system environment. If I learned nothing else from reading the comments found in the Windows Source code scandals, I learned that Microsoft became obliged to add code to emulate bugs and irregularities for specific applications to continue to run properly. In a perfect world, the app writers would write code using the APIs as documented. (And when bugs and irregularities were found, Microsoft would FIX them to discourage developers from utilizing the strange or buggy behaviors)

    Developers should be mature enough to realize that any bug or irregularity found in an OS API should be considered subject to change and could break their software once it is fixed. It kinda bugs me that these "paid professionals" were and continue to be so short-sighted.... (meanwhile, these Open Source Amateurs rely almost exclusively on documented API functions and features simply because bugs and irregularities are often fixed quickly enough that to write code against them would mean they would need to update their code AGAIN.)

    I think this kind of speaks volumes about where the real weakness in commericial software development lies -- in the motivation.

  12. Re:Come on over to Linux! by Narchie+Troll · · Score: 5, Informative

    'Being root' and running a SUID CD burning application is rather different. In fact, it's entirely different, since you're granted no special rights as a user.

    You do not have to be root to mount anything. That's what /etc/fstab is for, specifically the user flag. That is indeed a bogus claim.

    Most programs can be installed as a regular user under $HOME. I've done it many times on systems where I have no root access. This includes everything from Lua to GTK+. In fact, very few Linux programs require root access to install and use properly.

    Either you haven't used Linux, or you haven't bothered to learn how to use it properly.

  13. Re:Swing and a miss... by Elwood+P+Dowd · · Score: 5, Insightful
    Installing software is an administrative task, not a user task. Software installation *should* require admin access.

    Just one more example of MS not understanding the difference between administration and use.
    No, no, no. You couldn't be more full of shit if you tried. In Linux, you can
    ./configure --prefix=$HOME
    In OS X, you can
    ./configure --prefix=$HOME/Library
    or leave your .apps in ~/Applications/. The whole point is to make it so that users can install applications without it installing spyware all over your system directories. Software installation shouldn't require admin privs. You should be able to do just about anything to your computer without effecting other users.
    --

    There are no trails. There are no trees out here.
  14. Re:Home by Quarters · · Score: 5, Funny
    "Incidentally none of my games on OS X require superuser or even an admin account. Although they require it for installation if you install anywhere else but ~/"

    Would that game be Breakout, SuperBreakout, or Photoshop?

  15. Re:Come on over to Linux! by NoMoreNicksLeft · · Score: 5, Funny

    Reminds me of that VMS admin they found deep in the heard of some DEC building last year. From what I understand, he still doesn't believe that Compaq bought out his company, and they're having a hell of a time tracking him own in there. Late at night he somehow evades security cameras, sneaks out and defaces HP logos.

    They say you can hear his screams of "thread-level security" echo through the halls.

  16. Re:Logo Program by univacmac · · Score: 5, Insightful

    I never gave a damn if my drivers were signed or not - i wanted the device to work, and if that was the only driver i could use, screw windows. :D

  17. Mount points have been supported since 2000 by melted · · Score: 5, Informative

    Mount points have been supported since 2000 in Windows. And hardlinks. ACLs and multiple streams per file were supported almost from the very beginning.

    Before bashing something you should at least RTFM, otherwise you just look like a typical teenage Linux zealot.

  18. Re:Logo Program by zippthorne · · Score: 5, Insightful

    The drivers that came with my motherboard are not signed, the driver for my monitor is not signed (it's quite old), I forget about the graphics card.. printer drivers not signed - what am i supposed to do? use my computer with the "default" monitor at much lower resolution and refresh rate than my monitor is capable of, and never print anything?

    --
    Can you be Even More Awesome?!