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."'"

522 comments

  1. Duh by squall14716 · · Score: 0, Troll

    Well no shit. It's ignored by the user because everyone else ignores it.

    1. 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
    2. Re:Duh by drsmithy · · Score: 1
      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.

      Windows NT was most certainly designed with [multiuser] "security in mind".

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

      They should be blaming the developers. It's their fault they're writing applications that "need" admin privileges.

    3. 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.

    4. Re:Duh by fwarren · · Score: 1
      A short list of programs that I can name

      Winfax - Creates a temp file in the %windows% directory as well as an .ini file

      Quickbooks - Writes to .ini files in the \Program Files\Quickbooks directory

      Internet Explorer - Which can not perform SSL enabled sites if ran with reduced privelages on a n administative user account.

      So Symantec, Intuit and Microsoft seem to be lacking the technical wherewithall to design and implement software that can run in a LUA environment. As opposed to small time, amature software projects such as. The Gimp, Firefox, Thunderbird, and OpenOffice, which will all run fine in an LUA environment.

      ;)

      --
      vi + /etc over regedit any day of the week.
    5. Re:Duh by eventhorizon5 · · Score: 1

      You also have to keep in mind the massive changes done to the NT kernel over the years, which are usually seen as security hazards. For example, the NT5 kernel (Win2k) had large amounts of the GDI framework placed into the kernel, which was even more than what was moved before in NT4, instead of being entirely in userspace (NT3). For example, if something exploits the GDI or window manager, it'll gain kernel-level access to the system, since the wrongly named NT "microkernel" (ntoskrnl.exe) will treat it as part of the kernel. Thus, it doesn't really matter if the user is running with admin privilages or not; the problems will still occur. Dave Cutler's (of DEC) original design was pretty good (he wrote the majority of the NT kernel core, and modelled it after VMS; other parts were modelled after OS/2), but the current incarnations of NT have possibly the most bloated monolithic kernels ever.

      To see what was done between NT3 and 4, here's a good description with a chart:
      http://www.microsoft.com/technet/archive/ntwrkstn/ reskit/archi.mspx

      Layout of the Windows 2000 kernel:
      http://en.wikipedia.org/wiki/Architecture_of_Windo ws_2000

      History of this OS line:
      http://en.wikipedia.org/wiki/Windows_NT

      -eventhorizon

      --
      #Secret Windows Source Code, in MS C% - if (uptime >= "24 hours") then bsod() else print "Windows License Violation!"
  2. 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 willabr · · Score: 1, Insightful

      I think most of the problems come from the effort for backwards compatablity. They have such a large base of older apps (written when security was not an issue) that they try to maintain for the user, that it hoses the security model needed today.

      I think if a user installed a fresh OS with limited user rights, then installed their five to eight year old application, and it did not work. There would be lots of pissing and moaning.

      I have setup many XP's with limited access and it works OK until someone installs some older Windows 95/98 type program or some poorly written VB program. For those types of programs the registery is a central place to hold settings. That's it, security was and is not the issue.

      Maybe they should take the Apple approch and just forget about the older applications people have and move on to the newer stratagies. Want your old app to run?, keep your old machine.

      As for Games That's what (IMHO) game consoles are for.

      Maybe the era of the all around machine is over, we will have machines for Entertainment, another for Business etc. etc.

      Just saying....

    3. 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.

    4. Re:It could be the default option during install by sabernet · · Score: 1

      But this does not address the original problem of how Joe Sixpack would know that. MS is trying to blame user's ignorance of LU security when the OS itself is built around you being an admin.

    5. Re:It could be the default option during install by Anonymous Coward · · Score: 0

      I run as Administrator ALL DAY LONG and for years now without problems!

      Simply by knowing what to do and where for security puposes in a Windows-NT based Os really!

      E.G.-> I have not sucked in a virus/malware/spyware in years. SO many years in fact, that I don't recall how many it's been.

      I use this set of tricks/tips/techniques for it:

      1.) IP Security Policy in place for adbanner servers blocking.

      2.) A custom adbanner blocking HOSTS file with 35,000++ entries in it with known banner ad servers in it (which have been shown in some cases even as bearing malicious javascript etc. in them as well as just plain slowing you down as you surf the web by calling out to DNS' servers for URL to IP resolution & loading their remote data).

      3.) Tcp/IP filtering @ the IP Stack levels (UDP & TCP) allowing ONLY port 80.

      4.) Using up to date AntiVirus & AntiSpyware.

      5.) Using .PAC file proxy filters in all web-browsers vs. adbanners & such.

      6.) IE Restricted Zones (added to via .reg files which the first body of code prepped the data for).

      7.) Custom adbanner filtering Cascading Style Sheets in webbrowsers when possible (via Opera).

      8.) ZoneAlarm Pro or Native Windows Firewall.

      9.) Disable Java-javascript &/or ActiveX-activescripting in your webbrowsers.

      10.) Making sure the Operating System is up-to-date/fully hotfix or service pack patched.

      11.) Disabling uneeded services (especially remote oriented ones, e.g.-> Remote Registry) gaining not only memory & CPU cycles back, but also security: Microsoft is even into this one now, evidenced by Windows Server 2003 Security Configuration Wizard run by the installation of SP #1 final onto it. I've been doing it for YEARS now, better than a decade since Windows NT 3.51 in fact: It WORKS!

      12.) Using restricted Registry &/or FileSystem ACL rights to disks/folders/files + Registry Hives.

      13.) Amending secpol.msc & gpedit.msc security polices local to my system for better security.

      14.) Using User-Rights & restricting them to my usual logged on user & the system entity SID itself only on most rights, denying all other groups.

      15.) Applying registry hacks known to fortify the system BOTH remotely & locally per Microsoft guides for this on Windows Server 2003 for "OS Hardening" &/or "Tcp/IP Hardening".

      16.) Being sure applications are up-to-date & patched current as well.

      17.) Lastly here, by using a LinkSys BEFSX41 "NAT" & true CISCO technologies based stateful-packet-inspecting firewall router! :)

      * Absolutely as safe as you can get online in terms of security online afaik!

      AS FAR AS RUNNING IE in a "limited user account" that's simple enough via RunAs services & a few more alterations in current IE models as well:

      RUNNING IE in a "runas limited user class" sandbox effect HOW TO:

      It's possible to run IE securely!

      Just create a "throwaway restricted user account"
      for IE use alone.

      The restricted account user can't install software and can't access files of other users, so even if IE autoexecutes any nastiness, it can't do any damage.

      Of course, it's a hassle to log in as a different user just to browse the web. So we'd want to use "runas" to run just IE as a different user.

      Unfortunately, MS has made running IE as a different user a little harder than necessary. Rightclicking and using "Run as" doesn't seem to work.

      What did work for me was the following.

      Say the limited account is called "IEuser".

      Then create a shortcut to "runas /user:IEuser cmd" on your desktop.

      Double-clicking this will open a command prompt that runs as IEuser.

      Now you can manually start IE with "start iexplore".

      (Or create a batchfile c:\windows\iestart.bat that just contains the line "start iexplore" and you can start I

    6. 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.
    7. 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.

    8. Re:It could be the default option during install by n0-0p · · Score: 1

      I truly hope no one takes this advice. First off, your suggestions rely entirely on blacklist and signature protections. The security community has been telling people for years that blacklisting and signatures are not a proper substitute for whitelisting and access control.

      Your solution also allows a potentially infinite number of attack vectors and the only reason why it may have worked to this point is that there is still lower hanging fruit than you. It's like the old joke about outrunning a bear. You don't have to be faster than the bear, just the guy next to you. In this case though, the bear will eventually keep coming.

      What's worse is that your solution is even more complex and less effective than running as a LUA. For instance, the practices you've suggested should almost cripple IE to the point of unusability. Why didn't you just suggest running another browser? And what happens when you play an online game or view a hostile email or attachment that isn't in your AV or spyware sigs? What about some as yet unknown vulnerability in any client software? Worse yet, what happens when someone runs an attack against your AV or spyware apps themselves?

      I realize you were trying to be helpful, but please do not ever suggest this advice to anyone again. LUA protects against known and unknown attacks with a strong model enforced by the kernel. Your suggestions, on the other hand, raise the security bar just high enough to give a completely false sense of safety.

    9. Re:It could be the default option during install by xMilkmanDanx · · Score: 1

      Would be better to not have the admin password stored plaintext. There are tools to setup encrypted saved runas. http://joeware.net/ has a freeware encrypted runas tool and I've seen various shareware versions.

    10. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      MS is trying to blame user's ignorance of LU security when the OS itself is built around you being an admin.

      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.

    11. Re:It could be the default option during install by Tony+Hoyle · · Score: 1

      I wrote a runas that didn't need the password (I use similar tech on a project I'm on that needs to validate users with a different password to their windows one).

      OTOH I wrote it so that it checked you were an administrator first before doing its stuff... I did for fun build a version that let anyone do it, but logging in as guest and doing 'su administrator cmd.exe' was enough to tell me that it was an unacceptable risk :)

    12. Re:It could be the default option during install by FireBook · · Score: 1

      another way of putting this, and i think a better way, is the old arguement: It's not Stupid User, its Stupid Developer. I still cant work out exactly why windows doesnt have a default security level for _everyone_, and a seperate security level for administration work _only_. Ie log in to change settings and install systemwide apps. Hardly like its unprecedented in computing

      --
      My other OS is also FreeBSD
    13. Re:It could be the default option during install by Anonymous Coward · · Score: 0

      That's strange. I run as a non-admin on Windows and I haven't encountered much software that requires you to be admin to use it. Occasionally I've had to grant a program write access to its own folders if it has auto-update facilities, but I do that on an as-needed basis. They only stupid workaround I've had to do is that "Run As..." from the context menu only works on normal executables or shortcuts to them, not on control panel stuff, so if I want to use the control panel as admin I do a "Run As..." and open Internet Explorer in order to navigate to the control panel with admin access. A little clunky, but it works.

    14. Re:It could be the default option during install by derfy · · Score: 1
      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.

      Maybe I'm missing the point, but how is that any different than su'ing to root?

    15. Re:It could be the default option during install by IntlHarvester · · Score: 1

      The OS provides the mechanisms for LUP

      Only minimally. The feature is not nicely integrated into the GUI as with OS X's sudo functionality.

      Furthermore, WinNT has no real concept of "setuid-root". This could be argued either way, but the upshot is there's no means to run with elevated privs on an application-by-application basis. This is another trick that some OS X apps use to avoid requiring that the user have full root privs 100% of the time.

      --
      Business. Numbers. Money. People. Computer World.
    16. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      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.

      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.


      You have to (and I'm talking about Microsoft here) make the developers aware so that they support the new default.

      How would you propose that Microsoft do this? Would you suggest making the defaul non-admin? Too many applications would break. And then everyone would be bitching about how it broke so many things (just as they did with XP SP2).

      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?

    17. Re:It could be the default option during install by snilloc · · Score: 1

      It's still better than what TFA suggests is being done, which is the complete opposite. That is, running as admin all the time and running certain tasks as LU. That is totally backwards.

    18. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      Only minimally. The feature is not nicely integrated into the GUI as with OS X's sudo functionality.

      It's there. It's just that application developers don't take advantage of it. For instance I just installed PGP on my system this morning. Since I wasn't a privileged user I was prompted for administrative credentials...just like OS X.


      Furthermore, WinNT has no real concept of "setuid-root". This could be argued either way, but the upshot is there's no means to run with elevated privs on an application-by-application basis.

      Sure there is. The fact that you don't know how doesn't mean it doesn't exist. There's an explaination in this very thread about how to do it. But in case you missed it here's one way:

      1. Create a short cut.
      2. Right click the short cut and select "Properties".
      3. Click the "Run As different user" check box.

      Not exactly the same as it prompts for a password each time the application is launched (see the thread for an explaination on how to do this without a prompt).

      But set UID is considered bad anyway so I'm not sure this is a weakness.

      So far you haven't explained how Windows doesn't support LU. Do you want to try again?

    19. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      I still cant work out exactly why windows doesnt have a default security level for _everyone_, and a seperate security level for administration work _only_.

      It does. Windows provides the HKLU users section of the registry for saving preferences plus it provides the user their own home directory (just like UNIX) where preferences/files/what-have-you can be stored. This is no different than UNIX systems. The guidelines have been published for over five years. But for some reason the application developers continue to insist on writing to system protected areas (like HKLM and the programs installation directory which is typically the "Program Files" directory).

      This isn't a flaw with Windows folks. This is a flaw with the application developers who continue to write code requiring adminstrative rights. Stop insisting that Windows is flawed wrt LU. It's not.

    20. Re:It could be the default option during install by IntlHarvester · · Score: 1

      It's there. It's just that application developers don't take advantage of it.

      Microsoft themselves doesn't take advantage of it for their system management tools, which is my point. There is some hack surrounding files called "install.exe", but that's not really the same as what OS X does.

      Create a short cut.

      This shortcut method is a way to automate RunAs -- it's not a OS feature like setuid. (Which I agree can be bad, but it beats running your desktop as Admin because some stupid game's CD check.)

      So far you haven't explained how Windows doesn't support LU.

      No, I said it has minimal LU support (that most users will never see). See my other posts -- Longhorn appears to be going in the direction of doing LUA right with none of this RunAs/sudo/setuid stuff.

      --
      Business. Numbers. Money. People. Computer World.
    21. Re:It could be the default option during install by Jugalator · · Score: 1

      Exactly -- Windows is largely aimed at novice users, so why don't Microsoft take their responsibility and

      1) Require admin (equivalent to "root") accounts to have a password.
      2) Try to design the installer and login so it takes extra/specail actions to login as administrator.

      Installing Windows XP for a non-passworded admin account used as the default is surprisingly enough the default for Windows today. Sure, there *is* a password text box at install time, but nothing at all is said if you leave it empty, and the normal for it is to be empty. Doh!

      --
      Beware: In C++, your friends can see your privates!
    22. Re:It could be the default option during install by Jugalator · · Score: 1

      Try it yourself some time. Running windows without admin rights is a nightmare.

      I agree this seem to be a problem, and I can only blame Microsoft for making Windows by default letting us use admin-status accounts and even unpassworded without raising an eyebrow. So people do that. And so developers start assuming things and designing their apps in an ugly way. And then I guess Microsoft never dare to change how it all works (requiring passworded accounts, defaulting to restricted privilege accounts, etc) since many apps would break. Wohooo :-/

      --
      Beware: In C++, your friends can see your privates!
    23. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      Microsoft themselves doesn't take advantage of it for their system management tools, which is my point.

      System management should be done as an administrator. If you need to do system management stuff log on with, or switch to, an account with administrative priviledges. It's been there for at least four years.

      Likewise this line of reasoning is a cop out. System management isn't the reason why people don't use LU. System management represents a very small fraction of what users do. It's application compatibility that prevents LU from being the default.

      This shortcut method is a way to automate RunAs -- it's not a OS feature like setuid.

      "RunAs" is most certainly an OS feature. It may be a different way of achieving the same result but it's still an OS feature. Is your only complaint that the end result isn't achieved in the exact same manner?

      No, I said it has minimal LU support (that most users will never see).

      Saying it doesn't make it so. You have to demonstrate how it doesn't.

      I'm running as LU right now on my Windows 2000 Professional system. It's worked very well and almost troublefree. If application developers would write code with LU in mind I could remove that "almost". But that's not Microsoft's fault.


      Longhorn appears to be going in the direction of doing LUA right with none of this RunAs/sudo/setuid stuff.

      I disagree. These moves are to overcome the fact that application developers aren't writing code with LU in mind. These are hacks which, IMO, will have security problems of their own. If you want to see what I mean take a look at the security zones in IE. Conceptually a good idea. However vulerabilities in the implementation have rendered these security features almost worthless (i.e. how many times have we seen vulnerabilities where code that should be running in the Internet zone security context ends up running in the trusted zone security contect due to a bug?) Microsoft is adding additional hacks to mask the problem that application developers aren't writing code with LU in mind. It's an attempt to make LU work when developers aren't writing LU aware code. What needs to be done is for application developers to write code with LU in mind.

    24. Re:It could be the default option during install by IntlHarvester · · Score: 1

      Saying it doesn't make it so. You have to demonstrate how it doesn't.

      There's no point in having a conversation with someone who insists on putting words into my mouth. For the record, Windows has LU but has not done nearly as well as the compeititon with building a system that encourages it's use. I don't believe that's even debatable among anyone with a Mac on their hands.

      --
      Business. Numbers. Money. People. Computer World.
    25. Re:It could be the default option during install by zootm · · Score: 1

      Unfortunately, a lot of the problems lie with developers rather than the OS itself. There's precious little stopping developers from making versions of systems that work on non-admin accounts (for most types of systems), but they assume admin rights, and hence the programs don't work. Just bad practices, in a lot of cases.

    26. Re:It could be the default option during install by cleverhandle · · Score: 1

      Doesn't the /savecred flag keep the password as a hash or something similar? It's been a while since I've used it (and, as others have pointed out, no "normal user" would ever discover it), but I thought it used the same credential caching scheme that Windows uses for file-sharing and similar activities.

    27. Re:It could be the default option during install by pantherace · · Score: 0, Troll
      Bullshit

      I'm sorry, but the only 2 groups of programs that runs poorly are copy-protected games, or poorly written programs that attempt to write where they aren't supposed to. (And with permissions to write to their own directory or more likely a subfolder, most will run.)

      It might *gasp* take some work on the Admin's part.

      So either 2/3 of your programs are games, very poorly written programs, or you simply can't be bothered to adjust permissions. I'd like an actual list, if you would be so kind, as it is you have one example.

    28. 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!
    29. Re:It could be the default option during install by xMilkmanDanx · · Score: 1

      /savecred (at least seems) that it only saves it for subsequent runs in the same session. If there's more to it, I wasn't able to spot it in a brief look over the options.

    30. 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
    31. 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?

    32. Re:It could be the default option during install by Anonymous Coward · · Score: 0


      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...)

      The permission in Windows are just fine. Unless your idea of good security is allowing anyone to write to system/global directories and registry keys. Unprivileged users can write to their home directory and those directories that they've been specifically grant rights to. The same applies to their registry location (HKLU). This configuration is right inline with what we see on UNIX systems.

      So I fail to see how Windows' default permissions are the problem. It's the developers who insist on writing to global locations that are to blame. The security is doing exactly what it should: Preventing unauthorized users from modifying global/system settings/configurations/programs. This is a GOOD thing.


      Even XP is based upon the old premise that one person uses a computer.

      For home users I'd say that this assumption is probably sufficient for most users. Even when multiple people use a system it's typically not worth having separate accounts. But the capability is there for those that want it.


      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.

      The same applies to UNIX systems too. The local user DB (i.e. /etc/passwd and /etc/shadow) accounts are different than those used by a directory service (such as NIS or LDAP). I can set the local user DB account to a different UID than that returned by the directory service. I can also set the local user password to be different than the one used by the directory service. Same for group membership. I fail to see a difference. Therefore I fail to see a point in your response. The fact is that for both operating systems they are different user accounts.

    33. Re:It could be the default option during install by (negative+video) · · Score: 1
      For the record, Windows has LU but has not done nearly as well as the compeititon with building a system that encourages it's use.
      By not supplying a proper package manager, Microsoft intends software to be installed poorly. Moreover, poor behavior regarding login privileges is a deliberate and intentional part of their plan: Visual Studio requires administrator privileges, which means that a programmer would have to reboot twice everytime they recompiled their privilegly-correct software.
    34. Re:It could be the default option during install by (negative+video) · · Score: 1
      There's precious little stopping developers from making versions of systems that work on non-admin accounts...
      You mean besides having to run Visual Studio with maximum privileges, which means you have to log out and log back in twice every time you make a change.
    35. Re:It could be the default option during install by zootm · · Score: 1

      Exactly ;)

      It is possible to run a program as another user though.

    36. Re:It could be the default option during install by Anonymous Coward · · Score: 0

      /savecred will save credentials permanently.

    37. Re:It could be the default option during install by jZnat · · Score: 1

      And this would be a bad thing why? ;)

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    38. Re:It could be the default option during install by DarkZero · · Score: 1

      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.

      Yeah, and then after you set up a bunch of programs like that for someone, they download a new game from Yahoo or wherever that won't run without admin rights, and they just say, "Screw this, I'll use the 'Administrator' account from now on."

      LUA doesn't really work in a home Windows environment because the people that shouldn't have admin rights usually aren't experienced enough to use it, while the people that ARE experienced enough don't necessarily need it, because they're not going to open an email attachment named "HotRussianXXXGirls.exe".

    39. Re:It could be the default option during install by crazyphilman · · Score: 1

      And leave the admin password sitting on the machine in plain sight? Hmm... Let me think...

      --
      Farewell! It's been a fine buncha years!
    40. 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!
    41. Re:It could be the default option during install by Reteo+Varala · · Score: 1

      Internet Explorer is a core part of Windows. It works at the same security level as the user. It does not require Administrative Access.

      I know this because I have a Windows box set up using a normal account. If I want to run something as an administrator, I simply hold down [SHIFT] while right-clicking, and selecting "Run as..."

      However, you cannot run Windows Update as a normal user, obviously.

    42. Re:It could be the default option during install by sql_noob · · Score: 1

      I create some limit user accounts in my last job. My boss, who know only double clicking and space-tabbing ask me to remove limit accounts because she used to work like that and she doesn't like password. I tried to explain what would happen if she do that but she doesn't understand. I do not work there anymore, I would just earn some plus if her PC is messed up or infected with some virus like things. So, why not?! Anyway, the LUA of windows offered limited protection only. I found out that many system files are unprotected.

    43. Re:It could be the default option during install by assassinator42 · · Score: 1

      "They already have several elevated-right groups that are still non-admin (Power Users, for example" In XP Pro at least. Only admin and limited in XP Home.

    44. Re:It could be the default option during install by Anonymous Coward · · Score: 0

      Running Windows as LUA http://blogs.msdn.com/aaron_margosis/archive/2004/ 07/24/193721.aspx Learn it. Live it. Love it.

    45. Re:It could be the default option during install by Malc · · Score: 1

      Well, it's not quite as bad as you claim. I do run as an ordinary user. Aaron Margosis' blog is a great starting point to educate yourself, and I think his PrivBar for Explorer and IE is essential. Create a separate account for each user with admin privs, and use that only for situations that require it. Keeping things like IE and Outlook to a non-Admin account are imperative if you want to mitigate the risk of infection by a trojan.

    46. Re:It could be the default option during install by Anonymous Coward · · Score: 0

      Except that Internet Explorer is so tightly hooked into the kernel that it can basically do whatever it damn well pleases whatever security level its current user has. I mean, that's like saying "kernel32.dll is a core part of Windows. It works at the same security level as the user." Well, yeah, but it runs underneath the security system, and url.dll (the primary part of IE) is the same way.

    47. Re:It could be the default option during install by RzUpAnmsCwrds · · Score: 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."

      WRONG. Windows 95, 98, and ME may be based (partially) on Windows 3.1, but very little code in Windows NT/2000/XP comes from Windows 3.1.

      "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?"

      Statements like this indicate that you dont't know how IE/Windows integration actually works. IE isn't part of the kernel, nor is it any more integrated into the OS than, for example, DirectShow. Microsoft's HTML rendering engine ("Trident") is simply a dynamically-linked-library used by many Windows applications (help, Internet Explorer, the shell). This is no different from KHTML in KDE or WebCore in OS X.

      "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?"

      Come on. From what I have heard, the Windows codebase is actually very *clean*. Far more so, in fact, than your typical Linux distro.

      Microsoft is nowhere near screwed. With almost $40 billion in cash and great programming talent, you can be assured that Windows will be dominant for years to come.

    48. Re:It could be the default option during install by 6th+time+lucky · · Score: 1

      The tool is called CPAU for those looking for it

    49. 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!
    50. Re:It could be the default option during install by pAnkRat · · Score: 0

      WHAT!?!

      Visiual Studio (a programming IDE) needs admin priviledges?

      Could somebody please confirm this, or is this some kind of FUD from the linux league?

      If this it is true, it is the most idiotic thing I read about microsoft software in a long time.

      --
      we need an "-1 Plain wrong" moderation option!
    51. Re:It could be the default option during install by uvatbc · · Score: 1

      It is true. The venerable Visual Studio 6 fails to open without admin privileges.

      I havent seen a single service pack for VS 6 address this. Not even the latest - SP6.

      Visual Studio .NET 2003 does open and can compile programs without admin access. But when it comes to debugging, it needs admin access.

      The problem is that VS.NET doesnt go the easy way - It doesnt just figure out that you need admin privs for the debugging thread only and ask permission to use the admin account (Sort of like *nix apps asking for su password to do something)

      Hmmm... Maybe I should put this as a feature request... Or has it already been taken care of in VS.NET 2005?

      Any ideas? Anyone tried this?

    52. Re:It could be the default option during install by rikkards · · Score: 1

      Maybe by default but it can be locked down using policies.
      With Group Policies you can lock down specific sections of the filesystem as well as the registry (you can also use it to relax the same things as well). You can also discern who should be in the Local Administrator or Power User group and what services should be running

    53. Re:It could be the default option during install by telecsan · · Score: 1

      From the article you linked

      Despite the above, the quality of the code is generally excellent. Modules are small, and procedures generally fit on a single screen. The commenting is very detailed about intentions, but doesn't fall into "add one to i" redundancy.

      Yeah, when on a programming project of more than 5 people, have you ever liked ALL of the code?

    54. Re:It could be the default option during install by EXTmilky · · Score: 1

      Defaults wouldn't help here. This is however a fully homebrew problem, and would have been solved by better terminology.

      I don't wonder a bit that people are turned off from less privileged user accounts, if those are entitled with "RESTRICTED accounts". A label like "security-enhanced" or "safer user account type" made more people willing to use it or at least overcome their innert Windows Professional user attitude.

    55. Re:It could be the default option during install by crazyphilman · · Score: 1

      Naturally, much of Microsoft's code is excellent. Sure. But there are also tons of "ugly hacks" and workarounds, all sorts of stuff that is packed into their codebase that they can't get rid of for various and sundry reasons.

      Think about it this way: Let's say you're a brilliant civil engineer. You build a big bridge. Most of your engineers do great work, and so do most of your construction workers. But there are a few schmucks thrown in, and you have to do all sorts of special little tweaks for this trucking company or that bus line, so most of the bridge looks great, except the center span is held together with rubber bands and duct tape, and some of the cables are detachable.

      What have you got? A great bridge? Or a bridge that from time to time, dumps everyone in the Hudson River, leaving you to run out with some glue and rubber bands to patch it? Heh heh heh... Damn, that's a fun analogy. Picture all the little suits in their BMW's, screaming AAAAAAHHHHHHHHH as their car falls through the rubberbands... Man, I slay me.

      Anyway, MY point is that I think they've painted themselves into a corner. They can't get rid of the hacks, workarounds, and outright cheats they put in without breaking with the existing codebase and trying something new. But, they can't do THAT because if they do everyone will go ballistic.

      It's a damned if you do, damned if you don't situation. And you have to admit, that's EXACTLY where they're at.

      Why leap up in defence of the realm? I'm not attacking Microsoft. If anything, I'm sympathizing with them. This codebase is a millstone around their necks. Why do you think they're pushing .Net so hard? They're hoping that if they're smart about how they set up .Net, they'll be able to move into a new codebase without a sudden lurch. Look at how web services take care of the DLL Hell problem.

      They're wiggling; the question is, will they manage to get out of the trap?

      --
      Farewell! It's been a fine buncha years!
    56. Re:It could be the default option during install by pAnkRat · · Score: 0

      It looks like this is an unsolved problem for about six years.
      If I had any kind of dicision to make here,
      I would drop it like a hot potato, wouldn't touch it with a stick, and wouldn't do business with _that_ company ever again. This is plain ridiculous.

      "Admin privilidges to do some userspace debugging" (HA!), I would never have thought of that one.

      Makes you wonder what other system component are secretly running with admin priviledges because "it could not be done any other way"

      --
      we need an "-1 Plain wrong" moderation option!
    57. Re:It could be the default option during install by FireBook · · Score: 1

      I beg to differ. It's a clear flaw when the os doesnt automatically request authentication for rights escalation for all apps and systems that need it, and doesnt make it painfully difficult to run as an admin user. just because application coders have continued to code as microsoft have conditioned them to doesnt mean microsoft couldnt code in safety by default, and ensure that applications that write to non user specific areas either get a dialogue box popping up asking for authentication, or are writing to a copy of the section of registry that is then stored with the user's data. What you also seem to miss is _my_ point of why the hell windows didnt just do the same as nix operating systems in the first place. Also, the transition to windows xp broke quite a few apps anyway so why not take the opportunity to force the issue with developers, or use a userspecific copy of the registry as previously suggested. There are plenty of things microsoft could have done to either ensure applications would run in the LUA mode, or request authentication for the escalation. I didnt originally say windows is flawed in the LU department, i expressed puzzlement that this situation was allowed to happen. Dont blame the developers, Microsoft have hardly made things easy or issued decent information as to what setting where is open to the LU accounts. Not to mention Microsoft have got plenty of their OWN applications that will not run as LU......

      --
      My other OS is also FreeBSD
    58. Re:It could be the default option during install by (negative+video) · · Score: 1

      Yeah, it's really inexcusable, and IMHO the main reason that Windows is such a cesspit of unsecurable software.

  3. 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 TFGeditor · · Score: 1

      You have reinforced my point.

      Try saying what you wrote to a non-geek user. The ensuing blank stare could thwart the machinations of Medusa.

      --
      Ignorance is curable, stupid is forever.
    7. 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.

    8. 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.

    9. Re:I wonder why by PastaLover · · Score: 1

      Windows does come with a user manual you know. If those users don't get what he's saying they should read it. Using windows is no excuse to being ignorant.

    10. Re:I wonder why by Trix606 · · Score: 0
      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.


      This is the big problem we have setting up limited accounts on our network. Whenever we ask vendors about what type of account is needed to run their application, they either a. don't know or b. require admin authority because their program needs write access to some system directory.

      Security unfortunately is an afterthought in their software design if it is even considered at all. When I think of it I can't remember any of my Microsoft development environment classes talking about security at all. Networking classes sure, Java yes. MS has the security features but I think it is the developers that are not incorporating them either due to lack of knowledge or because it is too difficult or both.
      --
      "Look out honey, 'cause I'm using technology" -- Search and Destroy -- Iggy Pop
    11. Re:I wonder why by FunctionalMethod · · Score: 1

      [i]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.[/i] If Windows help files are GeekSpeak , then Linux "help files" are hierogrlyphics.

      --
      -- TRUST ME! I KNOW WHAT I'M DOING!
    12. 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.
    13. Re:I wonder why by FunctionalMethod · · Score: 1

      Posting in Forums does this to your HTML.

      [i] == <i>

      --
      -- TRUST ME! I KNOW WHAT I'M DOING!
    14. Re:I wonder why by anopres · · Score: 1

      I agree. That's reason enough to ditch Itunes.

      --
      Strong Mad - 2008: "I PRESIDENT!"
    15. Re:I wonder why by Anonymous Coward · · Score: 0

      So, if third party linux software was written asininely too, would you suggest everyone dump it? I fail to see how MS is at fault for shitty third party developers.

    16. Re:I wonder why by tverbeek · · Score: 1

      Even if computer buyers were aware of and understood the difference between an admin-level account and a user-level account, there's still the (understandable but misguided) attitude that they're the ''owner'' of that computer, so ''of course'' they should have admin privileges.

      --
      http://alternatives.rzero.com/
    17. Re:I wonder why by TFGeditor · · Score: 1

      Well, I cowardly omitted any Linux reference to duck a TROLL or FLAMEBAIT mod. OTOH, mentioning Linux in a post about user-friendliness would actually merit a REDUNDANT label.

      --
      Ignorance is curable, stupid is forever.
    18. Re:I wonder why by whomeyup · · Score: 1

      Learning computer basics, such as the differene between a normal user account and an administrator account, is more like learning the rules of the road in order to get a drivers license.

    19. Re:I wonder why by PastaLover · · Score: 1

      We hate car analogies because they suck. I had to get a driver license to learn to drive a car. And in the process I learned what all little buttons do in my car. I also learned what to do when I get into an accident with my car, when somebody breaks into it, etc. I even know that I should check my tires before I go on long trips to see if they're at the right pressure. I know a heck of a lot about cars because of that driver's license.

      OTOH a computer is nothing like that. Somebody comes by your house, sets it up for you, shows you a thing or two and most people think that's when they're ready to go. Makes you think a driver's license for computers wouldn't be such a bad idea (of course the concept is not bad, just that the execution is impossible).

      From another perspective: a car is designed to get from point a to point b. But that doesn't mean that all the lights on your car are useless and that you shouldn't know how to use them.

    20. 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.

    21. Re:I wonder why by Anonymous Coward · · Score: 1, Informative

      I know this story is about end-users and not professionals, but I'd just like to point out that in Windows Server 2003, new accounts are LUA by default, and further priviliges have to be added manually.

    22. Re:I wonder why by PastaLover · · Score: 1

      That's so 1999. I hardly ever compile software from source anymore. If you want to bash installation user friendliness in Linux (the lack thereof not necessarily being a bad thing) then bash RPM or .deb for their faults.

    23. Re:I wonder why by Taladar · · Score: 1

      I don't know about the U.S. but here in germany you only get a driving license when you know all the important (read: day-to-day) maintenance stuff about a normal car.

    24. Re:I wonder why by Anonymous Coward · · Score: 0

      it probably isn't iTunes fault since it works fine in a standard or managed account inside OSX. Why this apparently changes once ported over to windows is not clear to me though.

    25. Re:I wonder why by Red+Alastor · · Score: 1
      So, if third party linux software was written asininely too, would you suggest everyone dump it?

      If Windows wasn't giving you the admin rights by default, installing a software that needs them wouldn't work for 95% of users who have no clue about how to switch to admin. Therefore, they would be coded to work with a regular account.

      Windows default choice cause sloppy coding.

      P.S.: There is no such thing as "third party software" for Linux and yes, we ditch apps of poor quality.

      --
      Slashdot anagrams to "Sad Sloth"
    26. Re:I wonder why by TFGeditor · · Score: 1

      Retract your claws. I meant that had *I* mentioned "Linux" and "user-friendly" in the same post it would be redundant. i.e. Everyone knows Linux is not user-friendly to a non-geek, so pointing it out is redundant.

      Friends again?

      --
      Ignorance is curable, stupid is forever.
    27. Re:I wonder why by Anonymous Coward · · Score: 0

      The only reason rpm and apt-get exist is because installation of software under Linux is such a joke. Besides, what are you going to do if you can't find a package for the software you want to install? In that case, you need to download the tarball and go through the whole compile/edit/pray rigamarole.

      By the way, you zealots need to make up your mind. One day, you'll all start masturbating because IT'S THE YEAR OF THE LINUX DESKTOP! OMG! You'll start talking about how user friendliness is key to ma and pa accepting Linux as their operating systems and get moderated up +5 INSIGHTFUL.

      The next day, someone comes along criticizing a symptom of Linux's fragmented nature (crappy package management and 10,000,000 different ways of storing config files on a system) and you all get your panties in a bunch about how the lack of user friendliness in package management is a FEATURE, not a bug.

      So, which is it? Do you want user friendliness (with which comes droves of users, no one laughing Linux off anymore as a toy operating system, and people besides assholes writing software for your system)? Or, do you want to be considered 31337 in your little geek circles so you and your friends can continuously masturbate to how cool it is that you had to recompile your kernel to support input via mouse?

      The choice, retards, is yours.

    28. Re:I wonder why by NormalVisual · · Score: 1

      Here in the U.S., you get your driver's license after you pay the appropriate fee, pass a written test on the rules of the road, and pass a driving test. Both the written and driving tests could be managed by a well-trained house plant, and most American drivers can't even recall the basic traffic laws, such as what the right-of-way rules are for their particular state.

      I had occasion to drive in mainland Europe last month, and I found it a really refreshing experience - in particular, highway drivers there really seem to understand the whole "stay to the right unless passing" thing very well. Here in the U.S., it's commonplace to have some idiot idling down the highway in the left lane totally oblivious to the fact he's got a quarter-mile of traffic stacked up behind him, and will get offended if you flash your lights at him to pass.

      --
      Please stand clear of the doors, por favor mantenganse alejado de las puertas
    29. Re:I wonder why by unitron · · Score: 1
      "Try saying what you wrote to a non-geek user."

      Exactly. Non-admin accounts are an unfamiliar concept to them because admin accounts are an unfamiliar concept because the whole account idea or different levels of security are unfamiliar concepts.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    30. Re:I wonder why by bhtooefr · · Score: 1

      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.

      One analogy that I'm going to use is an old one about understanding stuff, though. It's been said that one doesn't need to understand internal combustion to drive their car - makes sense. Obviously, you can go to it being unnecessary to understand how, say, Windows works under the hood to use a computer.

      However, one who knows how internal combustion works could take that into consideration, and use a different acceleration profile on the car (for example). One who knows how Windows works, at least to a limited extent, can more easily find where problems are, and also manage everything so that the system runs better (read: faster).

    31. 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...

    32. Re:I wonder why by KDR_11k · · Score: 1

      Bad coding practices? Wrong API calls?

      --
      Justice is the sheep getting arrested while an impartial judge declares the vote void.
    33. Re:I wonder why by Anonymous Coward · · Score: 0

      So package management was a pain, they invented package managers like rpm/apt-get and later yum which solved this problems and made installing programs actually easier than Windows in some cases and you think this is a problem? There was a problem, someone came along and wrote programs that solved that problem. I don't get it why you think this is a bad thing.

      I guess you must still be stuck back several years ago. If you use any modern Linux distro, package management is insanely easy and in most cases you don't have to download source and compile yourself. You can, and for obscure hobby programs you have to, but that's also true on Windows. Graphical configuration utilities also exist on those modern distros. In Fedora Core, it was actually easier for me to set up my HP printer than it was under Windows on the same machine. I plugged it in and it autodetected it and setup the drivers. I was printing a test page in under 3 minutes and all of this with a GUI...I didn't have to touch a single config file. Windows required a reboot or two and a bunch of questions about where drivers were located. I also set up printing to a shared printer running on a Windows box over the LAN. Also didn't have to touch a config file. It was all GUI and the hardest part was making sure I had the share name right and the type of printer correctly selected. It could be a little easier, but for the most part, it just worked.

      In short, get with the times, man. It's not that bad anymore.

    34. 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.
    35. Re:I wonder why by donweel · · Score: 1

      I would say this is Windows biggest weakness. I don't consider any OS that is not set up for file privilages for individual users to be anthing but a toy OS. I tred to set up a non admin account, but the biggest problem I had was changing ownership. Have you ever tried to change ownership of a directory using XP? It seems to require booting into safe mode. Even after doing this I was not able to open files, XP forgot which applications to use on file types. I was only able to fix this by booting into Linux and copying the directory to a partion shared by Linux and XP.

      --
      Many a long talk since then I have had with the man in the moon; he had my confidence on the voyage. Joshua Slocum
    36. Re:I wonder why by Anonymous Coward · · Score: 1, Insightful

      Other software can read CDs just fine with a User account so this is obviously iTunes' fault. Probably their crappy DRM.

    37. Re:I wonder why by Anonymous Coward · · Score: 0

      running IE with reduced rights will also cause many IE plugins and any IStream handoffs (like Media Player) to fail without explanation

      Media player often tries to connect to the Internet when I'm playing a file stored on the local hard disk; it's already fundamentally broken.

    38. 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.
    39. Re:I wonder why by Anonymous Coward · · Score: 0

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

      Yes it is; everyone I work with knows about the possibility, but refuses to use it, because of how much trouble it causes. I am the only person whose account is not in the local Administrators group. (And they're right; it is a lot of bother -- I just put up with it. Many programs can not be run at all. And there is no way at all to adjust network settings without entirely logging out and logging in as administrator, because the mmc is not invocable for it.)

    40. Re:I wonder why by Anonymous Coward · · Score: 0

      One paragraph? It has a 10 page section all it's own. You can download the Windows XP Application Logo Requirements here:

      http://www.microsoft.com/downloads/details.aspx?Fa milyID=209e3d65-f0be-4eef-8602-73bb9bc29d54&displa ylang=en

      Section 3 deals with data and limited accounts. Most applications fail to run as non-admin for precisely these reasons, specifically by attempting to write something somewhere that a normal user cannot write to. Tons of apps fail simply because they want to try to write a log file into the application's directory, or because they attempt to open an HLKM registry key with read/write privileges. It's not difficult.

      This information has been a part of the good development practices since Windows NT 3.1 was first released. Since DOS, Windows 3.x and Windows 9x couldn't enforce it, developers were just lazy morons who did what they wanted anyway. I deal with plenty of vendors, large and small, who never test their applications under different user contexts. And some of those vendors are now developing on Linux, complete with their pisspoor habits.

    41. Re:I wonder why by GlassUser · · Score: 1

      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.


      Actually, only the first account made in windows setup is an admin. The rest are regular user accounts.

      And what is MS going to do about programs that don't run right? Outright prevent them? They've tried that, people whine and bitch to no end, claiming MS is trying to destroy the competition. They already have the "made for windows" logo program, but nobody ever bothers to actually LOOK at the list.

    42. Re:I wonder why by Tony+Hoyle · · Score: 1

      That's XP home...

      XP Pro and 2003 have proper file permissions. XP Home hides them, so if something doesn't work the user has no way of fixing it.

      Booting into Safe Mode is the only way of changing permissions in XP Home.. and it is a nightmare.

    43. Re:I wonder why by Anonymous Coward · · Score: 1, Insightful

      Booting into Safe Mode is the only way of changing permissions in XP Home.. and it is a nightmare.

      One word: cacls

    44. Re:I wonder why by colinrichardday · · Score: 1

      But Linux is more honest about the difficulty of using a computer.

    45. Re:I wonder why by Anonymous Coward · · Score: 0

      Well... if one don't know anything about computers in general and Windows then it is GeekSpeek... and MS has to be bleamed for those uneducated users... MS are telling that everyone can use Windows Out-of-the-box
      ...and don't get all the UNIX'es (incl. xBSD and Linux) involved in this... this was not a comparision of help systems...
      ...and finally: I don't like info... I prefere man.

    46. Re:I wonder why by hostyle · · Score: 1

      chroot jail ala ubuntu

      Let them have the admin password, dont let them log in as admin - ever.

      --
      Caesar si viveret, ad remum dareris.
    47. Re:I wonder why by Secret+Agent+X23 · · Score: 1
      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.

      No, it's like saying it's a darn good idea if a car owner knows that he should have the oil changed periodically, keep the tires properly inflated/balanced/rotated, keep the battery terminals reasonably clean, etc.

    48. Re:I wonder why by Anonymous Coward · · Score: 0

      "Media player often tries to connect to the Internet when I'm playing a file stored on the local hard disk; it's already fundamentally broken."

      It's just reporting on your usage habits -- you read the EULA, didn't you?

    49. Re:I wonder why by PastaLover · · Score: 1

      I find the other answer a good one. I would like to add a small point. You seem to assume that the people wanting to have the linux desktop in homes everywhere are the same people who are commenting in this thread (eg. me). I don't really give a rat's ass about desktop linux acceptance, as long as people go for open standards I'm already happy.

      Another point to my comment. I personally do not believe that installing software should be easy. It should be easier than compiling your own (which off course has its caveats). But constantly lowering the barrier is exactly what is wrong with the windows use case. Linspire did this too with its "click'n'run". If you don't know what you're doing, you're better off letting somebody else install your software. That's the great thing about good multi-user systems, somebody can maintain them for you.

      I know this attitude is very controversial, especially since it's hard to find good, cheap tech support. But in the future, people are going to be held more and more responsible for what their computer is used for. And they should either wisen up now, or let somebody else do things for them. (so you got somebody else to blame)

    50. Re:I wonder why by Anonymous Coward · · Score: 0

      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?

      I'm not stupid, so I'd know what they meant.

      The average American, however, would ignore them. Of course, they'd ignore them if they said "Low Oil" and "Temperature", too.

    51. Re:I wonder why by Anonymous Coward · · Score: 0

      If you find linux so distasteful, why are you here, reading and posting on a FOSS/Linux oriented message board? Trolling for attention? You make vaild points and obviously feel strongly about the usability issues with linux, but your venomous attitude shows your contempt for OSS. Just curious. Why are you reading and posting on /. instead of some MS board?

    52. Re:I wonder why by nystire · · Score: 1

      OT: When is America going to stop using archaic measurements and move into the modern world? :)

    53. Re:I wonder why by Anonymous Coward · · Score: 0

      in particular, highway drivers there really seem to understand the whole "stay to the right unless passing" thing very well. Here in the U.S., it's commonplace to have some idiot idling down the highway in the left lane totally oblivious to the fact he's got a quarter-mile of traffic stacked up behind him, and will get offended if you flash your lights at him to pass.

      I believe all new Dodge Caravans are sold with a sticker that says "Operation of this vehicle in any but the leftmost lane will void the warranty."

    54. Re:I wonder why by bhtooefr · · Score: 1

      Good question.

      I just use them because everybody else does, and I know what 3000 miles is. (FWIW, it's ROUGHLY 5000 km) I don't use metric measurements that often, though.

    55. Re:I wonder why by obdulio · · Score: 1

      On the ohter hand, every Unix/Linux course/book/manual insists that the admin logins as a regular user to do his daily job and do a su to root only when is needed.

      It's a matter of culture. Unix culture emphasizes security, while MS culture emphasizes ease of use.

      --
      PENAROL: Seras eterno como el tiempo y floreceras en cada primavera.
    56. Re:I wonder why by SScorpio · · Score: 1

      Your thinking of some wierd thing like BBCode. /. uses standard HTML formatting. You can also just use the preview button if your unsure of how your post will look to make you not look like a moron.

    57. Re:I wonder why by Anonymous Coward · · Score: 0

      Or the fact that Microsoft can't make half of their software run without admin rights either.

    58. Re:I wonder why by amliebsch · · Score: 1
      Our approach is perfectly logical. We use modern measurements for tasks of modernity (engineering, science, research, military) but archaic measurements for tasks which are not "cutting edge" (cooking, travelling, shopping, gossiping).

      Of course, my personal answer to your quesion is, when the modern world abandons base-10 numerology.

      --
      If you don't know where you are going, you will wind up somewhere else.
    59. Re:I wonder why by Anonymous Coward · · Score: 0

      It's called Longhorn, and it does that, and it's coming.

    60. Re:I wonder why by Cro+Magnon · · Score: 1

      Jail? If this has anything to do with that MP3, I didn't download it! In fact I don't know how it got there. *end nongeek mode*

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    61. Re:I wonder why by Anonymous Coward · · Score: 0

      "Since DOS, Windows 3.x and Windows 9x couldn't enforce it, developers were just lazy morons who did what they wanted anyway"

      I somehow DOUBT you are a developer yourself with that statement. Do you have ANY idea how much more difficult it was to develop things in DOS (without tools like Borland's "Turbo Vision" or VB 2.0 & below for DOS)? It was MUCH harder, and there were no interface 'standards' either. You built whatever interface your app had with ASCII figures & cursor positionings basically... providing the "illusion" of an actual point & click interface!

      I love it how non-developers are suddenly such experts on development, when they don't develop code themselves currently, much less back in the dark days of DOS/Win3x (using the SDK & C on the latter prior to VB 3.x & Delphi 1.x coming onto the scene for "RAD" tools)...

    62. Re:I wonder why by Anonymous Coward · · Score: 0

      UNIX culture emphasizes SECURITY? You ought to read the book "The Cuckoos Egg" by Cliff Stoll, & tell us all that... which is largely about UNIX systems being TRAMPLED ALL OVER TOTALLY security-wise by Germans who broke into military bases like those in Ft. Stewart near Richmond Hill Georgia... some security that was, & they even erased the std. logs while doing it! How? Well, you had best talk to Richard Stallman, because it was work of HIS that opened the door to the FIRST KNOWN "buffer overflow exploit" for them to do it... I really dislike when UNIX people try to 'tell how it is' without looking at WHY their 'culture' is now the way it is - because they've been thru it already and had their asses kicked years ago by cracker/hacker types is why. Microsoft's actually WAY ahead of them because UNIX? Was DESIGNED OPEN AND WITHOUT SECURITY initially & especially! Microsoft's done a HELL of a job in NT-based Os' as far as security imo, & it's gotten worlds better in Server 2003 by this point today!

    63. Re:I wonder why by antiMStroll · · Score: 1
      1/2 is wild exaggeration, or I must be very lucky. My home machines have run non-privledged accounts for years and the only applications requiring Admin are Mathcad 8 Explorer and the 'cdburn' iso utility from from the 2k administrator kit. That's it, none of two dozen plus games or any of the third party CAD and design software has issues.

      I also run ~70 machines at work across a wide variaety of applications as User, here it's a little different. One or two very obscure single developer packages - industry specific audio loggers for example - need the ACLs tweaked in the registry. Oh, and RealOne complains about admin rights, but that's a feature, not a bug.

    64. Re:I wonder why by GiMP · · Score: 1

      > "totally oblivious to the fact he's got a
      > quarter-mile of traffic stacked up behind him, and
      > will get offended if you flash your lights at him
      > to pass."

      Of course, you're probably passing him because you're speeding. He has every right to have a quarter-mile of traffic stacked up behind him if he is going the speed limit.

    65. Re:I wonder why by IdolizingStewie · · Score: 1

      On the contrary, if he is causing traffic to back up and people to pass him when it is not safe, he can be ticketed. I forget what the exact charge is, but the idea is that by causing people to pass him when it is not safe he is creating a dangerous situation. My grandfather got pulled over for this a couple years ago. Cops would rather you drive with the flow of traffic.

    66. Re:I wonder why by NaDrew · · Score: 1

      Mod up, please. CACLS works just fine in XP Home.

      --
      Vista:XPSP2::ME:98SE
    67. Re:I wonder why by pAnkRat · · Score: 0

      I have allways "known for a fact" that it is allowed to pass on the left _or_ right lane in the USA.
      (I am from germany, and have only spent 2 holidays in the US)

      Is this not true, or is it only alowed in some states?

      --
      we need an "-1 Plain wrong" moderation option!
    68. Re:I wonder why by NormalVisual · · Score: 1

      No, actually he doesn't. Where I live, obstructing traffic/failure to yield the left lane is just as much of a moving violation as speeding is, although it's rarely enforced. So, he may still be within the law as regards his speed, but he's still breaking it by not yielding the left lane to passing traffic, regardless of how fast that passing traffic is moving.

      .

      --
      Please stand clear of the doors, por favor mantenganse alejado de las puertas
    69. Re:I wonder why by NormalVisual · · Score: 1

      I can't speak as to the laws of other states, but in Florida you are supposed to pass on the left as a general rule. Exceptions are as follows:

      (a) When the vehicle overtaken is making or about to make a left turn;

      (b) Upon a street or highway with unobstructed pavement not occupied by parked vehicles of sufficient width for two or more lines of moving traffic in each direction;

      (c) Upon a one-way street, or upon any roadway on which traffic is restricted to one direction of movement, where the roadway is free from obstructions and of sufficient width for two or more lines of moving vehicles.

      (2) The driver of a vehicle may overtake and pass another vehicle on the right only under conditions permitting such movement in safety. In no event shall such movement be made by driving off the pavement or main-traveled portion of the roadway.

      --
      Please stand clear of the doors, por favor mantenganse alejado de las puertas
  4. 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 darkpixel2k · · Score: 1

      Hmm....

      runas /profile /user:Administrator cmd.exe

      ...or

      su -

      *sticks with linux*

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    4. Re:doh by Anonymous Coward · · Score: 0

      and the average user know that .... how ?

    5. 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.

    6. Re:doh by deutschemonte · · Score: 1

      My point exactly.

      --
      The preceding message was based on actual events. Only the names, locations and events have been changed.
    7. 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
    8. Re:doh by Anonymous Coward · · Score: 0

      "su -" is NOT a Linux thing... People supposed to just assume you do that in Linux??? Get a clue before you post.

    9. 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;
    10. Re:doh by Anonymous Coward · · Score: 0

      It's bad enough in a domain environment with unprivileged users, where an admin is required to do almost every change to the system. Good for keeping machines clean of junk, but the really good junk program writers have ways around this.

      A big part of this burdon should be carried by lame win32 program writers, in many cases installing software as admin puts all of the registry values in HKLU of the admin profile (which is gone when joe user logs in). So it's not even multi-user friendly. You have to make the user local admin for a day to get it going. Even better is tracking down that HKLM branch they need r/w access to. Every admin has spent hours on this usually with specialized software. It'll make you cringe when that 40 man-hour hard drive you build goes dead, you can't ghost every pc.

      As to one persons comment about Windows not having a su equivalent, it's called runas. Maybe not as flexible as sudo I guess.

      The sad part is when the latest print driver from Xerox for a document centre won't allow LAN fax because it stores it's address book in a system folder instead of %userprofile%\Application data. Still trying to hack that without elevating an entire department to local admin or "power user" so they can "use what we payed for." I located the folder and set priviledges, but it still won't fly. *groan* I could understand lexmark or someone else making this mistake, but Xerox?

    11. Re:doh by Anonymous Coward · · Score: 0

      Why does that take 30 seconds to start on windows 2000? cmd.exe takes under half a second if run normally...

      Also, does it do sudo-style lists so you don't have to type in the password every time?

      Still, nice tip though. I'm going to try and play the Battlefield 2 demo online without having to log out and in again like normal...

    12. 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)

    13. Re:doh by drsquare · · Score: 1

      Yes, it allows you to do more things in a limited account. Except install software. When you need root access in Linux, I can't think a way of doing it without using the command line. Perhaps root could be renamed to something more intuitive like 'admin'. You know that 'root' is Australian for 'fuck'? Does Linus Torvalds think that 'fuck' is an appropriate term to use on a computer? Do you want to install Linux on your grandmother's computer just for it to say 'fuck' to her?

    14. Re:doh by Anonymous Coward · · Score: 0

      Really. From the Battlefield 2 demo readme:

      "PUNKBUSTER
      - If you are playing Battlefield 2 with a limited user account within
      Windows XP, PunkBuster may disconnect you from the server. We
      recommend you use an Administrator account when playing on an internet
      server with PunkBuster enabled."

      If you can't even run GAMES in non-priveledged mode...

    15. 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.

    16. 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.
    17. Re:doh by mdecarle · · Score: 1

      1. open notepad
      2. write "runas /profile /user:Administrator cmd.exe"
      3. save as su.cmd

    18. Re:doh by wheany · · Score: 1

      I'm going to try and play the Battlefield 2 demo online without having to log out and in again like normal...

      You can play without administrative privileges if you play on a non-punkbuster server. Battlefield 2 demo does not require administrative privileges. Punkbuster does.

    19. Re:doh by Anonymous Coward · · Score: 0

      I love the point and click simplicity. ...

    20. Re:doh by pla · · Score: 1

      Go ahead, be the first on your block to harden Windows with naive LUA. Spend the next two years chasing down truly arcane breakage.

      I'll stand at the head of the line complaining that MS needs to make it a hell of a lot easier to run with reduced privelage, but really, it doesn't take that much effort... Not something Joe Sixpack could do, but something Joe Sixpack can use once properly set up for him.

      First, you need exactly one third-party tool, and one nonstandard MS tool... Tweak UI on the MS side (I won't provide a link because they seem to move it weekly), and CPAU as the third-party tool.

      Make your normal account a power user (still a little too powerful, but we'll take care of that). Install your AV software as admin, and everything else (except as noted below) as your normal user (using RunAs when necessary, but do not install anything else while actually logged in directly as admin).

      Now, rename your true admin account (via a group policy). Create a new admin account (named something other than "administrator" or "owner", obviously). Create a restricted user account as well (you'll probably need to start it as a power user, and downgrade it once you finish all this annoyance).

      Install anything network-related as your reduced permission user (browser, email (don't even bother trying to use Outlook as a non admin), instant messaging client, P2P app, and anything else you need). Don't bother configuring them yet, because for anything that stores its configuration in your profile, you'll just need to reconfigure them once you log in normally.

      Now, as your normal user, use CPAU to create job files, to run your network apps as the reduced privelage user, and anything that absolutely requires admin rights to run as your new (but not renamed original!) admin account.

      This gets you about 95% functional, and a hell of a lot safer than just running as an admin.

      Now, you'll notice you can print or see Samba shares from any of your network apps. Use Tweak UI's ACL editor to give your reduced permission user access to your printers and shares (do a google search on this one... Not at all difficult, but more steps than I want to list here).


      Now, when you notice a problem with a program, go to its installed directory, and if applicable, its profile directory, and give it fairly promiscuous permissions (ie, give everyone everything but full control). File permission wise, that amounts to almost the same thing as always running as admin, but limits any damage to the particular program too poorly written to behave. This alone makes most programs that demand to run as admin, runnable as a mere power user.


      This really only leaves one problem, which you can fix, but probably shouldn't... Depending on what program you run, your "my documents" and desktop will not point to "your" documents and desktop. Just keep that in mind when you download a file to the desktop and then can't find it anywhere.


      Meanwhile, I'll be using software on platforms that figured out most of this stuff a decade ago.

      Great point... But like it or not (personally, I do not), people can't use Linux for everything. If you like RTS games, for example, you can't escape the simple fact that Microsoft makes the best of them, and they sure as hell won't port to Linux any time soon. The same goes for most popular games, for that matter; they just don't run on Linux.

    21. Re:doh by Idolatre · · Score: 1

      This works fine for starting cmd.exe, but not some GUI parts of the operating system. Starting explorer.exe with runas will not work because another instance of it is already started. This makes it impossible to start the control panel as an administrator with runas.

      Other GUI applications work fine using runas, but I've never been able to use anything dependent on explorer.exe with it (making runas close to useless)

    22. Re:doh by Jugalator · · Score: 1

      But that requires you to mess around with script files to make things easy, something you never need to do in L... No wait...

      --
      Beware: In C++, your friends can see your privates!
    23. Re:doh by Sepodati · · Score: 1

      You can use iexplore.exe, however. I use it to get into the Control Panel, Services, etc from my regular user account all the time.

      %windir%\System32\runas.exe /user:computer_name\administrator "c:\program files\internet explorer\iexplore.exe"

      I also have runas shortcuts to cmd.exe and a text editor (Scite, in this case). I use those when needed and almost never actually log into the full Admin account.

      The only programs I've found that have issues running as a regular user are games. OpenOffice, Firefox, Thunderbird, etc all work wonderfully with different users (wife and son also have limited user accounts that they use regularily).

      ---John Holmes...

    24. Re:doh by Anonymous Coward · · Score: 0

      take a look at this link for info on how to run as admin with explorer

      http://blogs.msdn.com/aaron_margosis/archive/2004/ 07/07/175488.aspx

      this blog has many other useful tips for running as limited user

    25. Re:doh by Anonymous Coward · · Score: 0


      Hmm....

      runas /profile /user:Administrator cmd.exe ...or

      su -

      *sticks with linux*

      - OR -

      1. Right click on the icon while holding down the shift key.

      2. Select "RunAs" from the menu.

      Geez. It's no wonder you guys hate Windows. You don't even know the basics!

    26. Re:doh by starfishsystems · · Score: 1
      Yep, the strategy which Microsoft originally used to get ahead of the competition was to ignore the calls for security that everyone else was spending effort on at the time. Not having a login at all, for example, was one way to make a statement about where security fit into product design.

      Sure, you can always add this stuff later to a given design, but at that point it's not just a massive rewriting effort. For one thing, you have to somehow find and fix all the design assumptions arising from lax security in the code. I'm not talking about implementation problems like buffer overflows, which are easy and transparent to fix, I'm talking about design tradeoffs which promote features such as executable content without regard for security.

      Any system gives rise to dependencies among its various explicit and tacit behaviors. It pays to proceed carefully from the start, rather than being cavalier about security. It's hard to get the genie back into the bottle. And, as the LUA effect illustrates, after awhile those assumptions are no longer just in your code base, they're out in the marketplace as well. It's no longer merely a technical matter, or a feat of changing corporate culture, you have to convince an entire industry to back up and try again.

      --
      Parity: What to do when the weekend comes.
    27. Re:doh by snilloc · · Score: 1
      or Right-Click+"Run As" on any application (including the command prompt shortcut).

      Yes, Windows is a bit backwards on a lot of things, but you really can do a lot of "admin" stuff from a limited account without logging out.

      You can run an instance of IE for Windows Update as Admin w/o logging out, or just turn on automatic updates. (This isn't that much different from su... aptitude update... atitude upgrade)

    28. Re:doh by imess · · Score: 1

      but you can't install windows updates running internet explorer as admin

    29. Re:doh by sconeu · · Score: 1

      And you still have to give out the Admin password. Windows has nothing like setuid.

      Do you give out the root password to all your *nix boxes?

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    30. Re:doh by Trepalium · · Score: 1
      Now, rename your true admin account (via a group policy).
      Okay, I really hate this advise. Renaming your administrator account gets you no additional security, only a false sense of one. If you want to secure that account, disable it. The Administrator user has a well-known SID, which makes it fairly trivial to convert back to a username. Getting locked out is not really much of a problem either because this offline password changer can re-enable and change the password of any user on the system.

      I have never seen a reputable source ever suggest renaming the root account on any UNIX platform, so I'm not sure why that advise is so popular on Windows. Personally, I like the method Ubuntu Linux has come up with for securing the administrative user -- root is disabled, and all administration should be done via sudo.

      --
      I used up all my sick days, so I'm calling in dead.
    31. Re:doh by nystire · · Score: 1

      Simplicity or stupidity?

    32. Re:doh by Hal_Porter · · Score: 1

      Must admit, I don't use VPN to work from a home machine, I don't know. But I'd guess that if you log on locally to a machine that you set up yourself you can decide whether or not your an admin, so you can use fast user switching. Connected to a domain, the domain admin makes that decision, so you can't.

      In the VPN case, I don't know what the solution is, but I guess it will annoy a few people no matter what.

      Hmm, it turns out that the excellent Old New thing has an entry on it

      http://blogs.msdn.com/oldnewthing/archive/2003/11/ 21/55799.aspx

      --
      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;
    33. Re:doh by aprilsound · · Score: 1

      Not explorer. If you try that with explorer, a new explorer window will open, but it will have the same rights as the normal account. It's because explorer is ALWAYS open as the default shell, so the current process just spawns a new window. (you can change the shell and then get elevated rights, but how many people change shells?)

      The problem is that it's damned near impossible to change even the simplest of system settings from the command line, you HAVE to open control panel in explorer.

    34. Re:doh by IntlHarvester · · Score: 1

      Hmm, it turns out that the excellent Old New thing has an entry on it

      That blog entry is a poor excuse. There's no real reason that FUS has to be tied into the "Welcome" logon screen. Any use of the classic login box (domain or no) prevents FUS from being used.

      --
      Business. Numbers. Money. People. Computer World.
    35. Re:doh by Anonymous Coward · · Score: 0

      The basics are the all singing, all dancing crap of the world, and the first rule is - YOU DON'T TALK about the basics. You must be punished.

      My missions today was to pick a fight with someone who knows the basics.

      Regards,
      FightLUG

    36. Re:doh by Zeneris · · Score: 1

      Most programs need some rights customisation to work correctly, DropMyRights is S**t, because you can't specify a user account. I use Runas to run some less trusted 'server' apps in a restricted customised user acount in XP SP2, but it annoys me that I have to manually type in the user's password everytime, because runas won't accept the password as a command line parameter i.e. a really stupid restriction. What would help is if Microsoft stopped being cretins i.e. fixed Runas, and enabled the Advanced button in the Shortcut tab for non-exe shortcuts (e.g. cmd, bat) so that I could get at the "Run with different credentials" option in the "Advanced properties" dialog!

    37. Re:doh by Foolhardy · · Score: 1
      The best way IMO, on XP Pro is to log on as admin normally but reduce the privileges of exposed programs (like web browsers or email clients). All the stuff that needs admin just to run can get it by default, changing settings is easy because I'm admin by default, but the apps at risk for compromise are made safe.

      Software Restriction Policies, with one registry tweak (don't ask my why it's not standard) will let you set programs (identified by executable path, hash or certificate) to run:
      • Unrestricted
      • Not run at all (regardless of access rights)
      • Be run as if you were a normal user (removing all admin privileges)
      • Run restricted, which is same as normal user but without access to the user's profile and private key store
      • Untrusted, with only the access provided by the Users, Everyone and Authenticated Users groups (guest access only).
      I run IE and Mozilla as restricted, along with anything else I'm exposing to the Internet. If one of them is compromised, they won't have any more privileges than any normal user, even though I'm logged in as an admin.

      Read these two articles for a detailed description. The short version is, first put the text below into a .reg file and execute it (or do it manually)

      Windows Registry Editor Version 5.00
      [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Wi ndows\Safer\CodeIdentifiers]
      "Levels"=dword:00031000

      Add this line if you want to use certificates to identify binaires (slower):
      "AuthenticodeEnabled"=dword:00000001

      Then open the Local Security Policy (in admin tools) find Software Restriction Policies and create a new policy. Now, in the additional rules folder, you can right-click to add new rules based on path, hash or certificate. For example, make %programfiles%\internet explorer restricted (for windows update use a normal explorer window). I dare you to get any malware to install through IE when in this mode (I've tried). Heck, I bet most malware won't even run in Basic User mode.

      Oh, and if you're worried about shatter attacks, don't be: restricted and untrusted modes put the new processes in job objects that prevent them from accessing outside windows.
    38. Re:doh by Hal_Porter · · Score: 1

      If it really bugs you, get a Longhorn beta.

      --
      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;
    39. Re:doh by pla · · Score: 1

      Renaming your administrator account gets you no additional security, only a false sense of one.

      As simple of an improvement as blocking a "casual" attacker from RD'ing in as administrator by testing a few weak passwords, can make all the difference in the world. No, it won't even slow down a truly skilled cracker, but in the case of protecting Joe Sixpack, we want to save them primarily from themselves, including things Mr. S might do without knowing it (such as installing spyware or DRM device drivers on some newer copy protected CDs). Joe doesn't have elite international cyberterrorists out to get him, he just has viral porn popups and the occasional script-kiddie to deal with.


      If you want to secure that account, disable it.

      Not a bad suggestion! Hey, I'll admit, I just didn't think of it. Thus the usefulness of sharing information here on Slashdot.

    40. Re:doh by Anonymous Coward · · Score: 0

      You can run explorer.exe with a separate account, but you first need to make some settings changes on any account you wish to be able to run explorer.exe.

      Start IE as the desired user, enter a local address in the address bar to change the menus to those of Explorer, and choose Tools / Folder Options / View. Check "Launch folder windows in a separate process."

      Its amazing the things that windows can do as long as you change every single default setting :)

    41. Re:doh by Malc · · Score: 1
    42. Re:doh by Henk+Poley · · Score: 1

      Fast User Switching doesn't help if the admin privs are needed to setup some per user settings. You can't really do that on the admin account without tracking what was changed and translating that to the other user, applying it there.

      Of course needing admin rights for per user setup is an error in the particular software, but it's not exactly pushed by Microsoft to make software that behaves correct without admin rights.

  5. 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 Anonymous Coward · · Score: 1, Interesting

      Huh? Apple didn't do this... BSD did. Lets give credit where it is due.

      And... No, I am not new here....

    2. Re:Cluelessness at Microsoft by Anonymous Coward · · Score: 0

      Those who do not understand Unix are condemned to reinvent it, poorly.
      -- Henry Spencer

    3. Re:Cluelessness at Microsoft by tricorn · · Score: 1

      Apple still doesn't get it quite right, which is to create an administrator account AND a "normal" user account (and, what's really annoying to me is, if you don't create the first user with a (short) name of "admin", you can't create one later, as the group "admin" makes the account creation tool not let you add a user with that name). They do tell you that you can add an administrator account, and then turn off your administrator privileges, but most people aren't going to ever think about that.

      About the only thing that being an Administrator (which pretty much is equivalent to adding you to group "admin") gets you is R/W access to the Applications directory. Although this is a real problem (and unnecessary - the newer versions of the Finder let you authenticate if you want to modify a directory you don't normally have access to), at least for any other privileged operation you still have to enter an administrator password (even if you are an administrator).

      And, the only thing I've seen break when running as a non-admin is Microsoft's Office Test Drive (haven't tried the full thing). It only works if it is installed as an administrator AND run as an administrator, giving obscure error messages if you do it in any other combination. It was so bad that my Mom, who was seriously considering buying Office for Mac decided that Appleworks was good enough (after having purchased numerous "upgrades" of Office for PC, which she then found out she couldn't use on a new computer because it had been installed over an OEM version of Office on the old computer which couldn't be installed on the new one, etc. etc. etc. which is how I eventually talked her into using a Mac).

    4. Re:Cluelessness at Microsoft by badriram · · Score: 1

      Oh please, apple got it right because they dropped directed OS9 support, and had it only in a virtual machine.

      Most applications I use work just fine as a non-admin. Saying MS implementation is flawed is stupid, because it WAS flawed, and it is correct now. So your claims that MS is flawed now is well stupid.

      When you run as a regular user, and launch a setup, most installers bring up a runas box. All i wish is that Windows app builders would test their applications on lua before shipping, and yes part of that can be blamed on MS, but most of that is still on the developer.

    5. 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..

    6. Re:Cluelessness at Microsoft by Bastian · · Score: 1

      (Forgive me if I get this entirely wrong; I don't use Windows much.)

      I thought that there were some major Microsoft programs, such as VisualStudio, that expect to be run as Administrator.

    7. Re:Cluelessness at Microsoft by IntlHarvester · · Score: 1

      There are, but Visual Studio is not one of them.
      http://msdn.microsoft.com/library/en-us/vsintro7/h tml/vxoriInstallationSetup.asp

      The issue used to be poorly-written Win9x programs. The issue now is mainly copy-protection or anti-cheat systems.

      --
      Business. Numbers. Money. People. Computer World.
    8. Re:Cluelessness at Microsoft by Uerige · · Score: 1

      ...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.

      How about mapping the global keys to private keys? If only someone paid me for those brilliant ideas I have all the time!

    9. Re:Cluelessness at Microsoft by Planesdragon · · Score: 1, Insightful

      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.

      Try installing some of Microsoft's software in Windows, as Administrator, and then log in as a user and see if you can use it.

      You'll be able to use it just fine. Perfectly well. Exactly as if you were logged in as an Admin, save you'll have a few files you can't update or change.

      The problem with Windows isn't Microsoft, it's everybody else. The folks who wrote that cat care program didn't bother to read up on the software-side changes, and so they do things like storing user-editable information in the registry, keeping documents in the program's subfolder, or just generally writing horrible software.

      As an easy fix for crappy software, btw, is to install it into a folder such as c:\insecure\ or somesuch, and allow everyone to have full access to that folder. Usually fixes the problem with running as guest, and less likley to bork windows itself.

      FWIW, though, yes, MS messed up on the fix for these things. There SHOULD be a log kept of programs that didn't run, including the files they accessed and who tried to run them. A small administrator program that can set permissions for all of those would be a boon, too.

    10. Re:Cluelessness at Microsoft by Anonymous Coward · · Score: 0

      And... No, I am not new here....

      Yes, you are. Anyone that's been here a while knows that if Apple does something, that's because they invented it.

    11. 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)

    12. Re:Cluelessness at Microsoft by Malc · · Score: 1

      It will run as a non-admin user though. Which is the object of this discussion, yes?

    13. 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).

    14. Re:Cluelessness at Microsoft by Stauf · · Score: 1

      This isn't really an issue. Firefox will not run as the most limited use in Windows because the most limited user does not have write access to very much in the %homepath%. Which is specifically what the '"Protect my computer" min privileges' are all about - letting you run software and making sure it cannot write to or change anything important.

  6. 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 Anonymous Coward · · Score: 0

      Buy them a new machine (or a console), disconnected from network. Be sure to include that in windows TCO.

    3. 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.

    4. Re:Tell that to the developers by Anonymous Coward · · Score: 0

      just make a batch script and execute runas with the /savecred switch

    5. 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. Re:Tell that to the developers by Gyarados · · Score: 1
      There is no mechanism for temporarily granting administrator privileges to a certain application

      Doy! I forgot about Run as. Though, sometimes that option is disabled.

    7. Re:Tell that to the developers by Cerberus7 · · Score: 1
      I have encountered similar problems, but I came up with the following that fixed all of my game play problems. Some other software is another story, but here:

      Create a directory off the root of C: and give all users full rights to it. I named it "Game Files." Do all of your game installs into this directory. You'll still need to run the install as admin, but from then on, all unpriveledged users can run the games in there without any problems.

      --
      I don't know about you, but my servers run on the power of cotton candy and happy thoughts. -Anonymous Coward
    8. Re:Tell that to the developers by packetl0ss · · Score: 1

      But, how would that increase security? If you allow all users to write to a folder that limited users would be running executables in, you allow the potential for one user's infection to spread to other user accounts when they run the same game from that same folder.

    9. Re:Tell that to the developers by JohanV · · Score: 1

      Say what you want about sloppy developers developing sloppy applications for a sloppy OS and crappy users, but there is some thruth in it.

      Why is it that the PostgreSQL developers can make a program that not only works perfectly without Administrator Privileges, but outright refuses to start under any account that has Administrator Privileges? (If you want to start a non-service PostgreSQL while logged in as Administrator you actually have to use runas to start it under a normal account.) It is because they brought their Unix mindset to the Windows platform and didn't buckle when people called it inconvenient. They did the right thing, and instead of removing the restriction they wrote a better that takes care of creating an account for you.

      Why can't a lame ass game or crappy financial software run as a normal user, when a complete DBMS can? Because the developers don't care, and lusers continue to buy junk.

    10. Re:Tell that to the developers by Keebler71 · · Score: 1

      Good idea, but unfortunately I have XP Home edition and you can't assign user rights like you can in Pro (at least not any easy way that I have found yet...)

      --
      "It takes considerable knowledge just to realize the extent of your own ignorance." - Thomas Sowell
    11. Re:Tell that to the developers by jawtheshark · · Score: 1
      I have been trough there problems to. Still all my family members do run restricted accounts. It's usually just a thing of setting up the ACLs right. I mean, it's not the end of the world to set the directory of some game User-writeable. Just don't do it on the whole Program Files directory. Same thing with game related subtrees in the registry.

      In Win NT, Win 2000 qnd Win XP Pro setting the ACL's is easy. With XP Home, I was in for more of a challenge. It is still possible with the command line tool called "cacls" (change ACLs). My brother is an avid gamer, but he is a "Restricted User" on his machine. All of his games work perfectly, but only after I set the approritate ACLs on his XP Home machine. It's a shame they removed the security settings from the GUI in XP Home :-(
      Often such problems are also fixed in patches for the games. For example: The Sims 2 doesn't work without Admin provileges and it says so on the box. Since so many people complained, they patched that problem and it works correctly with the patch.
      Nobody except me knows the Admin password, and that is the way how it should be.

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    12. Re:Tell that to the developers by CableModemSniper · · Score: 1

      Aha. So chmod g+w is a value-added feature? Stupid Windows.

      --
      Why not fork?
    13. Re:Tell that to the developers by Anonymous Coward · · Score: 1, Insightful

      From the microsoft site:

      RESOLUTION
      To resolve this behavior, contact the software manufacturer to ask about a version of the program that is designed for Windows XP.

      That will scare the companies, they'll just tell you to run it as admin (or run as), why would such a company invest say $1000 to change the program as it can easily get some supportfee, for giving this advise, or to

      1. build a program
      2. forget about security
      3. charge for support
      4. ...
      5. profit

      I never run as lua under xp though, my mother is the only user on my pc which has a lua, (but then again, she'll blame herself that she can't do something)

      WORKAROUND
      To work around this behavior, you can grant Administrative access to individual programs by using the following steps:
      1. Right-click the program's file name or shortcut.
      2. Click Advanced, click Run with different credentials, and then click OK.
      3. Start the program.
      4. When you receive a prompt, enter an administrative user ID and password.


      yeah of course, no one in their right minds will go for such a sollution, if the default is set to admin.

    14. Re:Tell that to the developers by dragonman97 · · Score: 1

      I've never tried this on XP Home, but I've done it on a Dell consumer targetted build of XP Pro. Go into Explorer's "Folder Options" (sorry, I'm at home, working on my Linux & Mac boxen - XP's already a distant memory...that I'll revisit at work again tomorrrow). At the bottom of the list of options (the 3rd tab, IIRC), there is a choice "Use Simple File Sharing." Uncheck that box, and you'll have full ACLs again.

    15. Re:Tell that to the developers by dragonman97 · · Score: 1

      As some of the replies to your post will indicate, careful setting of permission for some of these shoddily coded apps will let you run them as non-admin users. NOT true for Palm Desktop, though. If anyone can tell me how to do this for the latest version, I'd be quite grateful. I told one of my users that he simply couldn't run it, as we do not give admin rights, and the new version doesn't run with permission tweaking. The old one could be installed as follows: Make the user an admin; install as that user; take the user back to non-admin status; give the user "Full control" over the folder. I spent nearly an hour on the phone with Palm tech. support in India trying to get an answer out of them, pausing for the script-reader to ask his boss questions, and got the answer that it simply can't be done. I've tried everything that I could think of, observing the interactions with Regmon & NTFilMon, to no avail. What really gets me is that these companies advertise their products as being "Designed for Windows 2000/XP" - if this were the case, they would have been designed for proper user rights!

    16. Re:Tell that to the developers by Anonymous Coward · · Score: 0
      Windows XP Home user here. The command line is the way to go to expose some of XP Pro's features. Try using cacls with an NTFS filesystem. Maybe a
      cacls "Game Directory" /t /e /g username:f
      might do the trick. Also look into creating a seperate Games group with
      net localgroup Games /add
      Next, add users to the group with
      net localgroup Games username /add
      Then adjust filesystem permissions with cacls as necessary.
    17. Re:Tell that to the developers by Tony+Hoyle · · Score: 1

      That option doesn't exist in XP Home.

      To set permissions in XP Home you must boot into safe mode.

    18. Re:Tell that to the developers by Anonymous Coward · · Score: 0

      True story: A company developed a program from my University, when I called them that I want to install that in the University lab, but it doesn't work under restricted user they told me: "we were not told that working under restricted user is a requirement".

    19. Re:Tell that to the developers by colinrichardday · · Score: 1

      But can an application invoke runas? Is there a Windows analog to setuid?

    20. Re:Tell that to the developers by Rick+and+Roll · · Score: 1
      Say what you want about sloppy developers developing sloppy applications for a sloppy OS and crappy users, but there is some thruth in it.

      From the Tao of Programming, section 1.1:

      If the Tao is great, then the operating system is great. If the operating system is great, then the compiler is great. If the compiler is greater, then the applications is great. The user is pleased and there is harmony in the world.

    21. Re:Tell that to the developers by extra88 · · Score: 1

      It would have been helpful if you included the Palm Desktop version number with which you're having trouble. The most recent version I've used, Palm 4.1 SP3 (looks like it was released in April '03), still only requires the user to be an admin during installation. It looks like 4.1.4 (April '04) is the newest downloadable version (some Palms, like the LifeDrive and the T5, don't have a downloadable version of their software).

    22. Re:Tell that to the developers by grolschie · · Score: 1

      Add Microsoft Office 2000 to that list! Certain features such as Organizational Chart won't run unless you are admin. Org Chart which tries to create files in C:\Windows. We have created a work around though... a dirty hack really.

    23. Re:Tell that to the developers by NaDrew · · Score: 1
      To set permissions in XP Home you must boot into safe mode.

      CACLS works just fine in XP Home.
      --
      Vista:XPSP2::ME:98SE
  7. 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 mccalli · · Score: 1
      There are numerous games that cannot be installed without admin rights, and plenty who cannot even be EXECUTED without admin rights.

      For execution I agree with you, but for installation I'd expect it to be impossible to install without admin rights.

      Cheers,
      Ian

    4. 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

    5. Re:It's also ignored by developers by ebuck · · Score: 1

      Although I agree that developers could exert more effort to make their software LUA friendly, note that most developers code to "common" standards. These standards, whether written or culturally imposed, are what people (including clients) expect.

      As a developer, if I want to code for LUA, I need to make sure that all of my dependant libraries are LUA friendly. Not a hard job for the likely system libraries, but next to imposbbile for most popular 3rd party libraries. Resons differ from case to case, but I can't sell a solution to the common company if it requires heavy reworking of the host OS. Things get worse much more quickly when considering installation issues and broad platform compatibility.

      Now if Microsoft had actually bothered to make security more than an advertisement priority, we would all be forced to start at LUA and then add in various permissions as necessary. Unfortunately, last I checked you can't even tie an executable to launch at startup (basic requirement for always on software) using LUA.

    6. Re:It's also ignored by developers by domipheus · · Score: 1

      punkbuster anti-cheat software (Quake3, battlefield2, loads more) is what needs the admin account in these games, and for good reason - cheat detection is so hard these days they need direct low level access to areas on the os and driver layer, unavailable on lower accounts, afaik.

    7. Re:It's also ignored by developers by Anonymous Coward · · Score: 0
      For execution I agree with you, but for installation I'd expect it to be impossible to install without admin rights.

      Why should installation require admin rights? I can install most software on my Linux and Solaris boxes without root access. Software that runs setuid usually has to be installed by root, but otherwise no problem.

      If I set my son up with a limited rights account, I don't see why he shouldn't be able to install the new game he bought without admin access. I would like to set him him up as a limited rights user and not give him admin access at all. He's a bright kid and I trust him, but he's also a child and shows poor judgement on occasion. If he has to login as admin to install a game, its possible he'll make a mistake and read some email or check out a URL or whatever at the same time and end up with some idiot malware. As it stands I reformat and reinstall his machine every few months. The point of limiter rights account is to avoid that pain.

    8. Re:It's also ignored by developers by ocelotbob · · Score: 1

      Only if the program is crap will it require administrator access. Well-written programs should be able to be installed to the home directory of the user with no problems.

      --

      Marxism is the opiate of dumbasses

    9. Re:It's also ignored by developers by Bodero · · Score: 1

      Exactly. My company laptop arrived without admin access. I thought it'd be fine, since I didn't really plan on installing anything.

      Well, then it came time to take company training tests. They're based in Flash, and Flash couldn't install without admin access.

      Then I tried to install a printer. No go on that one.

      I ended up having to install VNC (since Remote Assistance was disabled) and have a tech install it as well, and connect to my computer to put in the admin password and grant me access.

    10. 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.
    11. Re:It's also ignored by developers by sqlrob · · Score: 1

      Nope. You can actually install ActiveX controls as non-admin if they are written correctly. It just installs for the current user.

    12. Re:It's also ignored by developers by surprise_audit · · Score: 1

      My kids have a few games that don't run without the install CD in the CD drive - copy protection, I guess, as it means you can't "borrow" someone else's CD. This method only works if the user is an Administrator, or "RunAs" maybe. I'd rather not let my kids have admin mode, so I went out and found a cracked copy of the game binary. I still have the original install disks, but they're safely put away where they won't get sticky, dusty or scratched.

    13. Re:It's also ignored by developers by Anonymous Coward · · Score: 0

      Why should installation require admin rights?

      Because software installation is an administrative function, moron.

      I can install most software on my Linux and Solaris boxes without root access.

      No, you can copy it to your home directory, you can't install it. (Installation implies system-wide access.)

    14. Re:It's also ignored by developers by Red+Alastor · · Score: 1
      punkbuster anti-cheat software (Quake3, battlefield2, loads more) is what needs the admin account in these games, and for good reason - cheat detection is so hard these days they need direct low level access to areas on the os and driver layer, unavailable on lower accounts, afaik.

      Then explain me why I can install America's Army on Linux with punkbuster in my home directory with no root priviledge ?

      --
      Slashdot anagrams to "Sad Sloth"
    15. Re:It's also ignored by developers by Merdalors · · Score: 1
      You obviously haven't mated :o)

      Parents want to be able to control what the kids install on the family PC. I don't want my kids installing every piece of junk they download from the Internet.

      I want to restrict the installation of new software to the Admin account (me).

      I agree that it is unacceptable that software not execute without Admin privilege.

      --
      Slashdot entertains. Windows pays the mortgage.
    16. 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'.
    17. Re:It's also ignored by developers by Taladar · · Score: 1

      That is simply bullshit. All punkbuster should need to do is checking all system level routines used by the game (running in LUA) wether they work exactly as advertised. Everything the game can use in LUA, Punkbuster can check in LUA.

    18. Re:It's also ignored by developers by Almost-Retired · · Score: 1

      For execution I agree with you, but for installation I'd expect it to be impossible to install without admin rights.

      With all due respect, thats BS pure and simple. The installer should be fully capable of installing the program in the users $HOME directory, and the program should be capable of running from that location, useing the system calls it needs to do its thing. And the program should be configurable by that user.

      Ideally there should be a common location to install user programs that is not connected to the admin stuff, and whose individual user launch icons should contain the path to the configuration info that user has setup.

      Unforch, convincing the average windows user to go thru all that is going to be hard, and is only going to become easy when the installer takes cares of all that transparently by making each user install his own copy of the program, which if it finds its already installed, only sets up the links and configration for that user.

      NT started off headed in the right direction, but I haven't been forced to deal with a windows box of any kind more than a few hours since I retired in 2001. So how much of this is doable in todays windows version I have no idea.

      This senior citizen/geek has been exclusively linux here at home since 1997 when I retired my coco3, with an amiga in the middle. The term Geek is advisable I think, even at 70, I'm currently running a home built kernel version 2.6.12-RT-V0.7.50-22, with an uptime at 10:48:05 up 1 day, 18 min, 5 users, load average: 4.14, 3.47, 3.24. Not very good uptime but I just rebooted to it yesterday.

      Bleeding edge? Ubetcha... Old fart? Yup, guilty as charged.

      --
      Cheers, Gene
      "There are four boxes to be used in defense of liberty:
      soap, ballot, jury, and ammo. Please use in that order."
      -Ed Howdershelt (Author)
      99.35% setiathome rank, not too shabby for a WV hillbilly

    19. Re:It's also ignored by developers by mccalli · · Score: 1
      This senior citizen/geek has been exclusively linux here at home since 1997

      Damned newbies get everywhere. I started on Slackware 0.9 I think, 1995'ish. :-)

      Cheers,
      Ian

    20. Re:It's also ignored by developers by francium+de+neobie · · Score: 1
      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.


      You can change the default /usr/local prefix by configure most of the time. If that doesn't work, you can always hack the Makefile such that the prefix points within your $HOME.
    21. Re:It's also ignored by developers by GlassUser · · Score: 1

      Ideally there should be a common location to install user programs that is not connected to the admin stuff, and whose individual user launch icons should contain the path to the configuration info that user has setup.
      Well, actually there is, but nobody bothers to use it.

    22. Re:It's also ignored by developers by Anonymous Coward · · Score: 0

      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.

      Such as? The Mozilla suite is pretty complex and it runs fine non-admin. Same, if not more so, for MS's Visual Studio 2005. Games even seem to run ok until you try to save, most of them still want to store saved games under their program directory.

      Of course, I'm running Windows 2000, maybe they made it worse...

    23. Re:It's also ignored by developers by Almost-Retired · · Score: 1

      So I'm just an upstart then? I ran a coco3, then an amiga thru the early 90's. But I'm still an old fart... Oh, well :-)

      --
      Cheers, Gene
      "There are four boxes to be used in defense of liberty:
      soap, ballot, jury, and ammo. Please use in that order."
      -Ed Howdershelt (Author)
      99.35% setiathome rank, not too shabby for a WV hillbilly

    24. Re:It's also ignored by developers by Almost-Retired · · Score: 1

      Well, that just goes to show how lacking I am in recent windows experience.

      Is it so broken that its not workable, or is it developer lethargy?

      --
      Cheers, Gene
      "There are four boxes to be used in defense of liberty:
      soap, ballot, jury, and ammo. Please use in that order."
      -Ed Howdershelt (Author)
      99.35% setiathome rank, not too shabby for a WV hillbilly

    25. Re:It's also ignored by developers by mccalli · · Score: 1
      A coco3 is out of my league, so I must admit ultimate defeat. My path started in 1982, Spectrum->C64->Atari ST->Mac LC->assorted PCs->OS X. With some BBC, Amiga and Solaris use inbetween.

      I'm 33, but trust me - listening to some of the comments made on Slashdot I often feel in my seventies anyway. Someone told me 4Gig wasn't a lot of disk space to leave empty recently...

      Cheers,
      Ian

    26. Re:It's also ignored by developers by Cyberax · · Score: 1

      No, you can't (without LOTS of problems).

      ActiveX is a DLL COM server, each COM server exports 'DllRegisterServer' function - system calls this function to initiate registration.

      Typical implementation of DllRegisterServer uses standard function RegisterTypeLib, but RegisterTypeLib requires admin rights (or more exactly, it requires access to HKCR).

      It's possible to add neccessary keys manually to HKCU hierarchy, but this process is poorly documented.

      You can try it yourself: run "regsvr32 any_ocx_file.ocx" under a regular user. You'll get error message.

    27. Re:It's also ignored by developers by Tony+Hoyle · · Score: 1

      Even system software will install on Unix just as a normal user.

      You might have to tweak LD_LIBRARY_PATH for the more complex stuff but it's really not that hard.

      (I find OSX a bit frustrating... their directory as app paradigm only extends as far as the finder, so if you're writing a command line app you can't make a self contained package for it. So nearly perfect, yet so far...).

    28. Re:It's also ignored by developers by sqlrob · · Score: 1

      Hence my "if they're written correctly". The product I work on looks to see what level it's running at and registers itself appropriately. You can call regsvr32 from any user level on it, from Guest on up.

      You can also remap HKCR/HKCU before calling DllRegisterServer or RegisterTypeLib in the library itself, although regsvr32 doesn't do this.

      If you use wizard generated code, no, it won't register a limited user. If you understand the system, it's easy.

    29. Re:It's also ignored by developers by Anonymous Coward · · Score: 0

      ./configure --prefix=~/something

    30. Re:It's also ignored by developers by GlassUser · · Score: 1

      Well, that just goes to show how lacking I am in recent windows experience.

      Is it so broken that its not workable, or is it developer lethargy?

      Developer idiocy, really. For an example of how this works, get any of the MS powertoys for windows xp. You get the choice to install it for just you, or for everyone on the computer (making the public property ALLUSERS 1 or 2).

      Obviously a user couldn't do something like installing a service, but most installs don't need to make system-wide changes to work.

    31. Re:It's also ignored by developers by Anonymous Coward · · Score: 0

      That one usually has to be done as a super-user, as it installs into common areas.

      That's like saying a hammer will usually hit your thumb when nailing. Its only because you told it too, it doesn't have to be that way.

    32. Re:It's also ignored by developers by colinrichardday · · Score: 1

      So if have an executable in /home/day/bin (day is my user account), then it isn't installed?

    33. Re:It's also ignored by developers by Cyberax · · Score: 1

      Try to do it yourself. You'll get 0x80040200 error code, because regsvr32 just loads your OCX, uses GetProcAddres to obtain DllRegisterServer entry point and calls it (that's why regsvr32.exe is just 12kb). regsvr32 doesn't attempt to impersonate user, remap registry keys, etc.

      Again, the problem is in DllRegisterServer. Standard way to implement this function (via RegisterTypeLib) is incorrect, and there is no sane way to write it correctly.

      Moreover, lots of programms rely on default layout of registry keys, so even if you correctly register your control in HKCU\Software\Classes, lots of software just bwon't see it (Delphi, some VisualStudio utilities, etc.)

    34. Re:It's also ignored by developers by Jugalator · · Score: 1

      What, doesn't a normal user account has access to its own HKCR branch!?

      Jeez, that's insanely stupid if true.

      Read-only access to HKLM I can understand, but HKCR??

      --
      Beware: In C++, your friends can see your privates!
    35. Re:It's also ignored by developers by sqlrob · · Score: 1
      Standard way to implement this function (via RegisterTypeLib) is incorrect, and there is no sane way to write it correctly.
      RegOverridePredefKey(...);
      RegisterTypeLib(...);
      Programs that don't see the alternate areas are buggy and not doing what they are supposed to.
    36. Re:It's also ignored by developers by Cyberax · · Score: 1

      Yes, and it will nicely break CoCreateInstance and over COM functions. RegisterTypelib performs a lookup of linked typelibs, this lookup uses CoCreateInstance to instantiate ITypeLib helper objects. So this method WILL fail for complex TLBs.

      The only correct method I know is to extract registry keys which are modified by RegisterTypeLib, export them to .reg file, retarget it to point to HKCU\Software\Classes and use this .reg file instead of RegisterTypeLib. BTW, this approach is used in http://sourceforge.net/projects/wix/ (see tallow.exe utility).

    37. Re:It's also ignored by developers by Almost-Retired · · Score: 1

      Humph. Power toys for me usually make loud noises and throw things called bullets, with the push coming from H414 or Pyrodex RS, or maybe Pyrodex P occasionally. :-)

      Back to reality, there is no M$ os product installed here, anyplace. And I don't feel very limited. For instance, I shot the wedding of the oldest girl next door about a month ago on my firewire equipt Sony Hi8 digital movie camera. I imported the roughly 20 minutes of it using kino on this box, edited out the worst of the old farts camera shakes and exported it as an mpeg2, then a few minutes to have a k3b related program turn it into an .iso I could burn to a cd as a video cd file. It played in my region and macrovision free Apex dvd player, so I made 3 more copies and gave it to the kids, who, along with the parents on both sides, were quite profuse in their thanks. And I didn't need windoze to do any of it.

      IMO, folks who say that linux is not ready for the desktop on the users machine are simply unwilling to try something new, like tradeing a ford in on a chevy I guess.

      I went cruising the net looking for decent cursive style fonts last year, found me some nice ones, then made our christmas cards using the current then version of OOo. Every recipient we gave one to wanted to know what photo processor did them. Sorry, one 4 year old Olympus C3020 3.2 meg digital camera, an install of the gimp to crop the shot artisticly, loaded the shot up in OOo, added the greetings text & fed it to my ageing epson C82 printer, which was all I needed. I'll do it again this year when I get a more recent shot of the 2 of us.

      I repeat, who the hell needs windows? I sure don't.

      --
      Cheers, Gene
      "There are four boxes to be used in defense of liberty:
      soap, ballot, jury, and ammo. Please use in that order."
      -Ed Howdershelt (Author)
      99.35% setiathome rank, not too shabby for a WV hillbilly

    38. Re:It's also ignored by developers by domipheus · · Score: 1

      because we're talking about poor windows LUA? christ, you should of seen that coming. from punkbuster site: Why does PunkBuster now require players to run the game as an administrator under WinXP/2K? Because some cheats/hacks cannot be detected otherwise.

    39. Re:It's also ignored by developers by domipheus · · Score: 1

      I call your bullshit, read the punkbuster faq before trolling.

    40. Re:It's also ignored by developers by paologat · · Score: 1
      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.
      ./configure --prefix=/my/sandbox usually does the trick. It doesn't even require editing the Makefile by hand.
    41. Re:It's also ignored by developers by Anonymous Coward · · Score: 0

      There are numerous games that cannot be installed without admin rights [..] All because the devs are lazy morons.

      If you find a way of installing the latest DirectX 9.0c runtime - which includes things like an updated video API that runs in the OS kernel, and most definitely writes into the Windows directory - without being an administrator, please let me know.

      FYI, DirectX is the first thing that most Windows games need to make sure is up-to-date on installing. You cannot rely on users manually keeping their own system updated (mostly because they don't).

    42. Re:It's also ignored by developers by glitch23 · · Score: 0

      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.

      True, however there are 2 points to mention concerning that: 1. in Unix/Linux you can use sudo or su to just temporarily gain root privileges while runsas in windows isn't as flexible but could probably provide the same functionality and 2. during your 'configure' step you can modify the installation location so that the applications don't get put into /usr but /home/ instead.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    43. Re:It's also ignored by developers by Hosiah · · Score: 1
      That one usually has to be done as a super-user,

      And I'll add my comment to the babble: (a) Big deal, type "su" and the password just for that step. (b) *Ahem* What's wrong with requiring root to install software? This also stops viruses from writing to your boot sector, you know. This stops all *sorts* of things from going wrong. And if you install a program in your home directory, then run it from there as that user and attempt to do something malicious to the system outside your home directory, guess what, the priveledges apply to any programs you run, too!

    44. Re:It's also ignored by developers by Anonymous Coward · · Score: 0
    45. Re:It's also ignored by developers by Cyberax · · Score: 1

      Normal user has a private HKCU\Software\Classes branch, but almost none of software uses it. For example, my machine has only 11 classes registerd there (and 7865 classes in HKCR).

      There's no absolutely correct procedure for registering LUA COM servers, so LUA COM servers are non-existant.

  8. That person acts like.... by Anonymous Coward · · Score: 1, Insightful

    your programs will still function when you run on a account without administrator priveledges. Wake me up when m9crosoft's own programs work properly under a user account.

    administrators accounts should only be used for administrating the o/s, unofurtunately many windows software don't play ball forcing windows users to run under admin accounts. If the tech savvy didn't need to do this maybe they might start advocating the general masses to do the same. Until ms lifts their act this isnt going to change any time soon.

    ~Kalinga

  9. Non-admin Wiki! by sandstorming · · Score: 5, Informative

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

    1. Re:Non-admin Wiki! by Zeneris · · Score: 1

      This RunAs-like program, mentioned on the site, looks useful http://www.joeware.net/win/free/tools/cpau.htm Thanks!

  10. type correction by Anonymous Coward · · Score: 0

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

  11. 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.
  12. 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.

    1. Re:Windows' fault by tyresyas · · Score: 1

      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. You can't enoforce policies on a superuser account, else it's not a superuser account.

    2. Re:Windows' fault by Hosiah · · Score: 1
      Bash: Segmentation fault: "MS" & "educating" found in same sentence.

      Core Dump......................done.

    3. Re:Windows' fault by jmp_nyc · · Score: 1

      Restricting an admin user's ability to use a web browser might be counter-productive. When I'm helping out with setup of a machine, logged in as admin, sometimes I want to go to a webpage to quickly download some bit of freeware that will make life on that machine more bearable. The easiest way to do this is to download it through a web browser. (Yes, I can download via ftp, but I'm likely to use a browser to look up an ftp site that'll have whatever I'm looking for.) It's just too bad that IE is a security hole unto itself... -JMP

  13. 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.

    1. Re:Too many broken apps by Anonymous Coward · · Score: 0

      Believe it or not, but some of us actually like having save games stored in the same folder as the game it self. I don't like having all sorts of data stored in My Documents, mostly because I try to keep all my data on one partition (D:) and Windows on another (C:). This is particularly important when using Ghost.

    2. Re:Too many broken apps by sqlrob · · Score: 1

      So move My Documents to D. Big deal.

      You can do it with registry changes, there may even be easier mechanisms.

    3. Re:Too many broken apps by BackInIraq · · Score: 1

      Even World of Warcraft is just as bad, all the profiles are stored in a subdirectory in the C:\Program Files\World of Warcraft\!

      Even under OSX (where use of the home directory for each user is generally encouraged), Warcraft III puts it's save information under /Applications/Warcraft III. Can't say for WoW, but I imagine it's the same. Guess they didn't bother to change that when they ported it.

    4. Re:Too many broken apps by Lukey+Boy · · Score: 1
  14. RE: by evil_marty · · Score: 1

    thats because windows doesnt default the user's account to the limited user account. duh.

    most people dont even know how to create accounts or that their are different account types.

  15. No kidding by flyonthewall · · Score: 1

    When most of the software (caveat... that I use anyway) running on XP will not run in user mode, is it no wonder that this is happening?

    Heck, some programs will not even run with elevated privs (run as...) no matter what you do.

    In the end, it is much easier to just have the systems in priv mode and monitor it to ensure it remains clean.

    --
    "The avalanche has already started. It's too late for the pebbles to vote." - Kosh
  16. Whoa. by Musteval · · Score: 1

    So you're telling me that not all Windows users do all they can to prevent unauthorized access and such?

    IMPOSSIBLE!

    --
    Note to mods: I'm probably being sarcastic.
  17. In an ideal system.. by Anonymous Coward · · Score: 0

    The non-admin account on Windows is fine and dandy, but in a real environment where people need different tools to get the job done and are allowed to install software to accomplish their daily tasks - things get a whole lot more complicated.

    Sure, giving someone a laptop with 5 programs and the ability to do absolutely nothing will secure your system, but this kind of setup is very limited and will eventually cause a lot of support issues due to users being unable to install browser plugins, updates to existing software and even device drivers (for those handy enough to actually know what they're doing).

  18. 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
  19. 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.

    1. Re:Sad state of affairs by marcosdumay · · Score: 1

      It is a matter of education, I, for instance, am educating my parents into running Linux. Once I am done, the problem won't exist anymore...

  20. 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.

  21. Why no one uses it by Salo2112 · · Score: 0, Redundant

    How many times has anyone else set up an app for a user, had problems, contacted tech support only to find out the app MUST be run as admin? So then you end up with a hodge-podge of some apps running as admin, some not, different permissions all over the drive...a mess that is not easy to maintain.

  22. 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 Anonymous Coward · · Score: 0

      It is a very good idea to create a backup admin account in case the main one becomes unusable for some reason (losing password being one). Also, a way to boot the system in admin mode from the beginning with for example the Longhorn CD in your drive would allow to save some situations, and would NOT be a breach of security (it is possible to read an NTFS partition when booting with a Linux CD anyway, and when you own the hardware, you own the data, unless properly encrypted, which is unaffected by the fact you can log in as admin then)

    2. 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/
    3. Re:Longhorn should implement these by IntlHarvester · · Score: 1

      Unfortunately, the headline of that article is totally misleading. Windows already has "Unix-like" user permissions, they just usually ignored.

      The big problem is that existing Windows/Unix security systems were designed for multi-user timesharing machines, and the root|user divide just doen't really work that well on a single-user personal computer. On a personal desktop, rights should be assigned based on What the program does, rather than Who is running it. And it sounds like that's direction Longhorn is going in.

      For example, Kazaa should have no rights to install a browser plug-in, but the Java installer should have that right. Having a root/admin account doesn't solve this problem -- the whole system has to be rethought. The question is how you can do it without having a million popups and settings dialogs that the user would just defeat (see Windows ACLs).

      --
      Business. Numbers. Money. People. Computer World.
  23. There are reasons it's ignored by chjones · · Score: 1

    The reasons users are "ignoring" it are at least twofold.

    There's the old standby of making it harder to do some things (which is the point) as an unprivileged user. To be honest, I'm okay with that; it's the reason for being unprivileged in the first place. My significant other's Windows XP account is set up as a "Limited Account", and she has no problems using it to check email, run Firefox and MS Money, and so forth.

    The biggest issue, however, is that's it's not the default for new accounts, and that it's actually difficult to make some accounts "Limited". I'd be perfectly happy running my own account as a "Limited account" everyday and using a tool like those mentioned in the FA for installing or doing other tasks as a "Computer administrator". When I try to change my account in the Windows XP User Accounts tool, however, the option of a "Limited account" is unavailable, and instead I get the message:

    You must assign another user on this computer with a computer administrator account before you can change this user's account type. This ensures that there is always at least one user with a computer administrator account on this computer.

    That's all well and good, but I haven't changed the default Administrator account. There are ways around this, but I've lost interest---perhaps Microsoft can see why people are "ignoring" this option?

    --

    Christian Jones
    Medicine. Mathematics. Mediocrity.

    1. Re:There are reasons it's ignored by 0123456 · · Score: 1

      "My significant other's Windows XP account is set up as a "Limited Account", and she has no problems using it to check email, run Firefox and MS Money, and so forth."

      That's odd. I tried setting up a similar account for my girlfriend and she had no problem running Mozilla... except that it was impossible to view anything on the Internet because the DSL dialer _REQUIRES ADMINISTRATOR PRIVILEDGES TO CONNECT_.

      So you're right: for a few people running a few specific simple applications, you can manage with a non-admin account. But most people need to run at least one program which requires admin, and it's far too much hassle to try to make an OS with a totally broken user model work properly.

  24. Poor power users? by ImaLamer · · Score: 1

    I use XP Home on a PC and have found that the "limited" account too limited to even do things like play games (which read from the CD-ROM). After two days of trying to find ways to allow the limited users access to the CD-ROM I gave up all together and made all of the accounts 'administrators' again.

    Defeats the purpose. Upgrading to XP Pro isn't an option because that costs too much money (YMMV). When I first used Linux, I found it easier to allow and restrict access to devices and files. In Linux it was more straight forward (E.g. deny write access and no one can burn a CD - and once you understand groups you can customize any users rights pretty easily). Of course, with Windows 2000 it is pretty straight forward but the functionality/setup in XP is pretty much hidden or not there. And there is not a lot of home users with 2000 installed.

    Yeah, it's sad that when setting up a new computer for a friend I had to make her kids (12, 14) administrators. If I hadn't there would be no way they could really take advantage of the computer as they install more software than anyone else.

    1. Re:Poor power users? by jerw134 · · Score: 1

      with Windows 2000 it is pretty straight forward but the functionality/setup in XP is pretty much hidden or not there.

      Correction: The functionality in XP Home is not there. XP Pro has the same functionality as 2000, and then some.

  25. Because it's a pita by Lispy · · Score: 1

    Honestly. Up until Windows XP working inside windows without admin options was a constant annoyance.

    Even now it's not really comfortable. It's not that the users wouldn't care. It's just barely useable.

    Since Windows needs lot of maintenance throughout it's silent decay until reinstallation, most users feel they are better of working as admin right away. :) What adds to it is that windows really lowered the bar on "advanced options". Stuff like hiding c:\Program Files per default makes every newbie feel like a powerful admin since he gets the concept of driveletters.

    Furthermore it is not obvious that even professionals should work as normal users as best practice. And windows setup doesn't really help much with a smoke and mirrors way of creating users and rights.

    1. Re:Because it's a pita by value_added · · Score: 1

      And windows setup doesn't really help much with a smoke and mirrors way of creating users and rights.

      The thing I've always found bizarre is that for a user to "own" his/her files, a GPO needs to be set (running secpol.msc and clickity-clicking your way through Local Policies, Security Options, System Objects, and then changing "Default owner for objects created by members of the Administrators group" to "Object creator" instead of "Administrators group".) But that's just for XP systems. And for folks who know WTF secpol.msc is used for. Windows 2000, on the other hand, won't give you ownership of your own files unless you take them back manually for each file.

  26. NEWSFLASH: Not all users are geeks by Anonymous Coward · · Score: 0

    This may come as a surprise to many but, the vast majority of computer users do in fact treat their computers like appliances.

    In the non-geek world computers are not worshipped. The fact that these non-geeks do not know and do not want to know about non admin accounts is not "sad" in my view. You shouldn't need to know how to fix your car in order to drive it.

  27. 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?

    1. Re:Most software can't install without admin privs by cduffy · · Score: 1

      It's not a problem at all -- it's a feature, not a bug.

      If you're running a business with an IT department, or even have a household machine that you're responsible for fixing when someone breaks it, do you want unprivileged users to be able to install software, except for in their own accounts' space?

  28. 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 gregorio · · Score: 1, Insightful
      Whenever I wanted to change/install something, a nice prompty would come up asking for my password to give it the proper priviliges.
      That's non-security. 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.
    2. Re:Reminds me of Red Hat... by marcosdumay · · Score: 1

      "That's non-security. 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."

      Except when n == 1 or n == 2 (most of the tmes, n is much lower than 1)! You don't need to install programs or change system settings so often on Linux. Also, all the programs that ask for the root password are located on the same menu (or 2 menus) with a name like "setings" and have the clear goal of modifying the system configurations.

    3. 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.
    4. Re:Reminds me of Red Hat... by IntlHarvester · · Score: 1

      This is only because Linux incompatibilities have forced their users into a single source for nearly all their software. If it were easy to produce an RPM that worked everywhere, there would be a lot more opportunity for users to type their password.

      Remember that most malware gets installed through social engineering. A MacOS X user sees "Install this cool screensaver", and he will happly provide whatever privs necessary because he wants the screensaver -- Unix or no.

      --
      Business. Numbers. Money. People. Computer World.
    5. Re:Reminds me of Red Hat... by gregorio · · Score: 1
      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.
      It is not about the power to elevate priviledges, but about avoing the transformation of critical stuff into routine.
      On OSX, I get prompted about once a month for the admin password, and it's usually when I run Software Update.
      Well, that's your kind of user activity.
      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.
      If Joe user were simply browsing the web, looking for a nice and fun bunny card game, he is obviously going to type the password when OS X asks him if he wants to install "funny game 2.0 (with spyware)". Why? "The computer guy told me to type this password when I want to change sumthin'". A sane code-signing list with pre-approved companies would be nice.
    6. Re:Reminds me of Red Hat... by gregorio · · Score: 1

      You don't need to install programs or change system settings so often on Linux.

      That's because you don't have a large non-centralized software base. With non-geek users wanting to run every single kind of Funny Card Game.

    7. Re:Reminds me of Red Hat... by ink · · Score: 1
      Does Joe User redline his car and then wonder why the engine siezed? Does Joe User turn on the lawn irrigation and leave it on 24x7 and wonder why the basement is flooded? Does Joe User plug a heirchical tree structure of power strips together and then wonder why a breaker tripped (or worse)?

      I'm sure that thare are some people that do all the above, but most humans are intelligent enough to learn not to do that. The same can be expected in the computing world. The hopeless cases will always underperform, to their detriment; the rest will learn and survive without problems.

      --
      The wheel is turning, but the hamster is dead.
  29. 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.

  30. 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.
  31. 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

    1. Re:Not a fault by drsmithy · · Score: 1
      The Mac, for example, won't let you put stuff into the Applications folder unless you can supply an administrative password.

      This statement gets bandied around a lot, but it is not true. If a user is an "admin", they can copy things into /Applications (amongst other places) without needing to authenticate.

      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.

      No, it isn't. The fault lies with the developers. Windows NT has been multiuser since 1993. All versions of Windows since Windows 98 have had the necessary APIs, registry features, filesystem layout, etc to allow developers to write their apps to contain user preferences, saved files, etc to the right places. So for ~7 years now developers have had an _in production_ version of Windows to target "multiuser friendly" applications at.

      There is no excuse today for Windows developers to be routinely writing applications that require Administrator access. None.

    2. Re:Not a fault by mccalli · · Score: 1
      >>The Mac, for example, won't let you put stuff into the Applications folder unless you can supply an administrative password.
      >This statement gets bandied around a lot, but it is not true. If a user is an "admin", they can copy things into /Applications (amongst other places) without needing to authenticate.

      ie. If they have already authenticated themselves to be an admin of that machine...

      Cheers,
      Ian

    3. Re:Not a fault by l3v1 · · Score: 1

      Bzzt, wrong. Fault of the design. In *nix you can compile an app and 1). run it from there, 2). install it somewhere where you have write access (e.g. /usr/local/) and you're done. Hell, one can install an entire system with chroot and some wit. For all this, no root privileges are required. In Windows what you got ? 99.999% of applications won't install unless they can write to undesired places (windows, program files, unwriteable registry areas, etc.) so you must be admin to install and frequently even to successfully run them. Also, there are many MS applications which also can't be run as non-admin. If they can't lead the way, why would they expect others to do so ?

      --
      I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
    4. Re:Not a fault by drsmithy · · Score: 1
      ie. If they have already authenticated themselves to be an admin of that machine...

      By that reasoning it's identical to Windows.

  32. I tried this for a day... by RyuuzakiTetsuya · · Score: 1

    I reinstalled Win2k on my main workstation and tried to live with out admin priviledges.

    that lasted for about... a day.

    Logging in and out of 2k just to do maintenence sucked ass in ways that can't be described.

    Even though WinXP has a "Run As..." option, I'm hesitant to take it up on it's offer in fear it'll break something else.

    --
    Non impediti ratione cogitationus.
    1. 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!

    2. Re:I tried this for a day... by drsmithy · · Score: 1
      Logging in and out of 2k just to do maintenence sucked ass in ways that can't be described.

      "Run as".

      Even though WinXP has a "Run As..." option, I'm hesitant to take it up on it's offer in fear it'll break something else.

      Don't be. It works. I've been using NT as a regular user for ~9 years now.

    3. Re:I tried this for a day... by arturov · · Score: 1

      I've noticed many people saying that Auotcad won't run without admin rights. As an undergraduate, I had a regular user account in an NT domain with which I could run Autocad all day long. How is it that our IT department could set up Autocad properly and nobody else can?

      Also, I propose we call these new Macs with Intel hardware MacIntels. It rolls off the tongue a bit better.

    4. Re:I tried this for a day... by hacker · · Score: 1
      "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 :)."

      Coming? Its already been here for 2-3 or more years. I've been happily running OSX on my Thinkpad + every Windows version released (need them for testing and such), with Linux as my host OS.

      I would never run VMware under Windows to run ANYTHING, because the host operating system's memory management and hardware/driver support is horrible, compared to Linux (as a host).

      Windows2000, XP, 2003 and Longhorn betas run SIGNIFICANTLY faster under VMware run on a Linux host than they do natively on the bare metal itself. Seriously, it flies.

      PearPC running OSX is a bit of a dog, but its easily tuned to be manageable. I have an ageing G3 (running Tiger from my ADC account) in the basement rack that is faster than PearPC, and I use that for my primary work on OSX over vnc or ssh. PearPC is just not useful for actual development on my 2.1Ghz Thinkpad.

      So all of the tools you require already exist, if you want to use them. As for running OSX binaries "natively" on Linux or Windows, that won't happen... probably ever, since they're keyed to the OS which is keyed to the LaGrande features in the new Intel processors that Apple is going ot be using.

      Just pick your poison, there are literally dozens of options.

    5. Re:I tried this for a day... by Anonymous Coward · · Score: 0

      I don't disagree that is can be done today (PearPC), but I'm talking about running both Windows (or Linux :) and OS X _natively_ together on the same hardware. No emulation (always slower). Each OS unaware that the other is running. The way it should be.

      and no, I would have NO interest in VMware _under_ Windows. Windows, if run, should always run under something else. Period. :)

  33. common sense vs. good pratice? by KingPunk · · Score: 0

    "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."

    ok, is it just me or do you need Admin to do every damn little thing on the windows platform?
    to install MSN Messenger, you need to be Admin
    - how much more stupid can it get? atleast in any *nix os, you have a revloutionary 'new' concept (see: sarchasm) called userspace.
    so why doesn't MicroSoft know about the appeal of a userspace where it doesn't take admin to do EVERYTHING?

    --kingpunk

  34. Summary by macshit · · Score: 1

    "... Windows today, and that's just a sad reality."

    --
    We live, as we dream -- alone....
  35. 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.

    2. Re:It's Intentional by eno2001 · · Score: 1

      Hehehe. Actually, I'm a Linux guy who knows a good deal about Windows. My friend got the hardware firewall before SP2 was out. When he did install SP2 based on my advice, he complained about the warning dialogs that pop up when applications first execute that MS doesn't consider safe. I told him it was a lot like the free firewall he had in Windows 98 (Can't remember the name now, it was the one endorse by Gibson Research). He groaned and then proceeded to work with the dialogs for each program that he wanted to run.

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    3. Re:It's Intentional by TrekkieGod · · Score: 1
      Actually, I'm a Linux guy who knows a good deal about Windows.

      Gotcha. When I replied to you, I wasn't sure if by "end users need full privs on their boxes," you meant that they need it in Windows or that they need it in general. Thus I replied to let anyone who might be confused about it that there are systems that do work without giving end users full priveleges. As it turns out you already know that, but hopefully I was able to clear it up for others.

      For what it's worth, I agree with you that, in Windows, you just can't have a limited privileges account. As someone who likes to occasionally play games, I dual boot and share your friend's frustrations. Seems like every security feature Microsoft implements is intended to confuse the heck out of the end-user. The limited privileges account don't let them do anything. The firewall is good, but that same feature I talked about in my earlier post also has issues (when it pops up for java programs, it suggests putting 'javaw' in the exceptions list--allowing a clueless user to open the firewall to ALL java programs). The NX protection breaks some old programs, and the exception list for NX doesn't seem to work for the programs I tried, so I had to disable it completely. Even with NX disabled completely, the mobile device emulator that comes with the Microsoft mobile SDK doesn't work, even though the knowledge base tells me it should with it disabled. They need to get their act together.

      Sorry for the rambling, but you sounded like you'd understand given your background :)

      --

      Warning: Opinions known to be heavily biased.

  36. 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 grumling · · Score: 1
      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.

      Yep. Can't set the clock, but I can shut down the system!

      --
      "Well, good luck finding a judge that doesn't run a bestiality site."
    2. 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).

    3. Re:Some reasons... by Anonymous Coward · · Score: 0
      Privilege escalation bugs aren't exactly common.

      They're common in the Unix world. They're not missing from Windows; they're just not worthy of comment. As everyone here agrees, most people are running as Admin. What's higher than that? There's no need to exploit a privilege admin bug when you already have admin. Once people start using "LUA Security", these bugs will show up.

    4. Re:Some reasons... by toddestan · · Score: 1

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

      It depends on how the computer is set up. By default, a Windows user account can do all kinds of mostly harmless stuff like changing the resolution. But I've seen Windows locked down to the point where the user couldn't. I've even had to use Windows that was locked down so hard I couldn't even access the Display Properties window. Which meant, much to my annoyance, that I couldn't even turn off the default Fisher Price Windows XP theme. Ugh.

    5. Re:Some reasons... by miffo.swe · · Score: 1

      The reason you dont see many priviledge bugs from the Windows world is that Microsoft has their hands full of remote exploits. Rest assured that local exploits in Windows is more common than in linux because of the integrated applications in Windows.

      --
      HTTP/1.1 400
    6. Re:Some reasons... by drsmithy · · Score: 1
      It depends on how the computer is set up.

      No, it doesn't. "You need to be admin to change screen resolution in Windows" and "you can restrict users from not changing the screen resolution" are two *very* different statements. The one I responded to was the first, which is incorrect.

    7. Re:Some reasons... by Anonymous Coward · · Score: 0

      Dude, that's what I said. Reading comprehension...

  37. 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
    1. Re:Win XP Is An Ugly Kludge by Dominatus · · Score: 1

      "Win XP saw the culimnation of MS' effort to integrate Win95/98/ME with some of the benefits of NT,"

      You have it backwards. WinXP was MS's effort to integrate NT with some of the benefits of Win9x. XP is built off Win2k, hell, it essentially is Win2k with a theme engine. I'll never understand why people like to imply there's a enormous difference between the two.

      Even MS doesn't call XP a major upgrade if you look at the versioning. Win2K is NT 5.0, WinXP is NT 5.1. Longhorn, however, is NT 6.0

    2. Re:Win XP Is An Ugly Kludge by Quirk · · Score: 1
      "WinXP was MS's effort to integrate NT with some of the benefits of Win9x. XP is built off Win2k, hell, it essentially is Win2k with a theme engine... ...WinXP is NT 5.1"

      You're right, but nominally, to the end user, WinXP is the Windows OS, it is the successor to the Win9x line, and, in presenting it as the de facto choice, they have made assumptions that screw their user base. My dad, for instance, a career Naval Officer/pilot, has run a PC since Win95, he's now upgraded his and my mom's PC to WinXP pro (he's the kinda guy that believes you should buy the top of the line), but he has no idea of what Admin privledges mean, or that he should run a limited user account. MS forcing the choice to WinXP should have defaulted to a secure setup, and/or, a must see interactive tutorial that tried to ensure point and click users understood basic security in terms of the merger of Win9x technology with NT.

      Also, I don't see how MS is going to push Windows into a market dominated by dual core technology, multiprocessors box without running afoul of their existing pricing structure.

      The intent of my post was to profile my user history as one that, while raised on a wintel platform, has seen a divergence wherein MS can serve as a multimedia/webbox, but is better left behind when chosing an OS for the upcoming dual core, multiprocessor workstations.

      --
      "Academicians are more likely to share each other's toothbrush than each other's nomenclature."
      Cohen
    3. Re:Win XP Is An Ugly Kludge by Anonymous Coward · · Score: 0

      "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."

      1. Stop thinking A is better than B because idiots on /. like myself said so. Get your own opinion.
      2. So did you like how all your devices DIDN'T work on W2K but work in XP?
      3. Moving to *BSD? But how will you watch pR0n???

      You bore me.

  38. non-Admin? unuseable, to say the least by Anonymous Coward · · Score: 0

    I tried to do that for my son's computer. 98% games will not install withour "root". And if you install them as Admin, 90% will not run from a different user :((((
    They have this joke, called "run as", but I wish they had "chmod +s" as well (or maybe they do? couldn't find it in 15 sec)

  39. Re:NEWSFLASH: Not all users are geeks by Anonymous Coward · · Score: 0

    No, but you shouldn't be allowed to drive without taking a driving test.

  40. Single User Boxes? by pjwhite · · Score: 1

    So, how many people really have machines that have multiple users, anyway? I don't see why I should set up a non-admin account on a Windows XP box that only I use.

    By the way, I'm constantly frustrated by my new Windows XP machine that won't let me do what would be normal tasks under Windows 98, even as the administrator (running legacy programs that need access to the parallel port, for example).

  41. Allow both admin and non-admin install by MarkByers · · Score: 1

    It is not a fault that software requires administrator rights to install into the default location (c:\Program Files on Windows, or /usr/bin on Linux), but it is a problem when you cannot even install and run it from your own home directory without entering the administrator password. This makes it impossible to run software without giving it full control of your machine.

    --
    I'll probably be modded down for this...
  42. tried it by LinuxRulz · · Score: 1

    Well, I still have winXP on my box for social reasons (Lan Party). When I set up the system I created 2 users: root and non-admin. The thing is it's a lot of trouble for almost nothing. Personnally, I prefer the unix way of doing tasks as admin (su in a console and exit when it's over) rather than the "run as admin" way. That way was painfull and not confortable, so the non-admin user was dropped.

  43. Pass this whole issue in reverend silence please. by bohemian_observer · · Score: 0

    This "opt" out feature made millions to some ppl. It is well known thing for PC security ppl.

  44. 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;
    1. Re:Acronymtastic! by sconeu · · Score: 1

      Excuse me, sir. Seeing as how the V.P. is such a V.I.P., shouldn't we keep the P.C. on the Q.T.? 'Cause if it leaks to the V.C. he could end up M.I.A., and then we'd all be put out in K.P.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    2. Re:Acronymtastic! by Anonymous Coward · · Score: 0

      Or you could just read the Definitions page :)

  45. What about OSX users? by nurb432 · · Score: 1

    Seems they dont have a problem, as it *defaults* to secure.

    Apple also tries to speak to the *user*, not 'yet another IT support person'.

    --
    ---- Booth was a patriot ----
  46. Create the mindset by mbowles · · Score: 1

    Most users don't know, understand or care about user accounts. They just want to use the machine to surf the web, check their e-mail, maybe play some games, dink with their photo albums and the like.

    They don't understand the need for user accounts and privileges and how that relates to their machines not being breeding gounds for all of the malicious annoyances so prevalent on the web today.

    The Windows account management interface is irrelevant until the majority of users know why they need to use it and then want to.

  47. The funny thing is by Xian97 · · Score: 1

    I had to make the 4 yr old a power user to run the educational programs she uses from such manufacturers as Jumpstart, Knowledge Adventure, and others.

    On the other hand, my 17 year old is a limited user and everything he plays will work ok with that setup. Sometimes I have had to grant permissions to the program directory or on a couple even the registry key in the hive, but I don't know of a single game we haven't been able to get working that way, and he plays most of the current ones such as World of Warcraft, HL2, Doom 3, and many others. WoW requred granting him access to the program directory and the registry key so he could apply the updates but he still runs it under his basic user account.

    I thought it funny that the 4 year old has more rights than the 17 year old, but that is the only way I could get her programs to run.

  48. 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 drsquare · · Score: 1

      It's not just Windows either. When using Linux I often have to run as root to install software or change simple system settings. I think the whole 'admin/normal user' paridigm isn't very useful. A computer should just be a tool, you shouldn't need to know several passwords and a security system just to run a computer, write e-mails and letters and install some applications now and again. Computers (both hardware and software) are made from the prospective of geeks who like to play with the technical aspects, and as a result they're needlessly complex for what they do.

    2. Re:closer still... by Progman3K · · Score: 1

      I agree with your general statement, but security is a fact.

      For example, you have a key to operate your car, so no one else can take it without your consent.

      You have locks on your home, so no one can come in and rob you.

      You have implicit security on your phone; you can only make long-distance calls billable to your number from that same number.

      Your banking card has a P.I.N.

      etc...

      Lots of simple devices have security built into them.

      --
      I don't know the meaning of the word 'don't' - J
    3. 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.

    4. 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.
    5. Re:closer still... by hunterx11 · · Score: 1

      I'd rather my computer not be a tool for virus writers.

      --
      English is easier said than done.
    6. Re:closer still... by Peaceful_Patriot · · Score: 1

      I agree 100%. I have 2 teenage daughters which use a Win2K box. I have set up thier accounts with restricted privliges since day 1. They complained at first, but it has protected the machine from malware nasties completely.

      If they want to install software, no problem. Lets take a quick look at the EULA. This makes a great opportunity to teach them about hidden 'gotchas' in the software. They know now to scan the EULA for sections like 'Third Party Software' which must disclose what crap is going in with that cool screensaver or game.

      This has worked great for my family for several years and I when I help friends set up new family computers, I always explain what the admin account is for and how to use it. I believe it is the single most effective practice for keeping nasties off your machine.

      --
      There is nothing so powerful as an idea whose time has come.
    7. Re:closer still... by LoadWB · · Score: 1

      Case in point, QuickBooks 2005 has required that all of my customers run it in Administrator mode. I tried Power User, but even that failed.

      Like you, I have several sites in which the users require Administrative access to the desktops because of software which does not follow Microsoft's best practices for software development (admittedly, Office 2000 first-run and even SBS2003 application installation fail this) which have been documented in MSDN for several years.

      (Side rant on SBS2003 APPLAUNCH: I can push applications to a workstation, but the user cannot run the application installations and the APPLAUNCH utility won't run in a Remote Desktop session... so I have to make a physical appearance which costs my clients more, and costs me available time. Of course, I might be missing something. GPs are nice, especially since you can have MSI run at elevated priveleges. Why doesn't APPLAUNCH do this? Blah.)

      Administratively, it's a headache. But since I am contract IT for these sites, it's money in my pocket every time a user ignores company policy and installs a free screen saver.

      Balance, Daniel-San!

    8. Re:closer still... by X0563511 · · Score: 1

      One of my biggest annoyances is that I have to explicitly allow user modification to the programs folder, and usually a couple of other spots. "Documents and Settings" exists for a reason. I wish more windows devs would use it. I know that if I use programs ported from *nix, THEY use it (and I love it).

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    9. Re:closer still... by HouseOfMisterE · · Score: 1

      Maybe someone has already mentioned this further down in the comments, but in linux you can "su" to root and install software without logging the current user out. In Windows, you have to log out as the non-privileged user, log in as administrator, install the software, log back out and then in again as the non-privileged user, and then hope that the software will work without having to fuxxor with it (as administrator). Maybe WinXP's "switch user" helps in this situation, but I find it to be half-@$$ed and haven't really used it that much.

    10. Re:closer still... by cicadia · · Score: 1
      Actually, Windows' "Run As" feature is closest to su -- right-click on the program, select "Run As...", pich the Administrator user, enter the password, and run the program. Like a one-shot su.

      (Not sure which versions of Windows enable this feature though; it's just something I've seen around)

      --
      Living better through chemicals
    11. Re:closer still... by niteice · · Score: 1
      Like a one-shot su.

      Perhaps you mean...sudo?
      --
      ROMANES EUNT DOMUS
    12. Re:closer still... by Woody77 · · Score: 1

      When they change the namespace conventions ever service-pack and release for apps that need access to shared memory blocks, MS doesn't make it easy at all.

      We ended up writing a sizeable helper library just to make sure that our apps could properly exchange data via shared memory on about 6 different configurations of windows. Win 2K, Win XP with fast user switching and with domain security (with and without SP1 or two), and Win2k3 server.

      It wasn't exactly fun. Especially when the daemon app was started by a service, and a client app was started by a user.

      The security model's never really been coherent, and it's a continually moving target for developers to keep up with MS's bastardization of the API. Or rather, the API doesn't change, but they change the naming conventions for shared objects so that they fall into the appropriate security contexts.

    13. Re:closer still... by Woody77 · · Score: 1

      I like how OSX lets me run as a user, and then when it needs to do something as root, asks me for the password automatically. It's a wonderful approach to the problem. I know that it's now trying to do something as root, and I have a point where I can sit and think, "Is that ok?"

    14. Re:closer still... by glitch23 · · Score: 0

      As of last year, my experience with Rational's Requisite Pro required at least Power User membership due to it needing to do something with the registry when a user started it up. I would have thought a big company like Rational wouldn't do that but maybe I'm dreaming.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    15. Re:closer still... by cicadia · · Score: 1
      No, more like su -c.

      Windows requires you to know the password of the user you are running the program as, rather than using your own password, and it lets you run any application, rather than having a list of acceptable commands for each user.

      --
      Living better through chemicals
    16. Re:closer still... by GenSolo · · Score: 1

      I think you've missed the point. The point is that a non-admin user can't install any software in their own space. Virtually all software is installed globally. The point is that some software requires administrative access to run because it makes excessive use of restricted areas of the registry. The point is that in a properly-designed system, normal users can only break their stuff, no matter what they do, but they're free to work in their own space however they like.

    17. Re:closer still... by drakken33 · · Score: 1

      Sorry but I think you missed the point. The parent to my post was talking about Linux and I was replying specifically to that. I don't use Windows (much anyway) and so can't comment on it. Sorry if it wasn't clear.

      --
      Andy.
    18. Re:closer still... by Lord+Kestrel · · Score: 1

      What is annoying is how many games these days require you to run them as administrator. Some of them will allow you to run them as admin while logged into your normal non-privileged account, but a few of them simply will not run unless the logged on account is admin.

      PunkBuster is another annoying app that requires admin rights. Why they can't just make the damn thing a service I don't know, but any PunkBuster enabled game requires the logged on user to be administrator.

  49. 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.
    1. Re:This is not too hard to figure out by fermion · · Score: 1

      In all the comments, i did not see any that addresses the issue of the name. I mean MS has the one of the greatest marketing department on the planet, and yet the chose 'least privilidged'. I mean who wants to be least. I want to be the most. So why not the most secure account. Or the Best user account. Or the Highest Karma Account. I know that they can't go with anything as plain or discriptive as 'Root' and 'User', or even defining what the user needs, as a continium, but they could have come up with a better name. If they realy wanted to.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    2. Re:This is not too hard to figure out by bigberk · · Score: 1

      That is interesting... they could call the account type "high security" account. Then people will think, yeah I'm nervous about identity theft and terrorism, I want a high security account!

  50. Nice of Microsoft to say that.... by Fred+Or+Alive · · Score: 1

    But IIRC when I installed Windows XP Pro on my PC, the installer only created one (visible) account by default. An administrator / superuser account, for my personal use. Very secure Microsoft. (I'm stupid enough to be using it of course, although I'd like to think I'm geeky enough to be safe).

    The Mac OS X approach is better IMO. You can't actually create a true Super User account (and the UNIX root account is disabled), at least not without *nix hackery. Instead the default account created is an Administrator account, which can only do SU type things if the user inputs their password (in the GUI) or uses the sudo command in the Terminal. (AFAIK you can also to SU type things from normal accounts, if you enter a admin account username / password in the appropriate dialogs). Of course that doesn't really add much security, I'm sure if a malicous program wanted SU powers, most people would happily enter their password, it's a pretty standard thing to do if you're installing software or running Software Update.

    Of course as other people have noted, quite a lot of Windows programmes aren't multi-user safe, whereas Mac OS X ones are, seeing as they had to be partly rewritten anyway for OS X. Perhaps what Microsoft really need to do is set Longhorn up so it doesn't install with a Superuser account as the default, and implement some sort of Mac OS X style ability for programmes to easily get SU powers when needed (during installation and that's it for most stuff). Of course programmes would break, but Microsoft now seem a bit less shy at breaking programs in the name of security, and they could add some sort of extra compatability option to run as SU for older programmes.

    --
    10 PRINT "LOOK AROUND YOU ";
    20 GOTO 10
  51. Prioritizing access by spitefowl · · Score: 1

    I work for a major company in the test engineer group. We have to install/uninstall/modify software on a regular basis, and because of this we each have our normal domain login(which is locked down) but we're also assigned an admin account to do these tasks under. This is completely understandable because of the type of work we do. But on a machine(not on a domain), at home, with one primary user, there's little incentive for the average user to have two accounts. I doubt most windows users even know about the RunAs feature. I guess the question is will the average user trade convienence for security? The majority of those I've met haven't and I doubt they ever will.

    1. Re:Prioritizing access by spitefowl · · Score: 1

      Oops, I didn't finish. For the home user, perhaps there should be more default account types setup, beyond "User" and "Administrator", etc. Or perhaps there should be some documentation during the install that notifies you that you'll need your administrator password for certain tasks, then when the task you have no access to is needed, it will simply prompt you for the administrator password(not 'YOu do not have permission, please type in $localcomputer/user and password). Anything else will probably confuse the average user. If not that perhaps there should be an easy install setting that gives you choices of things that can be changed with your current user and things that cannot. .. That thought is where my topic came from. That's what you get for posting before thinking!

  52. EVER GO TO THE PUBLIC LIBRARY??? by akuma624 · · Score: 1

    Man their systems are (kind of) locked down with the lower-privileged Win accounts. This article really doesn't make a lot sense because I seem to notice quite quickly when I'm working on a WIN box under an other than admin account - how about you??

    --
    ... if music be fruit of love, play on ....
  53. Make it actually *work* with LUA by cheros · · Score: 1

    Compare the ease of use of a standard Linux logon in, say, KDE and the way that interacts with root level with the mess that you get with a low privilege account under Windows and it doesn't surprise me nobody uses it.

    You can let your granny loose on KDE with little instruction, to set her up as LUE under Windows would invoke such a barrage of support calls it would be a simply insane choice.

    I guess it's another one for the "Gut the facts" campaign..

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
  54. Unix was never designed with security in mind by Anonymous Coward · · Score: 0

    In a 1979 document titled On the Security of UNIX, Dennis Ritchie wrote:

    "The first fact to face is that UNIX was not developed with security, in any realistic sense, in mind; this fact alone guarantees a vast number of holes."

    1. 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!
  55. I don't need "least privilige user" by iamacat · · Score: 1

    It's my computer, I can do whatever I want with it. Interactive confirmation is not really "less privilege". What is needed these days is "least privilege software", where each process runs in the most restricted sandbox that allows it to do its job and permissions can be granted interactively when needed. Ideally, each program will by default only have access to its own document directory, no network connections, no dangerous UI capabilities and so on.

    By the way, I know full well that's not how existing operating systems work. But perhaps they should.

    1. Re:I don't need "least privilige user" by Al+Dimond · · Score: 1

      Sounds like you want this: http://www.eros-os.org/

      Well, actually I think the people working on this stopped working on it and are working on something else now. But it's called a "capability system" and it's an alternate idea for how to do an operating system that has been around for a long time but never become popular.

  56. As someone once put it by Anonymous Coward · · Score: 0

    Until Microsoft makes it more uncomfortable to run in Admin than it does in User, everyone will run as Admin.

    Currently, run as user, even power-user and youve got a mess of logouts, logging in, ensuring you tick the right boxes in install dialogs, and sometimes things won't even install for all users whatever options you give, so your stuck with only icons in admins start menu and not for users...

    I run as Admin under windows, because it's such a pain in the arse not too.

  57. LUA isn't used because... by salesgeek · · Score: 1

    Tons of software is so poorly written that you can't use it without admin rights. Many software installers don't handle rigts correctly and shell to the right user to install durring the install process.

    LUA is useful in the corporate world, but my dad doesn't want to log in as admin for some things and himself for others.

    Whatever window's equivelent to su or sudo is sucks so badly it's borderline useles, and on top of than... one would think you could right click and "run as user..." on an application like say the installer for the new version of Quicken...

    Windows is so 1990s...

    --
    -- $G
    1. Re:LUA isn't used because... by Anonymous Coward · · Score: 0
      one would think you could right click and "run as user..." on an application like say the installer for the new version of Quicken...
      Um, you can? I just right clicked on a random .exe and there was a Run As... menu option which gave me this dialog.
    2. Re:LUA isn't used because... by Bambi+Dee · · Score: 1

      I don't know if this is the case with Quicken, but some software is distributed as MSI packages, and those aren't .EXEs. You might have to "runas" msiexec.exe on them. This article might help, dunno.

  58. It's not that they don't know... by MadAnthony02 · · Score: 1

    For a while after we rolled out NT where I work, we debated if we should give users admin rights or not. Our decision was that it was easier just to give them admin rights to their workstations than to have them call in every time they want to install a piece of software. It was basic cost-benefit analysis - the time we would spent reimaging the machines that users screwed up was less than the time we would spend logging in as admin and installing software for users.

    There are other reasons as well. like software "pushes" that we do via Novell ZenWorks which need admin rights to install.

  59. From another multiuser POV by 3seas · · Score: 1

    I was trying to set up somethng that another user could log on to my machine with their account and run a simple program to reset something they access on the company network, as my machine is the host of that dongle- we are on a network.

    After much of my time trying to figure out why he couldn't run the program - access denied...even after going thru all the security properties of the programs involved in this reset task I gave it to the company IT guy to try and solve...

    After he basicly went thru all the same motions I did, he finially figured that my co-worker didn't have a local account on my system regardless of being able to log on to his account on the network from my machine.

    I find this rather confusing. My question at this point, is this local account the same or tied to the network account? And does it mean that any system I want to log on to and have ability to run programs require me to have a another local account... (IE, there are three machines I use, do I need 4 accounts and the need to maintain all four separately on some things - though named the same and all????

    as things get smaller:

    All I really need is a flash drive that carries my system on it, with tools I personally purchased, where I plug it into any system I may use in the company. Where company purchased programs are made available on those systems for me to use at those stations specific for such work, and if the network administrator has given me clearance to use them. Of course company own files I my create would be on storage somewhere in teh company network.

    This is plain common sence, its not novel or innovative and certainly not patentable in any sort of way, for it is no different then what I can expect of a company as a bench carpenter having my own personal tool set that I use along with company owned tools for which either the department leads of shop manager determine my access to. And of course any jigging I create for teh company becomes company property in a location of their choice.

    What really pisses me off is the difficulty of being able to use my own tools without having to install them on company systems...And nobody made this a problem except for those with power tripping control freak problems...... FUCK, on teh Amiga a program wasn't really "installed" in such a wide integration of the system and its file structure, but rather installed into its own directory (where ever that may be) and runnable from there.... like today it might be a usb stick...

    Security in computing today is really overcomplicated BS... when it should be more like car keys where you take them with you.

    1. Re:From another multiuser POV by bev_tech_rob · · Score: 1

      On Windows machines attached to a domain, you can have LOCAL admin accounts that do not login to the domain or you can have a DOMAIN account that you can login with, but that DOMAIN account or group still has to be given admin rights explicitly on that box itself. A domain ADMINISTRATOR account doesn't necessarily have administrator priviledges on a given machine. Domain administrator accounts are good for setting up accounts and rights/memberships, resetting passwords...

      --
      You're messin' with my Zen Thing, man.....
  60. differences by user32.ExitWindowsEx · · Score: 1

    with a home user (1 or a few people) windows box, there's usually no *need* to secure the box with different level user accounts...apps and the os can be reloaded, but if the user's data gets hosed, it's gone no matter who they were logged in as. (and data matters far more to the average user than anything else --- and they **more than likely** don't have backups).

    with a *nix box, it's probably multi-user, meaning that application / system integrity is as important as any user's home directory. hence the need for limited accounts...to ensure no one can fuck up anything beyond their home directory.

    --
    "Evil will always triumph because good is dumb." -- Dark Helmet
  61. This is a Sad Reality? by erwejo · · Score: 1

    Like many of the slashdot readers, the last sentence of this post caught my eye: "Most users just don't know they can set up least-privilege accounts in Windows today, and that's just a sad reality."' What a very strange perspective to think of this as a sad reality. For two reason really. First, for someone to be distraught that someone feels this is what is wrong in the world of administration, computer security, or the world as a whole is a bit distorted. The second reason I found this strange is that the fault lies with the user and other administrators for not know this aspect of a software package. Seems that there is a problem with disseminating the information, or as many previous readers have mentioned, there is a problem with the functionality itself. "Sad reality" - no so much. Overlooked tidbit, maybe. Another action item for microsofts training center - most likely.

  62. 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.

    1. Re:I'll just repeat... by Anita+Coney · · Score: 1

      No, they work. I built a computer running W2K for my father in law. He is one of those types that if he gets spam or sees a banner ad talking about "free" software he'll try it. The system was constantly being infected with spyware and other crap. I'd tell him time and time again NOT to download or install anything. I finally got sick of it and locked down his account. He's been completely spyware free for about two years.

      --
      If someone says he and his monkey have nothing to hide, they almost certainly do.
    2. Re:I'll just repeat... by gregorio · · Score: 1
      No, they work. I built a computer running W2K for my father in law. He is one of those types that if he gets spam or sees a banner ad talking about "free" software he'll try it. The system was constantly being infected with spyware and other crap. I'd tell him time and time again NOT to download or install anything. I finally got sick of it and locked down his account. He's been completely spyware free for about two years.
      So what's your idea then? Should Dell ship you (the person the user is going to call - just like your father in law obviously does - each time they need something new) inside each computer box? =]

      I'm asking that because they can't start to sell crippled computers and expect to make a profit each year.

      Anyway, that's not my point. You answered option number one (crippled computer) with an interesting yet case-specific history. My point is about option number two: passwords. If we are going to give a free-to-use as in "my stuff" computer to the user, routine password prompts ate not a good practice.

      Ideas, anyone?
  63. Installer is the cure by zecg · · Score: 1

    The problem here might be Microsoft NOT abusing their monopoly enough. If they were forcing a single installation system for all software (a la Gentoo's Portage), they could transparently modify privileges for all software. "Remember, in order to play games you have to be a member of the 'games' group". And furthermore, make admin not being able to play games or surf the web by default and the users will understand.

    --
    .i lu doi ringos.star. xu do puku'aroroi dunli dopecaku leni virnu li'u
  64. 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.

    1. Re:Poor Apps Make Standard User Impossible by dramaley · · Score: 1

      Have you tried setting filesystem permissions to allow regular users to write to Quicken and NewsBin's respective directories?

      To do this, find the folder and get its properties. Click the Security tab. If you see Authenticated Users, select it. If not, add it, then select it. Under the Allow column, check Modify. Hit Ok. If that doesn't do it, then redo everything but under the Allow column hit Full Control.

      I have a few programs that appear to require administrative access, but once granting access to their directory and the locations in the registry that they need, i've been able to get every program i use to work under a regular account.

      --
      ----- "I'm still sane on three planets and two moons."
  65. Not the Users' Fault by Anonymous Coward · · Score: 0

    The fact of the matters is that this simply is not the fault of the users. Windows XP just really isn't designed around the idea of running in a Limited User Account.

    To begin with, during install, WinXP will create an Administrator account with no password and then have that account automatically log in when you start up the computer. For many users there's never even a realization that you can have more than one account.

    Then there's the fact that you're not allowed to create Limited accounts unless you've already created an Administrator account - the built-in "Administrator" account doesn't count. You need to create another account yourself and give it admin access before WinXP will allow you to create limited accounts.

    Finally, a lot of things simply do not work when you're in a Limited User Account. Many programs (mostly games) still don't save their files to a user-specific directory, meaning that all users need full administrator access to wherever that program decides to save things. A lot of software likes to write to the registry, when other solutions are definitely possible. Web page plug-ins...ActiveX controls...passing video streams off to a player...lots of things just plain don't work when you're in a Limited User Account.

    Is it any wonder that people don't run in Limited mode? Most folks like to actually be able to use the software they've got installed...

  66. Windows' Origins To Blame by udoschuermann · · Score: 1

    Security is an afterthought with Microsoft's stuff. Yes the security capabilities are in place but they're a major hurdle to operability, so for the average user they seem hardly worth using (if the user is even made aware of the capabilities). Microsoft's legacy of offering no security at all (until about five years ago) now requires them to retrain thousands of developers and millions of users who have grown quite accustomed to the way things are. Microsoft has to overcome an enormous(!) momentum of un-security consciousness.

    Unix and its offspring, on the other hand, were built with security in mind from day one (more or less). As a result Unix requires a bit more thought from the user but (as mentioned earlier) Redhat and others have demonstrated quite effectively, IMO, that the machine can ask for elevated privileges when necessary at which point things magically "just work."

    The question now is whether Microsoft gets enough of it right in their next major release to finally bridge that hurdle, and whether they do it in a new and different way from Unix that doesn't help users jump from one O/S to the other.

    --
    --Udo.
  67. Bring Out The Gimp by Anonymous Coward · · Score: 0

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

    I know pretty damn well how to set up this thing. It's easy. A sad reality is, if you are not an admin on a windows machine, you can't do shit except surfing the web and checking mail. Problems installing software, software installed by admin won't run on your account, etc.

    Mod me bitter.

  68. Cellar (Be) Ware by Doc+Ruby · · Score: 1

    When you don't know how to do something that the computer can do, it's "hacking" to figure it out and do it anyway. Practically no one wants to hack - that's what makes geeks special. And especially since the Bubble, all the normals think "hacking" is scary - especially when it's in any way related to security. Microsoft, the greatest social engineering corporation ever, must have some awareness of those realities. They also must therefore have other priorities, like just being able to say they have a "secure mode", even if no one uses it.

    What do we call the opposite of "vaporware": real features that no one ever uses? "Cellarware"?

    --

    --
    make install -not war

  69. Linux IRC by Gary+Destruction · · Score: 1

    Go into a Linux IRC chat session as root and you'll be kicked and receive a message that says,"Don't IRC as root!"

    Go into a Windows IRC chat session as administrator and someone might gain root access.

  70. more trouble than its worth by Anonymous Coward · · Score: 0

    I did a lot of research on this subject while working on a college campus migration to windows xp a few years ago. The non-admin accounts simply broke too many pieces of functionality (particularly in the realm of peripheral access). Power User accounts and "run as" scripts are (like most kludges) just too much for the average user. We ended up giving everyone administrative accounts. Everyone runs as administrator because it works. I don't want to be a windows troll (I happen to like windows), but os x and most linux distros have much better facilities in place to provide administrative access without running as a fully-privileged account. On windows you really have to run as admin or experience a lot of hassle.

  71. LUA is not a cure-all by putko · · Score: 1

    One big problem with Windows is that there are too many local exploits that allow for priviledge escalation. These turn remote exploits into remote, rootable exploits

    This has its roots in Windows's history (e.g. Shatter attack). Microsoft has made some effort to patch up local exploits (e.g. the shatter attacks are fixed -- supposedly), but to the extent that they are there, if people do start using LUA, that's going to get banged on like crazy, and there will be a further slew of exploits.

    Given the problems of running LUA, this will really make people like they're morons: they'll be wearing the hair-shirt of a LUA experience, and then getting bukkake'd(*) with malware anyway.

    Billy's going to have to try it again, with feeling.

    * Bukkake: a Japanese word meaning, "to splash".

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  72. Re:OS X does it this way as well by Whatchamacallit · · Score: 1

    OS X will prompt the user with a login prompt when attempting to do something that needs an Admin account. In OS X root is disabled by default and Admin accounts are used instead. You can sudo only if you are an admin. But everything else prompts with a GUI authentication prompt.

    OS X even provides a more limited account that can be locked down even further which is ideal for KIOSK setups and young children.

  73. Why install at all? by tepples · · Score: 1

    Because software installation is an administrative function, moron [...] (Installation implies system-wide access.)

    Then why should software need to be installed at all in order to run?

    1. Re:Why install at all? by TClevenger · · Score: 1

      Indeed. With disk space and DLL hell what it is nowadays, applications should just be packaged in ready-to-run folders, which you "install" by copying to your "My Programs" folder.

  74. Developers First by mcgroarty · · Score: 1

    Perhaps if companies like HP weren't releasing printer and scanner software that only works as an admin user, things would be better. Ditto if MS didn't make new computer accounts admin by default!

  75. ...the real problem... by XO · · Score: 1

    ...is not that windows users don't know you can do it, it's that most users wouldn't understand why you would want to do it. and neither does most windows software.

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
  76. Can't the user modify HKCU and Start Menu? by tepples · · Score: 1

    last I checked you can't even tie an executable to launch at startup (basic requirement for always on software) using LUA.

    Why not? Doesn't Windows automatically run all programs listed in the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run or in the ...\Start Menu\Programs\Startup folder? Or is a limited user not granted permission to modify her own HKCU and her own Start Menu?

    1. Re:Can't the user modify HKCU and Start Menu? by Tony+Hoyle · · Score: 1

      They are.. in fact Windows does provide a full environment for user-only installs.

      Nobody ever uses them though.

  77. Microsoft is infant in making a multiuser OS by Anonymous Coward · · Score: 0

    The core issue is, that windows is not a multi user OS, and while it is developing into one, on the other hand it fails so many ways.

    The reason programs do not work in restricted mode is that restricted mode did not exist by the time they were written! Most of windows programs are witten with assuming they will run on a single user OS. On XP you can log on as different user while the other users tasks are running: too bad ICQ can only be run one instance. And so on.

    vajk

  78. What about HKCU? by tepples · · Score: 1

    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.

    Other than the restriction on writing to HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT, which restrictions are you talking about? And aren't there equivalents in HKEY_CURRENT_USER for most of the HKLM keys that a typical app's installer needs?

  79. 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.

    1. Re:LUA hahaha.. by myowntrueself · · Score: 1

      "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"

      <facetious>
      Microsofts line might be something along the lines of: "Fonts are a potential vector for viruses and trojans. Should an exploit be found in the font rendering engine may be possible for a malicious, user-installed font to cause damage to your computer. For this reason, only those with administrator accounts should be allowed to install fonts."
      </facetious>

      --
      In the free world the media isn't government run; the government is media run.
  80. Physical access != ownership by tepples · · Score: 1

    Also, a way to boot the system in admin mode from the beginning with for example the Longhorn CD in your drive would allow to save some situations, and would NOT be a breach of security (it is possible to read an NTFS partition when booting with a Linux CD anyway, and when you own the hardware, you own the data, unless properly encrypted, which is unaffected by the fact you can log in as admin then)

    Physical access to a computer and to a CD that contains the same OS that the computer is running do not imply rightful ownership of the computer. For instance, under your scenario (unless I deeply misunderstand it), you could have a Windows CD from your home computer, bring it to work, and use it on a work computer owned by your employer.

    1. Re:Physical access != ownership by Anonymous Coward · · Score: 0

      You can never guard against someone with physical access.

    2. Re:Physical access != ownership by tepples · · Score: 1

      You can never guard against someone with physical access.

      Even with a password on the BIOS setup and a padlock on the case?

  81. Which programs can install as a user? by tepples · · Score: 1

    [If you let other people use a computer that you own,] do you want unprivileged users to be able to install software, except for in their own accounts' space?

    Problem is that too many commercial programs do not have the option to install to a single user's account. Why is there no folder with a name like C:\Documents and Settings\tepples\My Program Files?

  82. 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.

    1. Re:Why LUA didn't work for me by Keeper · · Score: 1

      Whenever you want to start an application as Administrator, right click on the item and select "Run As" from the context menu that appears.

      This doesn't require you to open a command prompt, terminal session, or create a shortcut.

      This is NOT an option available for the control panel, but in reality -- how often do you muck about in the control panel anyway?

    2. Re:Why LUA didn't work for me by Bambi+Dee · · Score: 1

      This is NOT an option available for the control panel, but in reality -- how often do you muck about in the control panel anyway?

      All the time :)

      Just runas into a cmd prompt and type sysdm.cpl or whatever. The control panel applets are all in System32. Alternatively, start an explorer process as Administrator and click your way to the control panel.

      Yes, this could be easier.

    3. Re:Why LUA didn't work for me by JKR · · Score: 1

      Shift-right click on control panel applets gives you a runas menu item for most of them (except networks, infuriatingly enough, which appears to have its own set of ACLS).

      Jon.

    4. Re:Why LUA didn't work for me by SolidGround · · Score: 1

      Hold down Shift before you right-click the control panel section you need and pick 'Run as'.
      Works just fine.

      As an alternative, make sure you have "Launch folder windows in a separate process" checked on the Admin account. If you did that you can start a new instance of explorer that runs under an Admin account. That should allow you to do almost anything you'd ever need to do.
      Just remember that programs you start from it run as Admin and not your LU account.

    5. Re:Why LUA didn't work for me by Zeneris · · Score: 1

      Yes you can do it, but it is an arkward action for an expanded control panel on the start bar and IMHO would get really annoying when you want to make many changes or are hunting for the right applet. BTW it is not always practical to log out or use user switching, due to system/task constraints. The system should (optionally) always prompt you when you attempt to access restricted resources.

    6. Re:Why LUA didn't work for me by supersat · · Score: 1

      Wow. How non-intuitive is that? Thanks for the tip, though.

      Strangely enough, I've never seen Run As in the context menu before today, despite trying to find it. Maybe the shift key triggered some registry change to show it on other items? Maybe I'm just blind.

    7. Re:Why LUA didn't work for me by SolidGround · · Score: 1

      In case you never read it before the non-admin blog has a few tips on reducing the amount of back and forth switching ( http://blogs.msdn.com/aaron_margosis/ ).

      I've been running as non admin for a good while now. There are plenty of hoops to jump through to get some things done and Microsoft has a long way to go still to make the entire thing painless, but it's doable if you're willing.

  83. DSL dialer? by tepples · · Score: 1

    except that it was impossible to view anything on the Internet because the DSL dialer _REQUIRES ADMINISTRATOR PRIVILEDGES TO CONNECT_.

    DSL dialer? I thought one of the benefits of DSL over dial-up networking was that DSL is always on. If the dialer does require a proprietary method to get an IP address, then can't the dialer be set up to run as a service?

    1. Re:DSL dialer? by 0123456 · · Score: 1

      "I thought one of the benefits of DSL over dial-up networking was that DSL is always on."

      It's always on, but not always connected. It only connects the first time I try to access the Internet after logging in.

      "can't the dialer be set up to run as a service?"

      Possibly, but that's something my ISP would have to fix, not my girlfriend.

  84. Phishing? by tepples · · Score: 1

    OS X will prompt the user with a login prompt when attempting to do something that needs an Admin account.

    What prevents a program from spoofing this login prompt and phishing an admin password?

    1. Re:Phishing? by Anonymous Coward · · Score: 0

      The password prompt of OS X is significantly different from other windows.

      For instance, when an authentic password prompt appears, it appears on the top of every window. Also, if you switch to Finder and click Finder > Hide All Others, an authentic prompt will stay on the screen while a false one will be hidden. The password prompt wont also appear if you use Exposé (F9). You can't use the F10 key inside an authentic box... There are plenty of ways like those to check if it is an authentic prompt.

      And what prevents a Windows program from spoofing a login prompt ("Run as...")? The same question applies....

  85. The sad reality is. by llzackll · · Score: 1

    A lot of programs (even some that come with Windows), are not multi-user aware. The sad reality is, it's just not practical with Windows (without a lot of post install admin setup).

    Try this.

    Create a limited account with Windows 2000, or even XP. Log into this limited account, and open up the calculator program that comes with Windows. If it's on standard, change it to scientific, or vice versa. Close the program and reopen it. Voila! Your setting was not changed. This is because calc.exe uses HKLM to store it's settings, when it should be a per user setting. This is just a small example.

    Now, you (as the administrator), could setup permissions in the registry to allow others to change the setting. But anyone who changes their calc will do it for ALL users. Now imagine having to set up these sorts of permissions for other programs you may have installed. This is a LOT of potential administration that may need to be done.

    This is even less practical on Home editions of XP, because, by default, it severely limits what permissions you can set.

  86. They've Made it too Difficult by 00+Agent+Kid · · Score: 1

    I think that the least privileged account would be used far more often if it did not break programs installed by administrators. It would also help if the method of setting users to this level were much easier, not requiring any sort of programming knowledge to accomplish.

    --
    INACTIVE ACCOUNT
  87. 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).

    1. Re:bah, I just ran out of mod points. :( by robpoe · · Score: 1

      What I don't understand is WHY QuickBooks won't run on a Term Server without paying for a special license.

      If you're that worried about multiple users, make a file lock that keeps it from being run multiple times (yes, I know a crashed app can kill that from working properly .. too bad Windows doesn't use PID's as much as *nux).

      You CAN make Quickbooks single user run on a TS .. but it has to be an administrator type user.

      --
      = Grow a brain...
    2. Re:bah, I just ran out of mod points. :( by Anonymous Coward · · Score: 0

      You obviously do not know what you are doing.

      Many of these problems can be worked around by setting filesystem and registry permissions. There is no need to add users to the BS "power user" group or any "Administrator" type group. Figure out what needs to be changed, create a security template for it, and apply it as needed through group policy.

      Better still, tell your vendor that you require this to be fixed immediatly, or you will take your business elsewhere.

      I suggest you read up on how Microsoft software really works. Maybe you'll even stand out instead of being just another arragant and mindless MS drone.

    3. Re:bah, I just ran out of mod points. :( by Anonymous Coward · · Score: 0
      I suggest you read up on how Microsoft software really works.

      It does? Since when?

    4. Re:bah, I just ran out of mod points. :( by Anonymous Coward · · Score: 0

      I have seen several apps that refuse to run except as administrator even if they have the necessary priviliges because they check for administrator access and refuse to run. The only way to make them work would be to learn assembly language and modify the software with a debugger, which is beyond most IT departments, much less a normal person.

    5. Re:bah, I just ran out of mod points. :( by Zaiff+Urgulbunger · · Score: 1

      Wolfenstein... or specifically punk-buster now *requires* administrator access! It used to be possible to just set full access to certain things, but now it requires full admin.

    6. Re:bah, I just ran out of mod points. :( by Anonymous Coward · · Score: 0

      "Arrogant"? This coming from the guy spouting off "you obviously do not know what you are doing"..

      Here's an idea: stop playing armchair sysadmin, and go back to playing with your NT4 "server" in mom's basement.

  88. my other computer is YOUR linux box by dmh20002 · · Score: 1

    Michael Howard wears a t-shirt with this inscription when he gives training on Windows. I saw him at some freebie M$ seminar. He's a good speaker, and overcomes the technical flaws in his presentations with glibness and flair. He spoke about not running as admin, but ignored the issue that many if not most Windows software doesn't work if you are not admin.

  89. Windows doesn't give you the chance. by Anonymous Coward · · Score: 0

    I don't think it's that they "don't know" about the non-admin account, it's probably that they don't want to mess with it.

    Running a non-admin account in Linux is easy. When you need to do some admin work from the non-admin account, you simply type "su" or "sudo" and you are given the opportunity to enter the admin password so you can do the admin work. This keeps you from having to log out of the non-admin account and into the admin account to get the work done.

    In Windows, when you want to do some admin work, you have to log out of the non-admin account and into the admin account to do the work. Then you have to log out of the admin account when the work is done and back into the non-admin account. It's too much trouble because Windows does not give you the opportunity to enter the admin account password when you need to do admin work from a non-admin account.

    Windows doesn't have true accounts anyway. I can log into any account and view/edit/delete the files and folders in other user accounts and Windows doesn't seperate the Start menu across accounts - the "All Users" account is a bad idea and shouldn't be there at all. I logged into a non-admin account yesterday and deleted enough files (fonts, Start menu, etc.) as to make the OS unusable to all users, even the admin.. then I installed Linux :)

    Microsoft has a lot yet to learn and do before the Windows OS is anywhere near being similar (or a threat for that matter) to Linux.

    1. Re:Windows doesn't give you the chance. by Bambi+Dee · · Score: 1

      Yes, it's all sort of cumbersome and there're too many apps that need tweaking to work for non-admins, but it's not that bad.

      In Windows, when you want to do some admin work, you have to log out of the non-admin account and into the admin account to do the work. Then you have to log out of the admin account when the work is done and back into the non-admin account.

      Never tried "runas"? Put a "runas /user:administrator cmd" script in your path and you've got something like a makeshift "su -".

      Windows doesn't have true accounts anyway. I can log into any account and view/edit/delete the files and folders in other user accounts

      I'm not going to reboot into Windows and check now, but I'm more or less convinced this is not possible "here".

      and Windows doesn't seperate the Start menu across accounts

      It does for me. "%USERPROFILE%\Start Menu", or something like that.

      Much of this sounds like you're either using a non-NT Windows, or using one but on FAT32 disks, or your permissions are weird. (They're rather fine-grained, actually; though I don't know about XP Home.)

    2. Re:Windows doesn't give you the chance. by Anonymous Coward · · Score: 0

      "Much of this sounds like you're either using a non-NT Windows, or using one but on FAT32 disks"
      ...this was also true for installations wich were upgraded (converted) from FAT32 to NTFS... I've seen it on Compaq's W2K preloads and om early IBM ThinkPad preloads...

  90. Not just isolated to Windows... by zerofoo · · Score: 1, Insightful

    I can tell you how many Macs running OS X i've seen with people logged in as essentially "root". Sure OS X prompts you for an admin password when critical things happen, but everyone I've seen blindly enters the root password. Most times, the user does not even read the dialog box.

    The "least privileges" problem happens on all operating systems....most users of personal computers want to be "root". Until users become more security savvy, this will be a problem on all systems.

    -ted

    1. Re:Not just isolated to Windows... by k2r · · Score: 1

      Well, you usually aren't logged in as root on Mac OSX.
      In fact, the root account is deactivated for login by default.

      What you see is a mechanism that is named "sudo" on the unix command line that requires you to enter your password (not: a specific admin password) to escalate something to be executed as root.
      It checks if you (your user account) are eligable to do so.

      However, you can work as a non-priviliged user on OSX, actually you do it 99.9% of all the time.

    2. Re:Not just isolated to Windows... by Stauf · · Score: 1

      I can tell you how many Macs running OS X i've seen with people logged in as essentially "root". Sure OS X prompts you for an admin password when critical things happen, but everyone I've seen blindly enters the root password. Most times, the user does not even read the dialog box.

      That is, simply, a user problem. They had the option to say no and didn't take it. This can be solved with education.

      In the Windows world, you're seldom prompted for a password - apps just fail. A lot of apps can't be run as a non-Administrator without some serious tweaking, some won't run no matter what you do. This can't be solved without revising the Windows user model.

  91. Only because there are so few games by tepples · · Score: 1

    You don't need to install programs or change system settings so often on Linux.

    Only because there are so few commercial games on Linux compared to Windows. Most commercial games for PC require installation before they can be used (unlike console games), and too many of those do not support installation to a limited user's home directory.

  92. Holy crap on a cracker, batman! by numbski · · Score: 1

    Sorry, had to get attention somehow. :)

    Seriously, I'm sitting here, sipping my coffee, and had this bad, gut-wrenching feeling sneak up on me. :\

    Here's the deal: very soon a large portion of my business model is going to hinge on making Windows software run on *nix platforms. Be that through wine, compiling with winelib, or porting the software wholesale.

    In the case of wine, and I think even moreso with winelib, I suddenly have this fear that all of this software that demands admin rights on Windows is also going to demand it on Unix. I don't think that's totally correct because we're providing a "fake windows" for the software to beat up on, and c:\ isn't really / on the filesystem. That said, if it is all owned by the user, then the user can effectively have admin rights on that wine app, but still have no rights to harm the system overall.

    Sound right?

    I hope so. If not I'm going to have to work around this somehow.

    --

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

    1. Re:Holy crap on a cracker, batman! by mattyrobinson69 · · Score: 1

      usually software wont run on windows without admin privilages because it tries to write to c:\program files\myapp\ and it cant if its not run as admin.

      You are providing an entire C drive for the app to read/write to so that isn't a problem.

      The other problem is when applications try to write to the registry HKEY_LOCAL_MACHINE instead of HKEY_CURRENT_USER (or something like that) and wine emulates the registry for you, so again, thats not a problem.

      Thank god real linux software understands that ~ and $TMPDIR are the only places users can write to.

  93. 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!

  94. 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.
    1. Re:It certainly isn't easy by Anonymous Coward · · Score: 1, Informative

      No way in hell can anyone use RegMon from my experience with it.
      The windows registry is constantly being written to so fast you'd have to be that fellow in the matrix who doesn't even see the code anymore, all he sees is blonde, brunette, redhead.
      What you need is Dependency Walker. http://www.dependencywalker.com/
      Select the exe, dll, ocx, sys, etc. of the program in question and use dependency walker on it. It's sure a hell of a lot faster than trying to keep up to changes in the windows registry.
      I've never used FileMon, but I can tell you RegMon is next to useless in my book.

    2. Re:It certainly isn't easy by Deagol · · Score: 1
      Granted, regmon is a little rough, but it's not the nightmare you make it to be. I don't think even the developers expect people to watch the thing real-time, at least not without the filters in place.

      Fire it up. Run the program. Stop regmon. Export to text file, then grep for the executable name of the program you just ran.

      Your complaints are about as valid as someone running Linux complaining about strace(1) spewing stuff to STDOUT too fast. Common-sense use of the tool can go a long way.

    3. Re:It certainly isn't easy by Anonymous Coward · · Score: 0

      Good points. I'd add that Dependency Walker is damn handy too.

  95. sudo for one program vs. su for everything by billstewart · · Score: 1

    The difference is that you're setting things up so one badly-written application can run as Admin when the user wants it, but most of your other programs are running as non-privileged-user, vs. setting the user to be Admin for everything they run. Sure, when you're running that one program, you're still exposed, but at least for most of your applications, they're less dangerous.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. 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. :-)

    2. Re:sudo for one program vs. su for everything by Anonymous Coward · · Score: 0

      That's cause it makes it harder to pick which program to attack.

  96. This one is, almost completely, Microsoft's fault. by Asprin · · Score: 1


    I bet ordinary (meaning non-us-type people) Apple OSX users fail to understand LUA principals at least as much as Windows users. The difference is that Apple sets up your user account to run with least priviges by default and prompts you for the root password when you try to overstep your bounds.

    Why doesn't Windows do it that way? Microsoft made a choice.

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  97. Fast User Switching vs. Domains by billstewart · · Score: 1

    I'm not sure if that's always true, but it's certainly true for the VPN software version I use to access the network at work. Very, Very Annoying! It means that I can no longer set up my home PC to access the VPN the way I did when the home machine ran Win98/WinME, since I use XP's fast user switching between root, my non-priv account, and my wife's account.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  98. Ignore? I can't even use it for my kids ... by Titusdot+Groan · · Score: 1
    I've tried using reduced privledge accounts, I really did.

    I tried using it for myself but gave up because both of the games I play under XP require admin privs to run (and that's pretty much the only reason I have an XP box).

    I tried using it for the kids accounts, but I ended up turning it off; seems every kids game in the world can't run without admin privs.

    If I can't even turn it on for a kids account what bloody use is it? And why is it my fault for not using it?

    1. Re:Ignore? I can't even use it for my kids ... by Sigma+7 · · Score: 1
      I tried using it for myself but gave up because both of the games I play under XP require admin privs to run (and that's pretty much the only reason I have an XP box).
      You could try to download the Microsoft Compatability Toolkit. This package contains a compatability administrator, which allows assigning fixes to a given application.

      One of the fixes is "ForceAdminAccess", which lies to the application about admin privilages being available. This was required since certain programs whine about beind unable to work wrthout full access to the system when they just need to write to a specific key in HKLM (or write to the installation directory, or c:\WINDOWS\something) Other than that, contact tech support.

      If a game cannot run in a LUA, and tech support cannot correct the problem (nor give a good enough reason), go to user review sites and rate the game down, saying it required the young children to have full access to the system - a highly dangerous risk. while this might not dent the total sales, it does help set the reputation of the developers in the do-or-die computer software industry.
  99. 'Power User' Still Available in XP by tabdelgawad · · Score: 1

    Actually, the good old 'power user' from Win2k is still available in Windows XP. Unfortunately, you can't assign users to that group through the graphical 'User Accounts' in control panel, but you have to use the 'Local Users and Groups' section of the 'Computer Management' panel. Once you create a power user, they'll show up as 'Unknown account type' in the 'User Accounts' panel.

    Considering that 'power user' was a reasonable (read: not horrible) compromise between convenience and security in Win2k, I was surprised that MS hid it so deeply in Windows XP. It must've been an aesthetic decision to match the new default "dog" search in explorer and the candy themed UI (thankfully, both of which can still be reverted back to Win2k styles!)

    --
    Imposing Libertarian views on everyone online since 1992.
  100. full quote by zogger · · Score: 1

    http://www.unix.org.ua/orelly/networking/puis/ch01 _04.htm

    ""It was not designed from the start to be secure. It was designed with the necessary characteristics to make security serviceable.""

    no idea who is right

    1. Re:full quote by colinrichardday · · Score: 1

      Perhaps both. While UNIX was not designed to be secure, it was designed to be multiuser, which helps with some security issues.

  101. 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
  102. Re:OS X does it this way as well by colinrichardday · · Score: 1

    What is the difference between root and admin?

  103. Just one more example... by John+Nowak · · Score: 1

    This is just one more example of why software binaries should be installed via drag and drop a la OS X. Also, given OS X's extensive permissions settings (access control lists, which go above and beyond any other unix by far), I can really control which folders people are allowed to access with ease.

    1. Re:Just one more example... by enrgeeman · · Score: 1

      not really. what mac os x does for you is give you a nice gui, so you don't spend your time learning unix, you get to just look at it and the pretty widgets.
      unfortunately, i find mac users more annoying than ignorant windows users. mac people for the most part think they are so great and awesome because "hey! my computer is a fruit!" windows users who don't know any better just like how most of the things work, because everyone releases drivers for it. and i use the 3 major oses, and i prefer debian of them all. windows is there for the games, and the mac, for the multimedia.

      --
      sent from my slashdot browser.
    2. Re:Just one more example... by John+Nowak · · Score: 1

      You have no idea what you're talking about. I was giving a very specific example of how software can be installed without administrator privilages in an elegant way. Furthermore, I was talking about access control lists (ACL), which are to my knowledge not available under any other unix-based OS besides OS X. Such lists allow for much greater granularity in control than traditional unix permissions. OS X is a lot more than a pretty GUI. I will agree Mac users can be incredibly annoying, but do give credit where credit is due.

    3. Re:Just one more example... by John+Nowak · · Score: 1

      And just for the record, my Powerbook is a dual-boot OS X/Debian system... Please don't group all us Mac users together. Like *any* other group, most of the people involved are idiots.

  104. oooooohhh, big story by Anonymous Coward · · Score: 0

    extra, extra, "Windows Users Are Braindead Morons!"..
    big surprise.

    1. Re:oooooohhh, big story by Anonymous Coward · · Score: 0

      Uh, there's a reason many people don't use this feature.

      I don't because I can't view the d%$n clock in such a restricted environment.

  105. Re:OS X does it this way as well by Rick+and+Roll · · Score: 1
    "Kiosk" is an acronym?

    Ubuntu disables root by default too. Anything that needs to be run as root can be run using sudo. The GUI admin tools ask for the password just like in OS X.

  106. 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?

    1. Re:Linux v. MSFT SW installs by IntlHarvester · · Score: 1

      Thanks for the thoughtful reply. The issue is that you are primarily talking about cultural systems and not operating system security systems. Which is why I brought OS X into the picture, because even though it has a Unix security model, the ISV relationship is essentially the same as on Windows.

      But your mention of RealPlayer brings up a couple counter-points:

      (A) The central repository approach will never provide 100% coverage. I'm sure you've read the complaints about Debian release process, but I just point out that even they have 3rd Party "backports". Also, I read that Fedora 4 conflicts with the Sun Java RPM, apparently for ideological rather than customer-driven reasons.

      Especially in the desktop market, either Linux distros allow the 3rd party ecosystem to grow, or adoption will remain stagnant. And that opens the door for malware infection.

      (B) Most malware doesn't require elevated privileges to perform it's evil deeds anyway. Administrator is protection on Windows largely because the malware is written/packaged by the same bunch of dunderheads that require Admin for other user-level software.

      As for your essay, I think lacks the thoughtfulness of your comment, and mainly regurgitates old bits of slashbot FUD without any insight or support whatsoever. For example, modern versions of Outlook are more resistant to social engineering viruses than Mozilla Thunderbird.

      --
      Business. Numbers. Money. People. Computer World.
    2. Re:Linux v. MSFT SW installs by ink · · Score: 1
      The central repository approach will never provide 100% coverage. I'm sure you've read the complaints about Debian release process, but I just point out that even they have 3rd Party "backports". Also, I read that Fedora 4 conflicts with the Sun Java RPM, apparently for ideological rather than customer-driven reasons.

      For that reason, you can install JDK or most any other binary package wherever you choose to install it. You can download the .bin jdk from Sun and put it in your home directory if you like. Firefox will automatically install plugins such as Flash in your home directory. They behave much like Windows binaries in that many (such as Eclipse or Netbeans) will look for updates when they launch, independently of the OS' package management system. It's really quite nice. OSX is similar; if you have 2 users, they can have 2 different versions of Shockwave/Flash installed for Safari (~/Library).

      It's not all-or-nothing.

      (B) Most malware doesn't require elevated privileges to perform it's evil deeds anyway.

      Agreed; although there is a certain class of malware that requires admin privileges (net snoops, GUI snoops [oops! Windows has absolutely no protection on that front], driver mods/low-level I/O), so it's not a waste of time to do this.

      --
      The wheel is turning, but the hamster is dead.
    3. Re:Linux v. MSFT SW installs by IntlHarvester · · Score: 1

      GUI snoops [oops! Windows has absolutely no protection on that front]

      Does X11? I always assumed that any processes running under the same UID could snoop on each other all they want, and a root process could of course do whatever it wants.

      --
      Business. Numbers. Money. People. Computer World.
    4. Re:Linux v. MSFT SW installs by KMSelf · · Score: 1

      (A) The central repository approach will never provide 100% coverage. I'm sure you've read the complaints about Debian release process, but I just point out that even they have 3rd Party "backports". Also, I read that Fedora 4 conflicts with the Sun Java RPM, apparently for ideological rather than customer-driven reasons.

      Sure, there's a need for third-party repos. If you want an inventory of my own system, in addition to the standard Debian, non-US, and security sources, I have marillat (for video codecs) added. For reasons similar to those I gave above, I try to keep my sources lists from proliferating beyond what's necessary. The neat thing is that if you want to go outside the canonical sources, there are several ancillary sources which can be selected easily.

      Beyond this, the unpackaged software on my system is: Realplayer, Flash, XPDE, and BrowseX. None of which I use significantly. Two are proprietary, and unsurprisingly, concern AV / multimedia formats. The other two are unpackaged free software projects I keep tabs on. Additionally I've got some locally written tools, which I do use heavily.

      In the case of Debian, packaging offers significant advantages to software developers as well, including a distribution channel, support, bugtracking, and a significant userbase. For these reasons, if it's free software, there's good odds it's going to be packaged.

      For proprietary software, you've got the options of packaging for Debian explicitly, or providing a typical Unix installer routine, which frankly isn't much different from, say, Install Shield or similar in legacy MS Windows. Realize that packaging systems for GNU/Linux are worlds beyond what the proprietary Unix world had to offer a few years ago, or even now.

      As for ideology: don't discount it. There's reasons why RMS and the FSF focus on software freedom, and they're not trivial or incidental. Sun has long-standing problems with its attempts to control Java, and they're affecting more than just GNU/Linux distro adoption and distribution of same.

      (B) Most malware doesn't require elevated privileges to perform it's evil deeds anyway. Administrator is protection on Windows largely because the malware is written/packaged by the same bunch of dunderheads that require Admin for other user-level software.

      Sure, there's lots of harm you can do in user space, particularly by way of generating network traffic (spam, DDoS, etc.). But malware has to get on to your system in the first place. My essay covers this in more detail but it largely boils down to:

      • Systems software with security exploits. Most legacy MS Windows malware is currently delivered through email or Web vectors. While some relies on social engineering, much still relies on the ability to execute arbitrary code. Software with such exploits on GNU/Linux is marked as buggy. In Debian, these would be release-critical bugs, and would remove the package from consideration for stable release.
      • A culture in which users are expected to run arbitrary binaries. "Self extracting archives", self running installers, and the like. In GNU/Linux, there's much more a policy of having programs which work on data (so you run tar over an archive, dpkg or rpm on a package file). And extensive auditing to ensure that these utilities aren't susceptible to malicious data. This is changing somewhat, but old farts such as myself tend to complain loudly. The balance between developers, packagers, and users means that these issues tend to get a much better hearing on GNU/Linux than they did in the legacy MS Windows world (and lord knows people warned about unsafe practices for well over a decade). I've never liked the concept of "opening" a file, nor of "active" readers. Marketing drives these concepts in the legacy MS Windows world. Social engineering is more difficult where users are conditioned to not run arbitrary executables. Moreso if s
      --

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

  107. The Reason by ildon · · Score: 1

    The reason people constantly run as admin is because of all the terribly programmed pieces of software that refuse to run without admin rights or lose function without admin rights (including almost all games, and half the time it's actually caused by the cd checking crap). And Windows' system for running a specific application as admin is a pain in the ass to use. I don't blame the users.

  108. You mean since 1994? by charnov · · Score: 1

    NT has had robust per user rights management for a long time. I think most of the arguments in this thread apply to home users only. You have to keep in mind that the Windows (1-3, 95, 98, Me) line and NT line (3-4, 2000, XP, 2003) are completely different code bases. The original Windows died with ME and the IBM/MS derived NT is the only line now.

    --
    [RIAA] says its concern is artists. That's true, in just the sense that a cattle rancher is concerned about its cattle.
  109. how about because by suezz · · Score: 1

    it was a bandaid just to fix a deeper structural problem - like the whole windows architecture.

  110. Re:Installing Apps vs. Running Apps multiuser/admi by QuaZar666 · · Score: 1

    As a Solution you can put the files in /home/shared and you shouldn't have any problems with them. But I do like how Apple handles a multi-user system. each person has one config for the application and are not shared (or should not be) between other users. If you need to install a program it will ask for your password, even if you are set up as an administrative account. in order to delete a file in /system or /Library it will again ask you for the password. To me that is a lot better security than Microsoft or linux distros) handle things. When you login as admin you can do everything, as a normal user you have no rights and you have to right click and runas. with linux it does ask you for the root password with most distros when you try to install an application, but it might not be the same password.

    Microsoft needs to think about real user security because currently that don't even think about it. If you are the only user on the system you have no choice, but to be the administrator. Besides every place I have worked with Windows I have in time been given local admin rights in time, due to one or two applications that would not run without it.

    Am I asking too much for Microsoft?

  111. of course no one's using it.. by moshiko · · Score: 1

    It doesn't run well when running with root account, imagine what happens if you run it as a a regular user ;-)

    nobody:*:-2:-2:MojoJojo:/:/usr/bin/false

    --
    I love burekas in the morning
  112. WHat's also sad about most user's experience by Anonymous Coward · · Score: 0

    ...see how fast they reach for Ctl-Alt-Del when you know it may be unnecesary.

  113. Corporate vs. home usage by JChung2006 · · Score: 1

    The corporate user can call help desk and have professionally trained IT people take care of PC needs that require administrator-level privileges. The home user does not have the luxury unless they know someone who is willing to serve them in this role. The corporate user does not have to be an administrator to use their computer. The home user has to be one or, at least, has to run software occasionally with administrator privileges to do things like install device drivers for hardware, install new systems-level software (patches), etc. LUA is important, but sometimes LUA for the average home user *is* administrator, because home users are called upon to perform tasks that corporate users would never have to do themselves.

  114. LP by ultramkancool · · Score: 1

    LP

  115. correct! by Anonymous Coward · · Score: 0

    all your bases are dumb!

    p.s. i don't want to elaborate but it's sad that
    terra bytes of inter-network capacity are wasted
    because of one radio button ...
    p.p.s it the option of making a new account in
    the so called "config panel" and you have the option of making it a "admin" account or a "limited user" account. good thing even this LSU thing mentioned in the article gives you a hint on this .. sad sad sad and "have you check your car trunk today yet?(tm)".
    p.p.p.s 'm really starting to get a hang of this "white trash" thing everybody keeps mentioning ...

  116. It's not about the games... by suitepotato · · Score: 1

    People miss this right off the bat in an attempt at ignoring their lack of skills and admitting their need to beef up same in favor of bashing Microsoft.

    Who cares what game requires admin? That's not the point.

    The point is that dangerous portals to unknown code content should not be run as admin. If it is possible to run IE as anything but admin, it should be, no code should execute that the user does not agree to. IE should check by default the content and see what it does and tell the user flat out, "hey, this stuff says it is needed to display the page properly but it is also trying to install this other stuff...".

    The point is that users and Microsoft are lax in their security mindset. Games won't install or run without admin? Who cares. Anything that will have inheritance to code started by it should not be bequeathing admin status.

    But even then, LUA still doesn't eliminate the fact that the MS model is bad and doesn't truly have a cleavage between root and everyone else. It is easy for background system processes to be the progenitors of the inheritance and off go running the viruses as system level processes.

    And if you want a look at how inane WinXP Home is set-up for security consider you have to log in using Safe Mode to get to the folder ACLs. Changing them by the command prompt is the only other way and that's a crap shoot. I find Windows ignores command line permissions changes about half the time. Not good when you're trying to run *nix-style apps like SSH.

    --
    If my grammar and spelling are off, I am [distracted/tired/careless] (take your pick)
  117. Duh! by Baloo+Ursidae · · Score: 1
    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.

    And whose fault is that? Really, who made it hard to use Windows built in security? Why is it I can run GTA: San Andreas as a normal user in Linux emulating windows but I have to be Administrator to run the same damn thing on a Windows box? Games and any other user program should not EVER require root access. When everybody else got it right, why does Microsoft dare to be wrong?

    --
    Help us build a better map!
  118. Why not admin? by TorKlingberg · · Score: 1, Flamebait

    I never understood why home users should not run as admin. All files of any value will be in the user's document folder anyway.

    I use a non-root accout on my Linux box because everyone else do so. But I really don't care if my root account get compromised or just my user account. Both are eqally bad.

    1. Re:Why not admin? by Anonymous Coward · · Score: 0

      Parent is emphatically NOT flamebait. Silly mods.

  119. Look for the logo! by Anonymous Coward · · Score: 0

    "It's because MS has never enforced the concept on developers or users that this has been an option."

    Enforced? No. Encouraged? Yes. Any program with the 'Designed for Windows' logo must past third-party testing which ensures the program will run properly (after installation) without Admin privs. The guidelines are clear and concise.

    So if you want to know whether it runs LUA, look for the logo. All programs with that logo MUST run LUA.

  120. Use the "run as" guys! by gradster79 · · Score: 1

    I saw some people posting that you can run another account with admin rights from the command line, it's also as easy as right clicking on the program you're about to run and click run as. You are then prompted to run the program as(in this case admin) and you enter the password and you're good to go, while all other programs and processes continue to run with limited rights. I think someone mentioned something about not being able to use fast user switching on a domain, but it has nothing to do with that. Server 2003 doesn't even offer fast user switching and you can do this "run as" without a hassle. In fact most books you read on Server 2003 tell you this is a good idea!

  121. Lua? by mark-t · · Score: 1

    Am I the only one who thought of the Lua programming language when I first saw the article headline?

    1. Re:Lua? by Anonymous Coward · · Score: 0

      No, but we are definately few are far between!

      I saw the headline, scratched my head, and thought, "Windows has a built-in Lua implementation?!?"

  122. Defense in Depth requires depth by argent · · Score: 1

    The whole idea of defense-in-depth is that you design your system so that each layer is a complete sandbox. That is, you design the browser so there's no way to break its security model, then you assume someone will break it anyway so you design the multiuser security so there's no way out, then you add a firewall, then (though this isn't normally done it can be easily implemented) you assume that someone will break that so you build a jail that can only be opened from the outside... so for someone to break out they need to launch three or four separate independent attacks, one after the other, each of which requires different techniques and each of which can be fixed in turn. You limit your services to listen to local connection only, then you firewall them anyway.

    In Windows, you can't configure your services to only listen locally, so the firewall is not an extra layer of security. You can't disable Active Content and close down all the "security zones" because then local stuff like the control panel breaks, so you use multiuser security as part of the sandbox.

    Instead of having all these layers as redundant defenses that need to be attacked in serial, they're parallel efforts each shoring up a different part of the system. Which is why Windows users don't much care, running as an untrusted user still leaves all your local files subject to attack, running IE with reduced security will still leave an exploit able to attack your online assets, your paypal and email. And it's really inconvenient to do things this way, because too many applications expect to run with privileges...

  123. To sum most of it up... by The+Master+Control+P · · Score: 1

    1) A lot of windows programs refuse to run as anything but Admin. This is caused by architechtural baggage in Windows, baggage in the programs themselves, and idiot programmers who continue to write bad code. Since some of these programs are essential if you use them (eg AutoCAD), you have to run as admin: Thank you idiot programmers.

    2) It seems that even some MS internal programs won't work under LUA: The corporate left hand doesn't know what right hand is doing. What else is new...

    3) There is an enormous amount of inertia behind doing things the insecure way with Windows. Thank you MS.

    4) There are a couple of posts asking why they should care about security even though they know about it. These jackasses are why the 'september that never ended' never ended. I hope they all choke on olives.

    5) There are some people who want to use their computer for nothing more than e-mail, surfing the 'Net, music and the occasional text document. Linux + Evolution + Firefox + XMMS + StarOffice (to gaurantee winword compatibility) = all they need.

  124. runas? and admin passwd in shortcut???? by Werrismys · · Score: 1
    Lunacy!
    A program running with user privileges must be able to read the shortcut, and the admin passwd is in there as plaintext.

    Runas is a pain in the ass since it's nowhere as near being usable AND secure than unix sudo, which requires misconfiguration to be insecure.

    --
    'Once scientists, even the dim-witted social scientists, get muzzled, the Western Civilization is finished.' - oldhack
  125. Application Compatibility Toolkit by Kagami001 · · Score: 1

    For those who are working on making poorly written applications run in LUAs, rather than giving write permissions to specific directories or registry keys, you may want to look into using the redirect function of the Application Compatibility Toolkit. In a multi-user environment where you want each user to have their own config files, etc, ACT can redirect the application's file writing to each user's profile directory.

  126. Education of Users by Anonymous Coward · · Score: 0

    This is the biggest challenge our community faces. I run a small website for a Home Tech Support business in which I publish the odd tech tip. I get around fifty hits a day in the articles section and try hard to enforce best practices on users who do not know better. Education is the key, otherwise there will always be zombie nets DDoSing those of us who take precautions.

    This article has more information on the pitfalls of running as admin, and information on how users can rectify this.

  127. This Is Useless Crap by Master+of+Transhuman · · Score: 1


    First they admit that end users don't comprehend NOT running as root.

    THEN they introduce a dozen tools to "help" the end user not run as root, thereby introducing MORE COMPLEXITY into the concept.

    What's wrong with this picture?

    The bottom line is quite simple: DON'T CREATE USER ACCOUNTS AS ROOT BY DEFAULT! Every Linux distro can do that and Windows needs to do it, too. And the system needs to TELL users up front AS it's being installed WHY it's being done that way.

    Introducing reduced-admin tools after the fact is just CYA horseshit.

    That goddamn simple.

    Stop treating the end users as dumb sheep to be spoon-fed pablum and fleeced of every dime they possess and security will improve.

    --
    Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
  128. And Then Everybody Says "Use Runas" by Master+of+Transhuman · · Score: 1

    Oh, really?

    And Grandma, who isn't supposed to be able to even comprehend Linux or understand why running root is not desireable, is supposed to figure out Runas?

    What's wrong with THIS picture?

    Here's the bottom line: NO application which is not a SYSTEM application should need root privilege. Meaning an application that does not directly affect the kernel should not need root privilege.

    I don't even like setuid and passwd - if the user needs to change his password on HIS machine, let him log in as root. If he needs to change his password on a multiuser machine or on a network, let the sys admin do it - corporate users shouldn't be using passwords anyway, they should be using PKI certificates and one-time password generators and tokens and be ASSIGNED security rather than letting the user handle his own security.

    --
    Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
  129. One way to fix some of it by Joe123456 · · Score: 0

    Is to come out with a common update system that is easy for games and other apps to use and make free for developers to use. Then you can at lest get rid of having to deal with games and other apps having there own built in updaters and needing admin just to run them as some force you to get the updates to use them. This system can also make it easy to keep your whole system up to date. You will just need admin to run that common update system or even let it be setup to auto run in the back round at system level.

  130. Plenty of Us Know About It..... by segedunum · · Score: 0

    ....but we don't use them because absolutely fuck-all works as it should.

  131. Blame Microsoft Not Users by wintermute1974 · · Score: 1

    eWeek is being unfair toward users.

    The fact is, very little software actually runs without administrator privileges.

    If you have ever had to sys admin Windows desktops, you know the headaches that this involves. Many programs run up to a point and then fail, often mysteriously, sometimes giving incorrect error messages.

    Even Microsoft does not get it right. Take this screenshot, for example, of Word 97 running on top of Windows 2000, which is not an uncommon experience where I work. Every time a non-admin account tries to open an existing file, this is the stupid, incorrect error message that pops up. It's madness.

  132. Access Denied? WTF?! by Anonymous Coward · · Score: 0

    Obey me you stupid computer! I bought you! I own you!

  133. Microsoft's "Lower rights" solution flawed by HSpirit · · Score: 1

    It strikes me that Microsoft are pursuing a lower rights model in order to allow users to have Administrator privileges in their interactive session but restrict the privileges of specific processes (for example, Internet Explorer) within that session.

    This approach is also evident in the unofficial, free tools being created by Microsoft developers.

    This approach seems to be a "have my cake and eat it too" solution, and unfortunately seems to be making the same mistakes of attempting to identify and quarantine bad behaviour as those we have made in the past regarding the design of firewalls, antivirus tools and the like.

    Remember when it was common practice to only firewall the "bad" ports, and let the "good" ports have free reign? Over time (and in no short measure due to certain worms utilising flaws in Microsoft, and occassionally other, software) we have realised that the only sane approach is to deny all and then selectively allow that which we want.

    Likewise, the traditional approach of antivirus software, intrusion detection/prevention systems and the like in recognising "bad" phenomenon has been shown incapable of keeping up with new threats. We are slowly realising that we (somehow!) need to define what is "normal" behaviour in our systems/networks and then quarantine that which does not meet the norm.

    Unfortunately it strikes me that Microsoft's current direction in terms of Least User Privilege seems to be to give up on it as an overriding principle, and instead "allow everything" as a default, and then selectively deny those processes which are seen as high-risk. I would have thought the parallels to my previously mentioned examples of firewalls, antivirus and IDS/IPS are clear.

  134. Mind you... by Hosiah · · Score: 1
    I recommend Linux as a security solution, and people howl "It's too hard to learn that!" Here we see the less-user-friendly side of Windows.

    Yeah, really, folks, as one who has dealt with many releases of Windows, MacIntosh, OS/2, and Linux, I'm telling you Windows is just as hard to install, configure, and use as any other operating system. Difficulty in operation doesn't depend on whether or not there's a "Windows" sticker on the outside of the case, it depends on the fact that computers themselves are inherently complicated machines.

    No developer sits there saying "I really need to come up with a more complicated interface for this design; it's too easy to figure out!" And making a system hide all the details so that it appears easier doesn't make it so, any more than removing the red warning lights from the dashboard of your car would negate the necessity of having to put oil and transmission fluid and coolant in it to keep it running!

  135. Re:Power User to Administrator privs in a minute by doorbot.com · · Score: 1

    The default policies on a Windows 2000/XP box give Power Users the ability to schedule tasks. Try this as a Power User:

    at 00:00 /interactive cmd.exe

    Where "00:00" is a 24-hour time at which you'd like to escalate privileges; one minute in the future works well.

    Wait a minute and up pops a command prompt on the console (may not be visible via TS/RDC), which is now running as Local System (NT_AUTHORITY\SYSTEM), which has full adminstrator permissions and more.

    You can use this to kill errant services, among other things, however a malicious user can use this trick to then do pretty much whatever they want. This works *great* when you need to do things like recover from a corrupt Active Directory domain security policy.

    Note that regular users cannot schedule tasks by default.

  136. Dear Microsoft by Anonymous Coward · · Score: 0

    A better question might be "Why is non admin totally F&%$^$% broken in windows?"
    Seriously. Most of ms's "security patches" are to break the legs of the admin account so it's harder to do stuff in the UI. FFS. Leave my damn UI alone. Set your gooey crappy XP shite ONLY on the standard user, and allow them to DO stuff like add hardware. Leave the admin account bare bones and unfriendly so that teh noob DOESN'T WANT IT.
    I'm not sure exactly why I'm bothering to write this. MS won't read this and won't care if they do. Also, noone at slashdot will read it since it's posted AC. Ahhh the joy of letting your account lapse. Awesome.
    toodles kids
    bren

  137. Of course! It doesn't work! by dcs · · Score: 1

    I tried using it, but it seems half the games out there won't work in this mode. What am I supposed to do?

    --
    (8-DCS)
  138. Re:It certainly isn't easy, but, by Anonymous Coward · · Score: 0

    Sorry, but your going to have one or two lines of code that won't even begin to tell you an eighth of what the .exe is doing with dependencies or what those depend upon.
    Must be some good reason why Dependency Walker is in every resource kit.

    Dependency Walker
    Dependency Walker (Depends.exe) is a support tool that enables you to examine a selected application or component to determine what other components are required for the application to start. The tool lists the dependencies in a tree format.

    For every component selected, Dependency Walker lists the programming functions of each primary and secondary module. Typically, the system modules have .exe, .dll, .ocx, and .sys file name extensions.

    Dependency Walker can also help you identify problems related to missing or corrupt modules, circular dependency errors, and mismatched module types.

    For more information about Dependency Walker, click Tools in Help and Support Center, and then click Windows Support Tools. For more information about service dependencies, see "Troubleshooting Startup" in this book.

    It's a hell of a lot easier than the convoluted crap your spouting.

  139. Default install as admin by kludge99 · · Score: 1

    Interesting for Microsoft to bring this up since the default XP install asks for a username and then gives that user administrator rights.

  140. Yep- We need Windows "SUDO" that works 100% by Seng · · Score: 1

    And yes, I know there's the "run as different user," which can and does work fine for me in >most circumstances, but a regular joe-user needs help double-clicking an icon, let alone right-click, run as... etc.

  141. Re:It certainly isn't easy, but, by Deagol · · Score: 1
    What you going on about?

    I believe further upthread, someone was bitching about how non-trivial Windows apps won't run unless you're running as a user with admin right.

    Someone responded that filemon and regmon were quick and dirty tools to see what access app was trying to use.

    Someone else bitched that those tolls are too raw to be useful.

    I responded saying they were useful for the purpose they serve.

  142. Dependencies help how? by DragonHawk · · Score: 1

    "No way in hell can anyone use RegMon from my experience with it... The windows registry is constantly being written to so fast..."

    RegMon has filters. You tell it to filter on only the one application you've having trouble with. You start the RegMon capture, start the problem program, wait for the trouble, stop the capture. Then you use filters and search to find the problem. You only need to show the errors -- successful accesses are not problems and can be ignored.

    "What you need is Dependency Walker."

    How, exactly, does that help me find out what registry and filesystem locations a poorly-written program is trying to access? For that matter, how does it help me fix a program that doesn't want to run unless it has admin rights?

    (No, I don't really expect a reply from an AC, but I wanted to make these points in case anyone else is reading this forum for good info.)

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  143. ** DECEPTION ALERT ** by DragonHawk · · Score: 1

    It appears we have someone trying to use this subthread as an advertising opportunity for "Dependency Walker". Aside from the parent post, look here and here. I don't know if this guy is a paid shill or just an over-enthusiastic fan-boy, but clearly, there is a pattern here. People would be well advised to be aware of this, and perhaps moderators should act.

    This has been a public service message of the Listmaster General.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  144. OVERRATED by Anonymous Coward · · Score: 0

    Anti-informative. Windows NT/2K/XP is not based on the Windows 3.1 codebase.