Slashdot Mirror


Windows Users Ignoring LUA Security

blankify writes "eWeek is running a story about the least-privilege, no-admin option available in Windows (2000/XP/2003) that has been mostly ignored by end users. From the article: '"To the average user, the notion of non-admin is abstract and obscure," said Michael Howard, a senior security program manager in Microsoft Corp.'s security business and technology unit. "Most users just don't know they can set up least-privilege accounts in Windows today, and that's just a sad reality."'"

85 of 522 comments (clear)

  1. It could be the default option during install by Colin+Smith · · Score: 5, Interesting

    How about, embracing and extending good practice...

    --
    Deleted
    1. Re:It could be the default option during install by BoomerSooner · · Score: 5, Insightful

      Try it yourself some time. Running windows without admin rights is a nightmare. About 2/3 of my programs won't operate (I'm a software developer) at all. I've fixed almost everyones computers that knows me (I hate being free tech support but anything for a friend) and stupid programs like a damn cat breeding program this one girl had wouldn't run without admin rights (after fixing her computer 3-4 times I tried the No Admin route to no avail).

      Until programs run without being admin this whole arguement is pointless.

      OS X does it perfectly.

    2. Re:It could be the default option during install by bhtooefr · · Score: 3, Informative

      Try something next time...

      Change the shortcut to point to "runas /u Administator /p (the admin password) /e (the path to the exe) /a (whatever the arguments are)". That should let you run something as an Admin while still being an LU.

    3. Re:It could be the default option during install by KDR_11k · · Score: 2, Insightful

      The main problem MS has with breaking backwards compatibility is that too many users use Windows only because their software won't run properly on other OSes. The new system would need a heavy push to get enough app support to work. It'd be on even footing with Linux then.

      --
      Justice is the sheep getting arrested while an impartial judge declares the vote void.
    4. Re:It could be the default option during install by rpdillon · · Score: 2, Interesting

      A step forward, for sure, but if you do this too much, it sort of invalidates the point of running as a user, rather than an admin.

      I'd be particualrly scared of running IE this way, for example. It's the programs that can get hijacked that you *don't* want to be running as admin. Of course, IE may run fine with non-elevated rights - I don't know because I don't use Windows.

      This is a very interesting point though: merely making a feature available isn't enough. You have to (and I'm talking about Microsoft here) make the developers aware so that they support the new default. In short: you have to actually *believe* tat it is the right way to handle things, rather than paying lip service to the notion of security.

      Anyway, they'll eventually come around, I expect, and this is a good start.

    5. Re:It could be the default option during install by Pharmboy · · Score: 2, Insightful

      Please explain how "the OS itself is built around you being an admin"? This is an application, not OS, problem. The OS provides the mechanisms for LUP

      Try running mainstream apps and see for yourself. Stuff like peachtree, or any other business app breaks like hell if you don't have admin priveleges. The problem IS in the OS, as the permissions in Windows is incredibly stupid (which is why Longhorn is changing to a Unix style permissions setup...)

      Even XP is based upon the old premise that one person uses a computer. The default is no login, no password needed. Adding a domain server after you already have the box installed is a pain too, since windows wants to rename the login, and considers "bob on the local machine" different than "bob when he is on the network". Its a total pain in the ass compared to unix.

      --
      Tequila: It's not just for breakfast anymore!
    6. Re:It could be the default option during install by blincoln · · Score: 2, Informative

      About 2/3 of my programs won't operate (I'm a software developer) at all.

      As others have said, this is the fault of the developers of that software.

      Microsoft has been telling developers for at least five years now to put user data/config/whatever in the My Documents folder for whoever is running it. *Not* doing this is really stupid, because as soon as you install an app that writes config data or whatever to its install folder, you run into problems on multi-user machines like termservers.

      I work in IT for a fairly large corporation. Most of our users do not have admin rights, and their apps work just fine.

      These are the kind of apps we've had problems with:

      - Software from "Enterprise"-only vendors like BMC, Quest, Niku, Merant, and Attachmate. This is because they refuse to follow good coding practices, much like they refuse to design decent UIs. Some of these we've found workarounds for, like giving the Users group write or modify access to the install folder.

      - Legacy internal applications. This is because they were written in the Windows 95 era by people who didn't think they'd still be in use ten years later. Usually we add a wrapper to run these in the context of a privileged user.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    7. Re:It could be the default option during install by Osty · · Score: 2, Informative

      IE runs fine with non-elevated privileges (I'm doing it right now). Since a lot of malware takes advantage of vulnerabilities in IE his suggestion would improve security a lot...even if almost every other program was run as an administrator using his method.

      Except that many plugins for IE that people would want to use don't play nicely with non-admin users (think popup blockers, search toolbars, or Turnabout, though to be fair the latest Turnabout code does support non-admin use if you recompile it with an additional flag, and hopefully that will become standard). If apps would simply use HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE when writing to the registry and %APPDATA% or %USERPROFILE% (%ALLUSERSPROFILE% is available for shared data) when writing to the filesystem, 99% of all non-admin problems would be solved.

      Microsoft has published the guidelines on how to do this for over five years. It's now 2005 and programs still don't follow those guidelines. What should Microsoft do?

      They've done more than just passively publish guidelines. Non-admin support is part of the winxp/win2k3 logo program requirements. However, the worst abusers of admin rights are those apps that aren't logo-certified and never will be -- budget shovelware software, personal projects, and often open source software (not because the authors don't understand the least-privilege principle, but because they often come from a non-Windows background and don't know how to write least-privilege-safe software on the Windows platform, and often don't even care). Maybe Microsoft should make the default user non-admin. They already have several elevated-right groups that are still non-admin (Power Users, for example). The thing is, most people don't install Windows themselves. What's it matter what Microsoft does to the installer when the assembler of your PC pre-installs windows with a default user as admin anyway?

    8. Re:It could be the default option during install by crazyphilman · · Score: 4, Insightful

      Not to overdo the "sympathy for the devil" thing here, but I've been thinking about how screwed poor Microsoft is. Think about this; they've managed to paint themselves into a corner on security and stability issues, and they may not have any way to get out of it. Consider:

      1. They carried the same codebase forward from Windows 3.1, never completely scrapping it, always just bolting new parts on. This has caused Windows to end up like a Rube Goldberg machine, so complicated on the inside that "they" say nobody at Microsoft really knows what everything in there actually DOES.

      2. They really pounded the nails in the coffin when they deliberately bound IE into the O/S to frustrate the DOJ during the browser wars. By binding so many things right into the O/S, they glued themselves to their codebase. Can they even separate their GUI from the underlying O/S anymore?

      3. Given that this monstrous, mammoth codebase is a hideous nightmare to try and "fix", obviously the smart thing is to pull a Steve Jobs: scrap the whole beast and glue a beaufitul, stable frontend onto a FreeBSD backend with a Mach Microkernel. This would turn Windows into a thing of beauty and stability, like the Mac O/S. But, CAN they? Is it even possible?

      4. And, if they did that, they might face a revolt as virtually every software company, corporate IT department, and end user went completely ballistic. It could be suicide.

      So, think this over: Microsoft is pretty much screwed, locked utterly into the codebase they've got. If they stick with it, eventually they'll be replaced by more secure, stable alternatives. If they try to save themselves the Apple way, the end could come sooner instead of later.

      If YOU were Gates and Ballmer, what would YOU do?

      Aside from spending the weekend on the yacht, I mean... ;)

      --
      Farewell! It's been a fine buncha years!
    9. Re:It could be the default option during install by crazyphilman · · Score: 2, Insightful

      Uh huh. Clean? here's a fun article for your perusal about that "programming talent" you mentioned:

      http://www.kuro5hin.org/story/2004/2/15/71552/7795

      They curse like sailors, they don't even like their OWN codebase, they code around errors... Yeah, sounds pretty clean to me.

      I guess we'll see what happens. I give 'em five years, tops. I don't think the company's going out of business entirely, I just think they'll end up abandoning the PC OS business for other markets.

      But, we can agree to disagree. :)

      --
      Farewell! It's been a fine buncha years!
  2. I wonder why by TFGeditor · · Score: 2, Insightful

    "Most users just don't know they can set up least-privilege accounts in Windows today, and that's just a sad reality."

    I wonder if this could have anything to do with the fact that the user interfaces, OS messages, and help files are not "user friendly" and written in mysterious GeekSpeak that the average user doesn't understand.

    --
    Ignorance is curable, stupid is forever.
    1. Re:I wonder why by SA+Stevens · · Score: 2, Funny

      Indeed.

      Now if the help info was just packaged in the eminently user-friendly 'info' system. . .

    2. Re:I wonder why by Ilgaz · · Score: 2, Interesting

      "xxx requires your administrator password to install"

      "ok" "cancel" at bottom there is a tiny triangle can be opened and shows full path to whatever needs it.

      As they steal everything, why not steal that scheme of OS X so at least we mac users have a "more free" port 135? ;)

    3. Re:I wonder why by dnoyeb · · Score: 5, Insightful

      Or the fact that 1/2 the programs only work with Admin rights.

    4. Re:I wonder why by jd142 · · Score: 4, Informative

      It isn't the unfriendliness of the UI or the help file.

      By default, new accounts created during a windows install/first use interface are administrator accounts. As are new accounts created through the generic, task view Control Panel interface for account management.

      It's one of the reasons that Windows is unsecure out of the box.

      If MS merely made accounts user only be default, that would take care of it.

      Of course, then you'd have to fix all of the crappy software out there that can only run as admin. And there's a lot of it. Major software packages like WordPerfect still don't handle user accounts and preferences correctly and it's a very simple thing to do.

    5. Re:I wonder why by SA+Stevens · · Score: 2, Funny

      I was thinking more like it could automagically pop up a vi window to a config file in a maze of folders under /etc

    6. Re:I wonder why by n0-0p · · Score: 5, Insightful

      Lets not forget software just failing to work. Most third party applications simply will not run correctly in an LUA environment. Honestly, most MS software couldn't run this way before 2000. I run LUA and I have to use runas admin on far too many applications; how is that really LUA? And lets not forget that running IE with reduced rights will also cause many IE plugins and any IStream handoffs (like Media Player) to fail without explanation.

      Of course, I totally agree that they claim of lack of user awareness when it is really a lack of MS support. Microsoft has also done nothing to simplify this issue for developers. There are no simple "test and prompt for elevation" routines. It's not a general Windows logo requirement; in fact it's buried in one paragraph in the enterprise logo. And to top it all off, aside from a few proactive devs making blog entries, there's been no attempt to educate users.

      Way to go MS, blame user apathy for your own poor performance.

    7. Re:I wonder why by Syncrou · · Score: 2, Insightful

      1/2 of the 3rd party software doesn't work in restricted mode. i.e. Itunes won't even import CD's.

      Thats enough reason there to ditch it.

    8. Re:I wonder why by TFGeditor · · Score: 2, Insightful

      While I share your frustration with clueless users, it is unrealistic to expect them to learn what they perforce need to know in order to simply use their computer for what it was designed for (i.e. run apps, connect to "the internet" etc.). I know we hate car analogies here, nontheless, it is a bit like expecting a car owner to pass a mechanic certification test when all the guy wants to do is drive to work and back every day.

      --
      Ignorance is curable, stupid is forever.
    9. Re:I wonder why by agraupe · · Score: 2, Insightful

      It's because MS has never enforced the concept on developers or users that this has been an option. Indeed, in some earlier versions of Windows, I'm guessing that this was not an option. Also, I'm guessing that many of these 3rd-party developers do not consider running non-admin, therefore they cannot effectively ensure their program will work without admin rights. In summary, it's just that non-admin has always been "the way" in the Unix world, whereas it hasn't been for Windows.

    10. Re:I wonder why by Transcendent · · Score: 4, Informative

      Even a lot of MICROSOFT games (Age of Mythology, for example) don't work unless you have admin rights...

    11. Re:I wonder why by TFGeditor · · Score: 2, Insightful

      "I would expect a driver to know that the banging noise coming from under the hood is a problem, or when the car suddenly isn't handling right, maybe a tire's blown out, or that one at least should get the oil changed every 3,000 miles."

      True. However, when one is accustomed to strange noises under the hood and strange handling characteristics (which manifest/change every time they change the air freshner hanging from the mirror), then another new noise or odd handling characteristic doesn't get much if any notice.

      Further, if the LOW OIL light read "System lubrication properties are outside recommended specifications" or the TEMPERATURE light read "System coolant thermal properties above factory recommendation," how might the user/driver respond?

      --
      Ignorance is curable, stupid is forever.
    12. Re:I wonder why by MurphyZero · · Score: 2, Insightful

      I've set up several non-admin accounts for the family that we use regularly, and many programs have to be run under the admin account. It is very annoying and a pain in the ass. Sometimes you won't realize it until you get the error. You'll run a program, access something someone else started using their account and have no idea that it was read only because it is under their account until you go to save. That's just one of the typical incompatibilities.

      --
      Our founding fathers removed the guys in charge. Be American. Vote incumbents out.
  3. doh by Anonymous Coward · · Score: 5, Informative

    most likely because this option breaks most applications

    1. Re:doh by deutschemonte · · Score: 5, Insightful

      Too bad you posted as AC because that's exactly why I don't use it.

      A limited account in linux still allows you to do most things without a hitch. Plus, when you need root access, you can do that within the logged on account without logging off.

      I also tried setting up my SO's account as limited but she ran into problems all the time. It is hard to explain (excuse?) something as a feature when it is such a pain in the ass.

      Hopefully, they will get this one thing right in Longhorn.

      --
      The preceding message was based on actual events. Only the names, locations and events have been changed.
    2. Re:doh by blackpaw · · Score: 5, Informative

      You can start a Administrator cmd prompt in windows without logging off:

      runas /profile /user:Administrator cmd.exe

      Or any other program can be launched.

    3. Re:doh by darkitecture · · Score: 2, Informative


      Exactly. Even the most mundane and trivial application or game these days tends to require some sort of adminstrative privileges or access during install and commonly also during use. Numerous small business accounting packages require adminstrator privileges, especially a much-maligned yet inexplicably common package that requires online activation.

      Look, I can understand that low-access user accounts are the way to go, but when the most common programs require admin rights to use and install, how can you expect the "average user" (who, by the way still is oblivious as to why their computer runs as slow as a sloth when Fast User Switching is enabled and the other user has 24 programs running) not to see a low-access user account as some sort of ugly restriction, an unfairly imposed shackle on their own private usage of their own computer?

      When your average word processing application and camera-photo applications (I'm looking at you, Nikon) stops requiring access to the internet (Net Limiter saw those dubious packets being sent back and forth, HP photo software) and important registry areas (fuck you, Hitachi DVD-RAM video camera proprietary software), then maybe we can honestly expect the average user to be happy with user rights.

    4. Re:doh by TopSpin · · Score: 4, Interesting

      most likely because this option breaks most applications

      This is why most people don't know about it; developers and vendors barely understand Windows security, so it's ignored. The users instinctively know this and they play along, ignoring the existing capabilities.

      The Microsoft platform is closed, poorly designed, obscure and ambiguous. Side effects are common and difficult to prevent or correct. Frobbing things that vendors aren't paying close attention to is a good way to invent new breakage.

      Go ahead, be the first on your block to harden Windows with naive LUA. Spend the next two years chasing down truly arcane breakage. Teach Microsoft and third party vendors how to promulgate securable products. Meanwhile, I'll be using software on platforms that figured out most of this stuff a decade ago.

      --
      Lurking at the bottom of the gravity well, getting old
    5. Re:doh by Hal_Porter · · Score: 3, Interesting

      Actually the best way is to use Fast User Switching. Have an Admin account and your normal one. Do Adminy stuff in the Admin account and everything else in the normal one. Once you get used to it, it's a couple of keystrokes to flip between the two. Unlike Run As, the two zones are on different desktops, which means that you're invulnerable to Shatter attacks windows running with admin privileges

      Here's a good blog with much more info

      Some people even prefer this to su.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    6. Re:doh by Tim+C · · Score: 2, Insightful

      Well, the average user could just right-click on a shortcut to cmd.exe and choose "Run as..." from the menu.

      You're forgetting, though, that the average user will only ever use a command prompt under strict instruction of someone else who is walking them through the process. The same is true of an "average user" that runs Linux. (That's "average user", not "average Linux user" - the two are very different)

    7. Re:doh by Mr.+Underbridge · · Score: 2, Insightful

      Thereby defeating the purpose of having a least-rights account, when you have to run everything with elevated privileges.

    8. Re:doh by Curien · · Score: 4, Informative

      Fast user switching doesn't work when your system is connected to a Windows domain.

      --
      It's always a long day... 86400 doesn't fit into a short.
  4. Cluelessness at Microsoft by ts0003 · · Score: 5, Informative

    There's a reason why most people don't use it. Microsoft's implementation is flawed to say the least. When a user sets themselves up this way and then installs programs as an Administrator, they find that they can't run the programs completely or correctly as the lower privilege user. Some of this is due to Windows application programmers doing boneheaded things. Much of it has to do with the programming practices Microsoft has fostered - like writing to global registry keys in the Windows 95 and 98 days. Contrast this will Apple which has gotten the APIs right, put out tutorials on how to do this and most importantly made the whole process of installing as Administrator but running as a User as painless as possible.

    1. Re:Cluelessness at Microsoft by Tony+Hoyle · · Score: 2, Insightful

      The whole installation model is broken...

      You can't install anything without being an administrator, however most programs install to the current user not the global user settings...

      So, user installs program as admin, logs back into user - program gone!!!

      That's damned stupid..

    2. Re:Cluelessness at Microsoft by kawika · · Score: 2, Interesting

      Well, Firefox doesn't write global registry keys and it still won't run with "Protect my computer" min privileges. There's a bug filed for it but no action. The workaround is to run with normal privs.

      https://bugzilla.mozilla.org/show_bug.cgi?id=26653 3
      (Copy/paste since Bugzilla blocks Slashdot)

    3. Re:Cluelessness at Microsoft by beetle99 · · Score: 2, Informative

      When creating the installation package you can offer the person performing the installation a choice - install for "All Users", or just the current user.

      If you install for "All Users" in your example, the program won't be "gone" when you log in as a regular user.

      So its not the installation model that's flawed, its the installation packages that (some) software developers choose to create. It's really a problem of education (of developers and users).

  5. Tell that to the developers by dduardo · · Score: 5, Insightful

    If their software doesn't work in least priveleged mode doesn't it defeat the whole purpose of the system?

    1. Re:Tell that to the developers by Keebler71 · · Score: 2, Interesting

      I second that one... I have everyone in my family (myself included) setup as limited users but most of my games, my palm sync software, and every single childrens' educational game I have will not run unless admin. So every time my kids want to play Blue's Clues I have to come up, use "Run as..." and enter my admin password. Pain in the arse.

      --
      "It takes considerable knowledge just to realize the extent of your own ignorance." - Thomas Sowell
    2. Re:Tell that to the developers by value_added · · Score: 5, Informative
      Hell, tell that to Microsoft.

      Certain Programs Do Not Work Correctly If You Log On Using a Limited User Account

      Microsoft Flight Simulator 98
      Microsoft Flight Simulator 2000
      Microsoft Flight Simulator 2002 Professional
      Microsoft Flight Simulator 2004 Century of Flight
      Microsoft Train Simulator 1.x
      Microsoft Money 2000
      Microsoft Money 2001
      Microsoft Money 2002
      Microsoft Money 2003
      MSN Messenger Service

      Microsoft seems to have discovered the command-line, so maybe they'll discover the root account? Maybe they can fix their broken 'runas' soon thereafter.

    3. Re:Tell that to the developers by Gyarados · · Score: 2, Insightful

      It certainly sets a terrible example.

      I think Howard is simply trying to shift the blame for the exceptional lack of security in Windows by default.

      To summarise the reasons for developers and users ignoring LAU mode:

      • Many applications, including some written by Microsoft themselves, don't work in part or whole under LAU mode
      • The first account created when booting Windows XP for the first time is given administrator privileges
      • Newly-created accounts are given administrator privileges by default
      • Users of Windows XP Home Edition can't easily change what users with normal privileges can access because only limited modification of file system privileges via the command line is permitted
      • There is no mechanism for temporarily granting administrator privileges to a certain application
      • Microsoft have made little or no effort to educate developers and users about LAU mode
      • Microsoft Windows is more of a marketing tool than an operating system
  6. It's also ignored by developers by Jarnis · · Score: 4, Insightful

    Users ignore it, because it's a horrible pain to use XP using a normal user account.

    There are numerous games that cannot be installed without admin rights, and plenty who cannot even be EXECUTED without admin rights. All because the devs are lazy morons.

    Same goes with numerous applications.

    Not to mention the fact that in many case applications break in random ways, without actually telling why they break.

    So right now if you actually want to use XP, you pretty much are stuck with admin mode (or you have way more patience than I do in using 'run as..' or switching users)

    1. Re:It's also ignored by developers by Tim+C · · Score: 2, Informative

      Actually, in the case of a lot of games, the reason a non-admin account can't install or execute it is because of the moronic copy prevention scheme used, not because of the moronic game devs. (The scheme is also generally insisted upon by the publisher, not the game studio, so it's not even their boss's fault a lot of the time)

    2. Re:It's also ignored by developers by Cyberax · · Score: 4, Informative

      It's not just developers, unfortunately. Some important things just can't be done under normal account. For example: COM-server registration (and consequently ActiveX controls) requires admin access , because permission to access HKCR and HKLM is neccesary.

    3. Re:It's also ignored by developers by beacher · · Score: 2, Funny

      Heh.. These accounts (non-priv / non-admin) are my corporations's default and it's an interesting battle trying to get admin privs on a local machine (need them to test several software packages we distribute). I've found that requesting an install of Adobe Photoshop will get admin privs easier than getting a piece of paper signed by immediate manager, department head, reviewed by IS, and various other sign offs.

      I'm a Gentoo user at home and I'm too used to being able to modify my system to suit my needs. Some of these "need admin to run" programs are actually a nice way to get privelidge escalation without all the bureaucracy involved.

      -B

    4. Re:It's also ignored by developers by daVinci1980 · · Score: 4, Insightful
      There are numerous games that cannot be installed without admin rights
      First off, this is true of *nix as well. Remember that lest step of installing new software, 'make install'? That one usually has to be done as a super-user, as it installs into common areas.

      and plenty who cannot even be EXECUTED without admin rights. All because the devs are lazy morons.
      Actually, this has nothing to do with the developers being lazy morons (which they're not). It has to do with MS' broken security model. The place where they chose to draw the line between user and admin restrictions in the API is so asinine that it's virtually impossible to write any sort of complex app that *doesn't* require some admin functionality to run.

      But to be honest, why does it even matter? A lot of the vulnerabilities on Windows have nothing to do with installing software, or who has the permissions to run operations. They have to do with services' exploits and buffer overruns, which are already running as 'System' level (super-user) in the background.
      --
      I currently have no clever signature witicism to add here.
    5. Re:It's also ignored by developers by kamsin · · Score: 2, Informative
      First off, this is true of *nix as well. Remember that lest step of installing new software, 'make install'? That one usually has to be done as a super-user, as it installs into common areas.
      *Bzzt* wrong. While many game installers *default* to /usr/local, they don't require it. You can easily change the destination to someplace where you have write access. Once installed, the game will work just fine as a normal user. I run all my games on Linux this way. (Doom3, UT, NWN, etc...) It is also quite easy to redirect the destination of 'make install'.
  7. Non-admin Wiki! by sandstorming · · Score: 5, Informative

    Everything you need to know http://nonadmin.editme.com/

  8. defaults by justforaday · · Score: 3, Insightful

    I'm sure the default setting of creating an admin level user with no password at install time, and then having it set to automatically log them in has nothing to do with it...

    --
    I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
  9. Windows' fault by Dacmot · · Score: 5, Interesting

    Could it be "the sad reality" because Windows up until XP (ignoring 2000 and NT) there was no user-priviledges differences?

    Maybe MS should start educating the population and force them to create passworded least-priviledged accounts and choose a password for the administrator account when installing or booting an OEM for the first time. Maybe also the administrator should be blocked out of surfing the web and playing games so that people just don't use the admin account for everything.

  10. Too many broken apps by Anonymous Coward · · Score: 2, Interesting

    As much as I'd like to use a more restrictive account on my Windows box, I find it absolutely impossible to do so with many games and various other applications.

    One typical example is Dark Age of Camelot by Mythic Entertainment. The game itself is installed to a C:\Mythic\ directory usually, as well as all the profiles for every character. Even World of Warcraft is just as bad, all the profiles are stored in a subdirectory in the C:\Program Files\World of Warcraft\!

    Until developers start supporting limited user accounts with their games/applications, people will just be lazy and stick to an admin account - which will always work.

  11. Too many apps won't run without Administrator Priv by freeio · · Score: 4, Informative

    One big obstacle is that too many applications I see require administrator privileges not just to install but also to run. Your end users figure that out, set themselves up as administrators, and leave it at that.

    This is nothing new...

    --
    Soli Deo Gloria
  12. Sad state of affairs by Spackler · · Score: 2, Insightful

    Oh, I'm sorry for installing the system and using it as the default. Please continue to blame the users for paying you for a borderline operating system. It is not an education issue as much as it is a crappy software issue. You should not continue to turn a deaf ear, but I already know you will. Just send out an email that looks like a Phishing email but contains a system lockdown. That way, only the stupid people will click on it, and we can decrease the surplus population on the internet.

  13. Lazy programmers by TheRealFixer · · Score: 2, Interesting

    If so many Windows developers weren't so utterly lazy, and learned how to code an application that doesn't require administrator rights to run, things would be a lot easier. As it is, there are so many poorly-written apps out there that write to admin-only places in the registry, or dump files that need to be modified into system folders, that in a lot of large companies with a plethora of apps it's almost impossible to switch to a true LUA security model.

    Of course, a lot of the blame goes to Microsoft for encouraging the idiotic "everyone's an admin!" mentality.

  14. Longhorn should implement these by Ckwop · · Score: 2, Interesting

    This is why during the set-up of Longhorn it'd be a really cool idea to create all the accounts for the welcome screen, or it's equivelent, as non-adminstrative users. In fact, it should go further than this, it shouldn't give you the option of creating an administrative account at all on this screen. The administrative user should be banned from internet access by default (with the exception of Windows Update) and if you decide to add another administrive account it should warn you profusely that this isn't a smart idea.

    In .NET there are attributes that allow you to define permissions on methods. For example, if I know that my method only ever does algebra then I can ban it from network IO, File IO etc. It'd be a good idea to make these attributes required before the source will actually compile. You could have intellisense in Visual Studio autogenerate the most restrictive settings whenever you create a new method.

    Some security counter-measures can be really a pain in the ass but these couple i've mentioned here would really help bring windows security under control. Windows security is not bad, per se, it just needs more configuration than we can expect from Joe Sixpack. We need to make security easier for them and that's in everyones best interest, Microsoft included.

    Simon.

    1. Re:Longhorn should implement these by Tiberius_Fel · · Score: 2, Informative

      Actually, there was a /. article saying that Longhorn will implement these: http://it.slashdot.org/article.pl?sid=05/04/08/147 237&tid=201&tid=172&tid=130&tid=218

      How well it works remains to be seen. ;-)

      --
      Join the Empire! http://www.empirereborn.net/
  15. Most software can't install without admin privs by SiGiN · · Score: 2, Informative

    "Most users just don't know they can set up least-privilege accounts in Windows today, and that's just a sad reality."

    I wonder, if Michael Howard is aware, that most of windows software requires admin priviledge to be succesfully installed?

    Is it somehow also users problem, not architecture problem?

  16. Reminds me of Red Hat... by Mister+Impressive · · Score: 5, Informative

    ... I'm a true blue Windows user, but I've tried linux. Red Hat 8, to be specific. I remember the FIRST thing it told when I logged in as root, was to create a new non-power account. It even showed me how to. Whenever I wanted to change/install something, a nice prompty would come up asking for my password to give it the proper priviliges.

    M$ should learn from this, and their little article there, that instead of the stupid tour that appears when you first login after a fresh install, there should be a message alerting the user to create a new account.

    --
    Let the commencement BEGINULATE!
    1. Re:Reminds me of Red Hat... by ink · · Score: 2, Insightful
      That's non-security.

      I disagree. Having the password prompt gives the user the power to decide when elevated privileges are required. If a user disregards this power, then that is their fault. On OSX, I get prompted about once a month for the admin password, and it's usually when I run Software Update. If I were simply browsing the web and a trojan sheet came down, asking for the administrator password to continue, it would obviously be a phishing attack. I've trained my users to not check the "remember my password" in email/web applications -- people aren't stupid. People don't "always want to be in charge of their computer", including myself.

      Just because a security tool can be defeated, doesn't mean it's worthless. Redhat/GNOME's approach may not be perfect, but I'll take that over code signing any day (which is the "ultimate solution" to your quandry).

      --
      The wheel is turning, but the hamster is dead.
  17. Backwards compatibility by Novus · · Score: 2

    In my experience, lots of old Windows 95/98/Me software fails to run properly without administrator rights due to nasty habits like writing lots of stuff all over the system registry and/or Windows directory. XP Home also makes the problem worse by making it very hard to set file access privileges. All in all, the problem here is that running most Windows software with lower privileges doesn't work, so nobody sets up their system with limited privileges. Also, there is too much stuff you have to do manually to switch to the right privilege level for every task that you have to understand to actually gain anything for the added complexity.

    In contexts where the system administrator and user are two different people (and the system administrator is on the job), things usually work smoothly. These contexts are also those for which software is properly written; how much office software needs administrator access to run? The problem comes when you have a clueless user who is also admin for a machine; you try explaining to people why they should have to type a password (administrator password) to install something and when they should enter this password without confusing them or discouraging them from using limited privilege accounts altogether. Unfortunately, this sort of protection is almost useless if the user with the admin password is clueless.

    However, I see no reason why Internet-facing software shouldn't be written to drop privileges on startup, much like a lot of suid root binaries open the files they need and then drop to normal user privilege levels. For example, preventing IE from installing or modifying stuff all over the OS would help a lot.

  18. An Example by Maljin+Jolt · · Score: 2, Informative

    On Windows 2000 fresh system installation, a game title Star Wars Galactic Battlegrounds (running on Age of Empires engine), published by Microsoft executes only in administrator account, not in user. Many other games of other publishers doing cd check or strange networking too.

    --
    There you are, staring at me again.
  19. Not a fault by mccalli · · Score: 2, Interesting
    I've posted this further up as well - it certainly isn't an architectural fault that most software requires admin to install, in fact I'm rather glad it does. The Mac, for example, won't let you put stuff into the Applications folder unless you can supply an administrative password.

    It's a fault that non-util software also requires admin to run, but whether that's Windows' fault or the developer of the software is open to question at best. Personally I'd say that's the developer's fault. A great example of this is Quicken - I have to run from an admin account just to do my accounts? Nope, I don't blame Microsoft for that. I blame Intuit.

    Cheers,
    Ian

  20. It's Intentional by eno2001 · · Score: 2, Insightful

    When a friend of mine got a new Windows XP (Pro, not Home) box, he asked me to help him get it set up. I told him that he should have two accounts: one admin (He has a strong password for his admin account and the username has been changed from default.) and one regular user. I explained the whole issue of how an exploited machine with the user running as admin could cause more problems than if he ran as a regular user. I cautioned him that he'd have to deal with the pain of switching between the accounts whenever he needed to do stuff that required admin rights. Since he's been trojaned before, he agreed. We also set up the Windows XP firewall for extra security since he was directonly connected to the net.

    Within a month, I got a call where he said, "Dude! Can we get rid of this admin account and the goddamn firewall? Everytime I want to do anything useful, I have log into the admin account. And I'm always having to log into admin and turn the firewall off to play online games". So, I suggested that he spend the money to get an external hardware DSL/Cable router. He did, and we turned off the firewall. But he still wanted his regular user account to be admin because that's where all his data was. After arguing with him for a bit, I told him we could set it up as an admin user (he didn't want power user because we'd tried that and there were still a few programs he claimed he couldn't run even as power user. CDRWIN was one of them) but that if anything resembling the worm/trojan that hit him in Win98 happened, it would be a full reinstall. I wouldn't try to figure out what happened. He agreed. It's been a year and a half since then. He's really good about applying the latest critical updates and that hardware router has probably saved him numerous times. But I still think he's in a risky position.

    Most people just don't want to have to deal with the hassle of switching between two user accounts or learning to use "runas". It will always be this way. End users need full privs on their boxes. The only way around this is to set OSes up so that each user's "desktop" is actually a full VM. Then if it gets hosed by them running as admin, the only thing that needs to be wiped is their profile and that VM's image. Much cleaner than having to do an OS reinstall or a postmortem.

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    1. Re:It's Intentional by TrekkieGod · · Score: 2, Informative
      Most people just don't want to have to deal with the hassle of switching between two user accounts or learning to use "runas". It will always be this way. End users need full privs on their boxes.

      Well, you appear to pretty knowledgeable about windows, but I'm going to guess you don't have much linux experience (and there's nothing wrong with that).

      I'm not going to claim linux user-friendliness for end users, but at least you can still run every program you need under the non-admin accounts (and the programs still can't do system-level damage due to file permissions). You don't even need to be switching to the other admin account if you set up a sudoers file. I don't have a mac, but I hear OS X does this in a user-friendly way.

      Oh, and about your friend and the windows firewall preventing him from running games. Since Service Pack 2, you can add programs to the exception list, and the ports that program is listening to will get opened up. That means that those ports will be nice and closed when he's not gaming (or more speficially, hosting a game), and will open up when he needs them.

      --

      Warning: Opinions known to be heavily biased.

  21. Some reasons... by jafiwam · · Score: 2

    1) Windows XP has a crap default setup for user preferences; candy apple theme, "hide known file extensions", icons view, hide "my computer" etc.

    Once the admin account is set, it is a PITA to do the same stuff for other accounts. XP needs a button that says "make ALL accounts use this as default" button on those settings.

    2) No damn rhyme or reason behind what requires admin access and what doesn't. Sure, adding Office or Baldurs Gate should require admin, changing screen resolution? Hell no. Half the spyware normal users get uses privledge escalation holes anyway so it does not keep that crap down.

    Make the stuff make sense.

    Anyway, I have been told (but have not tried) that making the "temp" folder trees "Everyone" read/write explicitly, and adding each account explicitly fixes most of the "run as admin" problems. Most programs dont do much registry editing, but a lot need scratch space and if they use the temp folders, they need access to them.

    1. Re:Some reasons... by drsmithy · · Score: 4, Insightful
      Sure, adding Office or Baldurs Gate should require admin, changing screen resolution? Hell no.

      Changing the screen resolution in Windows does not require admin privileges.

      Half the spyware normal users get uses privledge escalation holes anyway so it does not keep that crap down.

      Which ones ? Privilege escalation bugs aren't exactly common.

      Anyway, I have been told (but have not tried) that making the "temp" folder trees "Everyone" read/write explicitly, and adding each account explicitly fixes most of the "run as admin" problems.

      You've been told wrong. For starters, every user on the machine can create new files and modify existing files that belong to them in C:\Windows\Temp. Secondly, most all apps (even the badly written ones) use the per-user TMP variables that point to directories within the users profile (that they have "Full Control" over).

      Most programs dont do much registry editing, but a lot need scratch space and if they use the temp folders, they need access to them.

      No, in fact the most common problem is applications that try to store things that *should* go in HKEY_CURRENT_USER in HKEY_LOCAL_MACHINE. Bugs like this are actually a good indicator of the developer's lack of interest in updating their product, because per-user registry hives were introduced to Windows 9x back with Windows 98 (they've always been in NT AFAIK).

      The second most common problem is stupid developers trying to write to files (often user or application preferences) in either their program's directory or the Windows directory (DOOM 3 has this problem).

  22. Win XP Is An Ugly Kludge by Quirk · · Score: 3, Interesting
    While I was started on a TI 99/4 my parents got for me, sans monitor, and hooked up to an old 14 inch b&w TV, every machine following that was a wintel box up to being introduced to Mandrake (as it then was) 6.

    DOS 3.3 was the first MS OS I understood, so much so that, when the first DOSSHELL came out, I asked why would someone need that? I jumped on the NT technology because, when it first came out, it was well documented, (vis a vis my experience) and it allowed a whole new playing field. When NT 4 came out MS moved Video and Printer drivers from User mode to kernel mode. This was, IIRC, about the time Bill Gates had his vision of the PC integrated multi media household. I believe the PC version of Windows has persued this vision of multimedia OS to the point of having become in WinXP an ugly, bloated kludge, but it does, as much as possible, deliver in an ugly way, as a backward compatible multimedia OS.

    Win 2K was the last OS to maintain the promise that Win New Technology brought with it. Win XP saw the culimnation of MS' effort to integrate Win95/98/ME with some of the benefits of NT, but the end result is an all and everything everyman's stew meant to satisfy the cravings of the masses.

    I run WinXP on a web box for multimedia but thanks to the lessons gleaned online (/.:) I'm moving on to a *BSD, or one of the upcoming microkernel OSes to do research.

    --
    "Academicians are more likely to share each other's toothbrush than each other's nomenclature."
    Cohen
  23. Re:I tried this for a day... by krray · · Score: 2, Interesting

    I personally use Windows (2000) for one thing and one thing only anymore: AutoCAD. You simply can NOT fully _use_ (not install) AutoCAD without admin privileges. XP or 2K. I venomously use 2000 over XP for one reason: take the _same_ hardware (P4 @ +3Ghz with 2G of memory and 256M video) and compare the two side by side: XP is noticeably slower and offers NOTHING in the way of me getting my job done, but that's of another issue.

    [Yes, I do have to admit -- that for the home user all the fluff can be very useful]

    "Most users just don't know they can set up least-privilege accounts in Windows today, and that's just a sad reality."

    I say most users just don't know that other operating systems exist today that can easily out-perform anything Windows can offer with less setup time, daily hick-ups, and of course the BSOD still pops up every so often. That's just a sad reality.

    Now imagine a world where I may _have_ to use Windows for some awful task -- a world where I have one computer (not two) with VMWare style software helping run OS.X and 2K side by side. Just image (it's coming :).

    The sad part (with Windows bloat)? It is that I've watched old Mac hardware get FASTER with each release of OS X -- starting from the beta [Cheetah] (paid for it, disagreed, but paid :) to Puma, Jaguar, Panther, and now Tiger.

    I will say -- I wish I could tell you how nicely Leopard runs on the MacTel box... Longhorn? Ha!

  24. Acronymtastic! by Hal_Porter · · Score: 2, Informative

    That site is great. It has articles on SUS/WSUS and LUA written my MVPs. They also have links to using FUS to flip between a LUA account and a DA or LA one. /If you understood what these meant, you'd stop complaining about how Windows doesn't have SU.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  25. Re:Duh by Progman3K · · Score: 2, Insightful

    Close,

    It's ignored because Windows was never designed with security in mind and grew to be the mess it is because that's the only way you can properly run Windows, as admin.

    To come along much later and fix this, then blame the users is very poor on Microsoft's part.

    --
    I don't know the meaning of the word 'don't' - J
  26. closer still... by ecalkin · · Score: 4, Insightful

    It's partially driven by software that won't install as a regular user (i can kinda live with that) and/or won't run as a regular user (unacceptable except for system utilities).

    I can't even count right now how many clients I have running users with admin membership because of crappy software.

    And the kicker is, it's not that hard a programming task to make software run in the regular user context! argh!

    eric

    1. Re:closer still... by Anonymous Coward · · Score: 4, Interesting

      Yeah? That's because Unix type systems have had multiple users since, well, ever.

      You have to accept the fact that certian people shouldn't do certian things on computers.

      The fas is that it should be dead simple for a grandma so able to do so, to install a card game in her home directory, without bothering anyone else on a system--a unix system. It goes there, and, what? There's no issue. Quake 3 has the ability to install into a non-root privlidged user's account. If grandma rm -rf /'s, she's only going to take her stuff out, and maybe other people who share her group.

      In Windows land, that card game may well have a fit if it dosen't get installed to c:\program files\bullshit cards. If it dosen't work that way on any system, the program is b0rked. Written by an idjet. It dosen't help that MS has programmed people and software writers to behave this way since, well, ever.

      ****EVERY**** MS home directory should by default have a My Programs folder, and software installed by that user should end up there--unless it really, really does need administrator access, or it needs to be shared by multiple users. Otherwise, who cares if grandma installs bonsai buddy, it's only going to affect her account and not spread to administrator--where everything can be gleefully cleaned.

    2. Re:closer still... by drakken33 · · Score: 3, Insightful

      I think you've missed the point. Let's look at this from a family point of view (although this applies just as much to business usage but I think a family example is more simple) where Dad is the admin and is the only one who knows root's password and little Johnny is just a user.

      So you have to be root to install software. Do you want Johnny to be able to install any software he likes without Dad knowing?

      So you have to be root to change system wide settings. Do you really want Johnny to be able to play with settings that can affect Dad, Mum and Johnny's sister Katie?

      Running as a user also means that Johnny can't delete Katie's important schoolwork or Dad's important work files in a moment of mischief. This doesn't even cover external threats from the net or other possible sources of problems.

      It might be a PITA if you're the only user of the machine but it's essential for companies and incredibly useful for families to prevent user-related problems. In an ideal world where all users can be trusted not to do things that could break a system or change or delete files they shouldn't touch and where there are no remote threats you might have a point but that world doesn't exist.

      --
      Andy.
  27. This is not too hard to figure out by ellem · · Score: 4, Funny

    MS - Hello intrepid user. I know I've always allowed you to run as root before but check this out! You computing experience could be filled with and endless array of confusing dialogue boxes all basically telling you you're not root.

    User - That sounds like it might suck.

    MS - No no no, it's great! And it's pretty hard to implement. Oh and a whole shitload of legacy apps won't even install.

    User - Why would I want that?

    MS - It's safer.

    User - Do you still let programs run as System?

    MS - Well yes.

    User - Why?

    MS - Symantec asked us to support the Open Source Virus Community and we are!

    --
    This .sig is fake but accurate.
  28. I'll just repeat... by gregorio · · Score: 2, Insightful

    ...exactly what I said in my previous post: least-priviledged admin-password-asking security systems are useless for home users. Make a user type his password n times a week and he'll type it in every single dialog window that asks for his password. Even the malicious ones.

    So now you have your user enclosed inside an annoying stainless steel safe, except for the fact that it isn't safe at all, because he'll yell the door code at anyone standing outside.

    Home users don't need annoying internal security. They need transparent outside access security. That's all. Give an annoying security tool to someone who is only interested in bein left alone to use his computer, and he'll break it in a minute.

    Face it, people: users will always want to be in charge of their computer, to install the latest (card/3d/simulation/fishing) game, "multimedia" tutorial or whatever. So now you have two choices: 1. Give them a crippled (no admin access) computer and they'll give you the finger. 2. Give them the admin password and they'll render it useless.

    And no, this is not a matter of education. Even the most experienced geek can get distracted and annoyed as hell with password prompts. Create a security system that gives you routinely security prompts and they're going to be... routine.

    What we need to fix is the way computers execute applications. We need a secure list of routine applications and procedures and a secure code signing system. A system where funny-cat-game is really from a company that was previously-approved by -SOME SERVICE-. So that way we'll only have important security prompts at important situations.

    No, this is not the solution for most security-related problems, but it's a rough notion of the direction we should be heading at: create a system, any system, that allows the computer to stop asking (the home user) passwords all the time.

  29. Poor Apps Make Standard User Impossible by JoeCotellese · · Score: 2, Insightful

    The sad reality of the situation is it is IMPOSSIBLE to run as a non-admin and actually get anything done.

    As a savvy PC user I tried to setup my XP system following best practices. Only run as admin when necessary. However, the two applications I use everyday make this impossible. Quicken and NewsBin Pro. Both of these applicatons require write access to their respective program files directories which forces you to run the application with elevated priviliges.

    Until either application developers create proper software that actually obeys the security model or Microsoft enforces this policy then Windows users will always be admins.

  30. Re:Duh by n0-0p · · Score: 4, Interesting

    I think you're over-simplifying this. The Windows NT kernel and core services were designed with security in mind. The real issue is that the shell, UI, and API's do a really poor job of enforcing and providing convenient access to that model. MS made a tough choice when they created they Win32 API; they kept developer compatability and convenience but made security a whole lot harder. There are too many default behaviors in Windows that are just dangerous.

    Look how CreateProcess will progressively search for an executable at each space delimited chunk in an unquoted path; that makes a great trojan attack. Consider the shatter vulnerability and associated dangers that result from simple window input; that's why services have to be run on a seperate ACL'd desktop to be safe. Consider how trivially a power user can escalate to admin; look at how many apps need at least that privelege. Look how much code you have to write to set a simple multi-user DACL on an object.

    The fact is that security is very hard to do properly in an MS environment, and historically MS has done a very poor job of promoting and simplifying it. I audit security software now, but when I wrote software I had a ton of homegrown libraries to handle things shouldn't have been necessary. So while I agree the tools are there, you almost have to be a security expert to use them properly.

  31. LUA hahaha.. by naelurec · · Score: 2, Informative

    I've had the enjoyment of learning all about LUA about two months ago. A very umm.. textbook example of a small network -- Win2k3 server, WinXP Pro clients.

    Needless to say, this was not even CLOSE to what a UNIX user account is like.

    Few thoughts..

    1. App compatibility - very annoying. While some apps are kind enough to out-right say they suck and are not compatible, there are LOTS of apps that fail in *silent* ways. Mostly writing to folders and registry w/o checking for access rights. There are many apps that attempt to write temporary files outside of user folders (ie the Program Files folder) or even store user prefs in the system registry.

    2. Along with #1 -- there are many things INSIDE WinXP that fail. One very annoying example is msconfig .. it throws up a dialog after an admin does some changes but for a user and does not acknowledge the user's response (silently fails when writing to a system registry key). I have no idea why a user is prompted when an admin does a modification. Same thing with user defaults -- the system, even though it prompts to set a browser as default, silently fails when setting registry keys (again, not a user registry key). Apparently there is no way to adjust registry key security from a GPO or script to grant users this access (w/o going to each system manually)..

    3. runas .. hehe.. that is so not even close to su/sudo -- while there appears to be lots of little workarounds (ie logging into administrative network shares of drives) its cumbersome and adds so much extra time to troubleshooting.

    4. Fonts .. I really don't understand why users don't have their own fonts folder. I had to manually go into each computer, modify the registry to give permission to add fonts, adjust the fonts folder permissions, yada yada.. PITA. A user font folder (that follows them if roaming profiles is enabled) would have been a piece-of-cake while leaving the system font folder small and fast.

  32. Why LUA didn't work for me by supersat · · Score: 3, Insightful

    When I first installed Windows on my new system, I tried creating a seperate non-admin account that I'd use for my day-to-day computing. Shortly thereafter, I added it to the Administrators group because I just couldn't take it anymore.

    Installing applications was mostly a non-issue, with Windows prompting me for my Administrator password when I tried to install something that needed Administrator permissions.

    However, almost everything else was a giant pain in the ass. If I wanted to use any of the control panels, I either had to log out/log back in as Administrator, use Terminal Services to connect to localhost and log in as Administrator, create yet another shortcut to run it as Administrator, or use the runas command. None of those options are nearly as slick as Windows Installer asking me for my Administrator password. Why they couldn't use the same model is beyond me.

    It's not only the control panels that I had problems with. If I wanted to use Windows Update, I had to be Administrator, and it gave me no easy way to become Administrator. If I wanted to develop and debug something in Visual Studio, I either had to be Administrator or be in the debuggers group, which essentially gives you free access to poke at the system any way you like. And of course, numerous applications and games have copy protection systems that require system drivers and services to work.

    Of course, LUA doesn't do a damn thing against network-based attacks.

    In the end, it's much easier to run as Administrator and drop priviledges when running certain applications.

  33. bah, I just ran out of mod points. :( by numbski · · Score: 4, Informative

    Mod that man up.

    Intuit is criminal number 1 in this area (this month anyway, I have my targets change from time to time...)

    Get this: The "enterprise" version of QuickBooks that will allow you to run in terminal services (gotta spend that extra cash to run the same software remotely you know!), requires that you have Power Users or Administrator priveleges.

    Here's the catch however: I have a client running Small Business Server 2003, and they just went through a company restructuring where the CFO is going to be 200 miles away for the next few months, and needs to be able to hit QuickBooks from a terminal server session (yes, I know, VNC, PC Anywhere, bitmap pusher x..., work with me here though).

    So, on an SBS, you can't have any trusts, no member servers (I might be wrong on that last one, apparently there'a hack that allows this, but again...), so the only server on the domain is the DC. You DC does not have "local" accounts and groups, only the AD users and groups. So a local power user doesn't exist. The only rights I can give them to be able to work is Admin.

    The whole point of remote users is to.....access things remotely. You're requiring that every one of my users that wishes to use QuickBooks have Admin rights, and if they want to run in term serv, I have to allow dial in rights to that Admin account.

    So I got on the phone with them. I suggested the following workaround:

    "What if I just create a domain account, say ""QuickBooks User"". Set it to an obscenely secure password that no one but the admins could possibly know. Make it long, make it random, make it not-so-easy to remember. Grant that account Admin rights. Set Quickbooks to "Run As..." that user. Now Quickbooks gets the Admin privs it needs, but not the user."

    After going through a supervisor, I was explained that this wouldn't work, and in fact they misconstrued it as an attempt on my part to subvert their licensing (because now I only have a single Quickbooks user, and we're supposed to pay per-seat for the license), and "Run As..." is intentionally broken to prevent this, along with the ability to run in Terminal Server if you haven't purchased the enterprise version.

    Wow.

    Cash more important than security.

    Hey guys? What is so important at the system level that the *user* needs to make modifications to the OS? Why not store the data in the user's profile? Or in a shared directory with rights granted to the users in the "QuickBooks Users" group?

    I just don't get it. :\

    --

    Karma: Chameleon (mostly due to the fact that you come and go).

  34. How to fix this without breaking the broken code.. by UnseenEnigma · · Score: 2, Interesting

    This is how microsoft could fix this at a api level without breaking legacy code Step 1: When a non-privledged user installs a application install it the users space and create the req keys prefixed into the users area in the registry. A warning to the user when installing stating it will only be available to their account will be needed Step 2: When running a application first check the current user virtual registry then the true global registry Step 3: Add the rights necisary for accelorated video to work under the default user rights Step 4: Switch to linux/unix because they got this right 20 years ago!

  35. It certainly isn't easy by DragonHawk · · Score: 4, Informative

    "Running windows without admin rights is a nightmare."

    It certainly isn't easy, unless you're willing to invest significant technical time and effort into the project -- which is, I'm sure, a big part of the reason why most people don't do it.

    That being said, I'm the admin for an organization with about 60 or so Windoze stations, and I can say that it can be done for most things. It most often involves figuring out what the defective program is trying to do, and then allowing it access to just where it needs.

    The two most vital tools are FileMon and RegMon, both free from SysInternals (http://www.sysinternals.com/). They monitor file system or registry accesses. In the vast majority of programs can be made to work just by applying some ACLs on program-specific registry or filesystem branches.

    There's no way in hell your "typical home user" could do this, though, which is, I expect, the problem and point.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  36. Installing Apps vs. Running Apps multiuser/admin by billstewart · · Score: 2, Interesting
    I don't have enough WinXP-specific experience to know how many applications actually break when you're running them as non-root, but most of them require your to be admin to install them. One way to do this is to log off from your non-priv account, log on as admin, install the stuff, log off as admin, and log back in as yourself. I normally do that, and it usually works.

    Unfortunately, there are a bunch of applications for which this doesn't work right, including iTunes - the first piece of Apple software I've used that didn't "just work". When I installed iTunes, as root, it created an iTunes config for root, but when I logged in as myself, it created a separate iTunes config for me, and I not only had to input lots of long registration numbers again (:-), but the tunes I'd downloaded to root's account aren't accessible from my account and vice versa (or at least, it's well hidden if they are.) Very annoying.

    Some things are worse about multiple users - my USB scanner gets hopelessly confused by having multiple people logged in. As far as I can tell, when I first log in as one user, its software scans the USB and finds it, and when I log in as a different user, it does the same thing, except something's locked up to the first person who logged in.

    (As somebody else said about their home setup, I've got three accounts on the machine - root, my non-admin account, and my wife's account, which has admin privileges so she can install software and run picky software, and we use fast-user-switching between them.)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  37. Linux v. MSFT SW installs by KMSelf · · Score: 2, Insightful
    This is only because GNU/Linux incompatibilities have forced their users into a single source for nearly all their software.

    There's a nugget of truth to that comment, but it misses both more significant points and differences between the GNU/Linux way and the Microsoft way.

    It also misses the point that you can, largely, install binary software on different GNU/Linux systems, so long as core dependencies (usually your glibc version) are satisfied. E.g.: Macromedia Flash, Opera, Oracle, Realplayer, and the like, generally under /usr/local/ or /opt/. Though honestly I have very little proprietary software on my system.

    The real reason to go within your distro's package management system for software installation is that it's easier, faster, works better, and minimizes future administration needs -- rather than managing a slew of software packages independently, you do a systemwide update. You've also got a tremendous selection of software -- 15k+ packages in the most recent Debian stable. There's rarely a compelling reason to go outside the archive, though you can and are assured the packaging system won't interfere with your locally installed selections.

    The reasons this is possible are largely: sources are available for the software you're installing (most GNU/Linux software is FSF Free Software / OSI Open Source), the distro itself doesn't have a horse in the race (it's not competing with the software developers, unlike the relationship between Microsoft and its ISVs), and systemwide policies can be implemented and enforced with a very high degree of uniformity (particularly in the case of Debian-based distros). There's also three clearly independent parties involved, each with a major voice in the process: the software developer, the distro / software packager, and the users. You get the benefit of review of the application by a users (independent of both the developer and the distro/packager). Microsoft simply doesn't have this degree of remove from the system as a whole -- it's competing with both software developers and its users over features and control.

    The result isn't so much that users are forced to go within their distro's package management system for software, but that they choose to do so, and that a healthy distro culture (e.g.: Debian) provides very strong incentives and feedback loops for both developers and users to gain by this.

    I've explored this at somewhat greater length in an article discussing malware on Microsoft and GNU/Linux systems respectively, Spyware, Adware, Windows, GNU/Linux, and Software Culture. Manoj Srivastava has a very good Why Linux, Why Debian talk covering the issue from a few other angles (and better technical understanding of the guts of Debian).

    --

    What part of "gestalt" don't you understand?

  38. Re:sudo for one program vs. su for everything by FredGray · · Score: 2, Insightful

    In the UNIX world, the idea is that only the most carefully security-vetted code runs setuid, and still there are lots of local exploits that come from bugs in these programs. In the Windows world, apparently the idea is to make the least security-conscious programs setuid. Interesting philosophy. :-)

  39. Re:Unix was never designed with security in mind by Master+of+Transhuman · · Score: 2, Insightful


    That may have been true in 1979, which, as you may be able to compute, was just a few years after UNIX was designed.

    In case you aren't aware, the original UNIX HAD NO FILE SYSTEM AT ALL. It was intended to be a bunch of bytes on the system, being searching by grep and processed by tiny apps linked together with pipes!

    The original UNIX was also where viruses were originally developed - because sys admins in those days didn't have to worry about them because they'd never heard of them.

    None of that is true now after major redesigns - neither for security or the file system.

    With Windows, it is STILL true that it was never designed for security and it STILL has little security after several major rewrites and so-called "security initiatives". And the next major rewrite will probably introduce such incredible complexity and consequently major security holes that it will be nearly unusable as anything but a standalone machine.

    --
    Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!