Slashdot Mirror


UNIX Security: Don't Believe the Truth?

OSNews has an interesting editorial about security on UNIX-like systems. "One of the biggest reasons for many people to switch to a UNIX desktop, away from Windows, is security. It is fairly common knowledge that UNIX-like systems are more secure than Windows. Whether this is true or not will not be up for debate in this short editorial; I will simply assume UNIX-like systems are more secure, for the sake of argument. However, how much is that increased security really worth for an average home user, when you break it down? According to me, fairly little"

87 of 520 comments (clear)

  1. Backup by biocute · · Score: 3, Insightful

    So if an OS is to make a daily backup of user's home directory (or My Documents) automatically and locks it away (until emergency) from user access, it might just win the heart of users.

    1. Re:Backup by RailGunner · · Score: 5, Insightful
      So if an OS is to make a daily backup

      Google "How to use cron".

      The OS already can be set up to do this. The premise of the article is flawed; and based on a premise that I reject. Chances are, if you're smart enough to run Linux, then you're probably smart enough to backup your important files.

      Plus, given the author's scenario - let's flip it around: A Windows virus can bork your data and your OS. At least with UNIX, backups notwithstanding, the OS is still there and you'd have a much better chance at recovering your data than you would with Windows.

      Mod article -1, Flamebait.

    2. Re:Backup by Jordan+Catalano · · Score: 3, Insightful

      Wow. This snippet of an article really misses the point. If nothing else, it's just mean. It finds this "flaw" which exists not as part of the OS's security systems, but in user behavior. It waves its arms in the air, trying to make it seem like a big deal, and offers no insight into any sollution. Responsible computing has responsible users as a requisite. You have to give users SOMETHING to call their own. If they don't respect this space, backing it up or storing off-site copies of important files, they don't deserve to have it. I don't mean to be snippy, but how much hand-holding is the OS supposed to do? Would the author prefer a computer that was more TV than anything else, showing a lot of output but not taking any input from a user that could conceivably "gum up the works"?

    3. Re:Backup by Chrismith · · Score: 2, Interesting
      So if an OS is to make a daily backup of user's home directory (or My Documents) automatically and locks it away (until emergency) from user access...

      Who determines what the emergency is? The system itself? If there really is an "emergency," will the system even be in a state to realize it? The last thing users need is to be lulled into a sense of security by automatic backups that can't be retrieved when you really need them.

    4. Re:Backup by MandoSKippy · · Score: 5, Funny

      My grandmother would like to know what this "cron" you speak of is... it sounds like a old science fiction movie, but she can't figure out the connection between movies and backups....

    5. Re:Backup by arkanes · · Score: 4, Informative
      The article, and most of the posters here, are missing an even more important point. There are very few viruses that just delete all your files anymore. The two major threats the PCs these days are spyware (a threat Linux has greater resistance to, because modifying plugins and such usually requires root permissions (with some exceptions, such as Firefox plugins - you're down to app level security there, on both platforms) and zombies to add your PC to a botnet, which Linux is more resistant to, again, because of not running as root. Yes, you have roughly the same level of resistance to "delete all your files" viruses, which are rare these days relative to the amount of "take over your machine as a botnet" viruses.

      All that, of course, is ignoring practical differences in the security history of the platforms and common applications, as well as the lower profile of Linux in terms of automated threats. Direct attacks (ie, someone is specifically attacking you) are just as much of a threat, and many distros are vulnerable to attacks in an unpatched state. Linux is *not* a panacea against threats (and only idiots portray it as such), but it is a very different threat profile than a Windows machine.

    6. Re:Backup by ltwally · · Score: 2, Insightful
      "Chances are, if you're smart enough to run Linux, then you're probably smart enough to backup your important files."
      That's rather presumptuous, isn't it? Not everyone that installs linux on their pc is automatically a linux-nerd... In fact, these days, there are probably just as many people running linux that wouldn't be able to set up a cron script to backup their stuff. The vast majority of linux users that I've known were not professional admins, and would never have had the patience to install linux if they hadn't found distros with fancy gui installers.

      I think it's time to face the facts: Linux may still be mainly for geeks -- but it no longer requires a PhD to run it on a daily basis.

      --



      /dev/random
    7. Re:Backup by DrSkwid · · Score: 4, Interesting

      plan9 does this

      and you get a day by day (or however much you fancy) snapshot so you can roll back your files to any snapshot in time you have recorded, on a process by process basis. I.E. you can have two different days open at the same time in different processes.

      And, to add compliment to health, it doesn't use up extra space but uses Venti

      Venti is also available for Unix-likes via plan9port

      while I'm here, plan9 is secure BY DESIGN. No super user, networked authentication, networked file storage, diskless terminals etc. et bloody cetera.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    8. Re:Backup by pmjordan · · Score: 5, Informative

      What I continually fail to understand is why everyone I know logs in as an Administrator under Windows, even after falling victim to a virus, spyware, etc. I don't necessarily mean the account with that name, having a personal user in that group amounts to the same thing.

      I'm a fulltime Linux user (4 years on the desktop, 7 years otherwise, so no veteran, and no newbie either) and I'd never even consider using logging in as root for any activities that aren't associated with system administration. (guess where "Administrator" comes from) Typing in the root password to install software isn't something I'd call a nuisance or even mildly irritating.

      The same thing is of course possible under Windows: Make your main login a 'Power User', or if you feel that's not safe enough, put it in a group with the same policies as the 'Users' group and slowly increase its permissions until you can work productively. (there are problems with debugging code and other niggles by default) Recent versions of Windows will prompt you for an Admin password for stuff your user isn't allowed to touch, although in some cases you have to explicitly right-click the link/executable and select 'run as'. I think there even are some utilities around to make the process even less painful.

      If you're doing extensive admin stuff, you can also log in as an Admin explicitly of course, and since XP you can switch between users quite easily without logging out.

      It always astounds me how incredibly adverse peoples' reactions are to this suggestion. Sure, it doesn't provide absolute security (ActiveX springs to mind) but that, together with frequent Windows Updates, an enabled WinXP SP2 firewall, and not using IE, I can't imagine you'll have a problem. You might be able to lose some data if you catch a virus, but you're very, very unlikely to bone your system. I do occasionally boot into Windows to play games (Cedega doesn't really work on ATI graphics cards) and I've never caught a virus or spyware, and I don't have an antivirus program installed, as they slow the system down to an infuriating degree IMO.

      ~phil

    9. Re:Backup by rcpitt · · Score: 2, Interesting
      You stole my thunder :)

      I have a number of Unix/Linux users who use their systems as desktop workstations and don't use root (at all - I set them up and do all maintenance remotely)

      Their systems do daily backups of home directories to a protected area that is read-only by their IDs. Whether or not the overall systems are less virus/worm prone is not really the issue, the fact is that only an attack that can get root access can actually do (locally) irretrievable damage.

      The better thing IMHO about Linux/Unix is that there is transparency about what actually needs to be backed up in most cases (some require a bit of sleuthing but even they can be made transparent) - the home directory and maybe a major application data directory (MySQL for example)

      Only these need to be dealt with - the rest of the machine's resources can be replicated/restored/reinstalled and add the data and go on your happy way.

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
    10. Re:Backup by ArsonSmith · · Score: 2, Insightful

      I don't think cron is the solution for this. Perhaps LVM and snapshots is what people should be looking into for this type of backups and locking away.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    11. Re:Backup by Ultra64 · · Score: 2, Informative

      Who has executable images?

      Anyone who has a computer.

      For Windows, .EXEs and .COMs are executable images. (Image does not always mean "picture").

    12. Re:Backup by Scoth · · Score: 4, Informative

      I recently had to flatten a friend's box and do a restore as it had a similar situation to a previous post - literally every executable on the system was infected with something. I set him up with all the usual security software, got it running, and then switched his user to Limited, made sure his business software still worked properly, and let him run. A week later he calls me back and tells me he's having more problems, and when I go back I find out he's put a virus'd exe attachment on the desktop from his e-mail and used the Run As to run it as the Admin.

      My point about all this is no amount of security or proper setup will prevent stupidity. Although this is a case where Linux/UNIX would suffer from the same problem. Social Engineering is still the greatest exploit out there, for any OS.

    13. Re:Backup by jeriqo · · Score: 2, Funny

      Just googled "how to use cron"

      First page's answer : man cron (thanks a lot)
      Second page : asks me to run VI to edit a file

      Now googling "how to use vi"... ...coming back in 3 months when my crontab will be working.

      --
      Alexis 'jeriqo' BRET
    14. Re:Backup by Coryoth · · Score: 2, Insightful

      What I continually fail to understand is why everyone I know logs in as an Administrator under Windows

      The same reason that Linux users don't have reasonably strict SELinux policies in place on their machines - a lot of applications are still stuck in the older model and don't play nice with Windows if you aren't the Adminstrator, or Linux if you try and confine their access to reasonable least privilege. What I find interesting is that both Linux and Windows have this issue but people keep ignoring the Linux side - more effort needs to be put into making SELinux and similar security systems workable with good policies even on general workstations. Linux users need to start expecting more of their applications with regard to security.

      Jedidiah.

    15. Re:Backup by Theatetus · · Score: 2, Informative
      Who has executable images?

      Users of software suites called "operating systems" and "filesystems". An "executable image" is a file (generally on disk) that is (more or less) an image of the program's initial state when it is loaded into memory. Users who are less careful with wording than GP often call them "executable files" (even though not all executable files are executable images), .exe's (even though not all operating systems do magic by file extension), or just "programs".

      --
      All's true that is mistrusted
    16. Re:Backup by colinrichardday · · Score: 2, Insightful

      Install programs where? Should ordinary users be allowed to install programs in the system, as opposed to their own folder/directory? If so, why bother having a distinction between Administration and User in the first place?

    17. Re:Backup by drauh · · Score: 2, Funny

      whatever it is, it sounds pretty nasty

      --
      This is a tautology.
    18. Re:Backup by pugugly · · Score: 2, Funny

      Well, to be fair, evidently Windows had executable images. Just (Cough Cough) an undocumented feature . . .

      - (Insert Evil Grin Here) Pug

      --
      An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
  2. I'll Field a Few Questions by eldavojohn · · Score: 4, Insightful
    How much is that increased security really worth for an average home user, when you break it down? According to me, fairly little. Here's why.
    Yes, it is duly noted that you're the only person from which this information is originating.
    But what is more important to a home user? His or her own personal files, or a bunch of system files?
    If "Johnny's first day at school" is more important that system critical resources, perhaps you should have hard copies (CD, DVD, tape, etc.) of this media.
    Of course, they should make backups-- but wasn't Linux supposed to be secure? So why should they backup?
    You're right, you should make backups. You have a love-affair-dependency on your hard drive. Everyday you need it to retain the ones and zeros it holds that forms your data. One day, your personal hard drive isn't going to be there for you. That's why you should back up regardless of how secure you feel. Most "normal home users" don't have redundant RAID arrays running. Furthermore, it isn't "secure period," it's touted to be one of the most secure operating systems. Wait, weren't we talking about Unix?
    Isn't Linux immune to viruses and what not? Isn't that what the Linux world has been telling them?
    I don't think anyone but Mac users claim that. And anyone that claims that for any processing device is lying to you. There are Linux Viruses out there, just use your favorite search engine.
    UNIX might be more secure than Windows, but that only goes for the system itself.
    Oh good, we're back on Unix here (they're not exactly the same, you know). I disagree, both sides (user and system) are more secure in the case of Unix or Linux for that matter.
    In the end, the result of a devastating virus or other malware program can be just as devastating on a UNIX-like system as it can be on a Windows system
    While this might be true, I think you should take into account the frequency of said viruses. When's the last time a massive virus attack has taken down entire networks of Unix machines?
    To blatantly copy Oasis: don't believe the truth.
    So you talked about Unix security without quoting a single authoritative source on the issue. And to finish off this article, you rely on a one-hit wonder brit pop band to prove your thesis. May Slashdot have mercy on your soul, Thomas. Endure the onslaught.
    --
    My work here is dung.
    1. Re:I'll Field a Few Questions by yroJJory · · Score: 2, Insightful

      The article immediately takes the position that any data loss due to malware attack means the system isn't secure. However, the fact that you do not have to rebuild the system because only one user got nailed by the attack is never mentioned. Nor that other users were not affected and could continue using the system without disturbance (most likely).

      So, in effect, the user who was attacked was quarantined, making things _more_ secure.

      --
      Jory
    2. Re:I'll Field a Few Questions by TheRaven64 · · Score: 2, Informative

      While I agree with most of your arguments, I think that describing Oasis as a 'one-hit wonder' is a bit far from the truth. Even I've heard of them, and it takes a lot for pop culture to penetrate my little reality-bubble.

      --
      I am TheRaven on Soylent News
    3. Re:I'll Field a Few Questions by xappax · · Score: 5, Funny

      redundant RAID arrays

      I don't know if it was intentional or not, but that's pretty funny.

    4. Re:I'll Field a Few Questions by hey! · · Score: 4, Interesting

      >>the end, the result of a devastating virus or other malware program can be just as devastating on a UNIX-like system as it can be on a Windows system

      >While this might be true,


      I think it is tautologically true. Devastation is a noun, like "unique" that does lend itself to qualification. I think it's also true that Windows users meet with devestation and the hands of malefactors much more often than Unix users; in part this is due to the prevelance of Windows of course. But it hardly explains the mountain giving birth to a mouse response of Microsoft when it comes to improving the situation for their users.

      There probably isn't a single kind of vulnerability in Windows that has not been in Unix. The only difference is that in Unix is a choice and Windows is a fact of life. Providers of Unix compete with each other, whereas Microsoft, while it may labor mightily on various things, only works barely hard enough to make life bearable. Nor should we expact it to do "better"; as a business they do what the market tells them to, and if the customer bears much, then the vendor does little. I was fascinated during the MS anti-trust trial of the idea of splitting MS up into competing windows providers. If there were competing providers for Windows variants, Windows would be ust as good as Unix, possibly better.

      I expect as more customers desert Windows for Linux (there is no place to go but up), Windows security will improve greatly.

      I am reminded of Lord Macaulay's speech on copyright, in which he explains that perpetual copyright is bad for books, "I believe, Sir, that I may with safety take it for granted that the effect of monopoly generally is to make articles scarce, to make them dear, and to make them bad. "
      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  3. Haha by BHearsum · · Score: 4, Funny

    This story was ripped on for being lame on osnews earlier this week. Now the slashdotters get to make fun of it too.

  4. Pointless by Dashing+Leech · · Score: 2, Funny

    Why is this necessary? How many people actually run UNIX at home and where's the push to get it at home? Linux is another story, but security is only one of many reasons there.

    1. Re:Pointless by Dashing+Leech · · Score: 2, Informative

      And yes, I note that the article mentions Linux and OSX, but as I mention in the parent post, I would argue security isn't a big reason why people switch. It's just a bonus.

  5. Doesn't Matter So Long As It Works by American+AC+in+Paris · · Score: 5, Insightful
    That sucks, but: UNIX rocks, the system keeps on running, the server-oriented security has done its work, no system files were affected, uptime is not affected. Great, halleluja, triumph for UNIX.

    and a triumph for the home user. If you had to choose between having a virus that both destroys your personal files and compromises your system or a virus that only destroys your personal files, which would you pick? He's making light of a very significant thing for most home users--a full wipe and reinstall of the operating system and applications. That's a day's work for your typical user, more if you have a bunch of programs you need to go hunting for.

    But what is more important to a home user? His or her own personal files, or a bunch of system files? I can answer that question for you: the pictures of little Johnny's first day of school mean a whole lot more to a user than the system files that keep the system running.

    What's the value of Johnny's first day of school photos if you can't boot the damned computer? Again, the author makes light of the value of the system to the home user. Just because John Q. Public cares more about his cup holder than his engine block doesn't mean he won't care when the cylinder head cracks.

    Of course, they should make backups-- but wasn't Linux supposed to be secure? So why should they backup? Isn't Linux immune to viruses and what not? Isn't that what the Linux world has been telling them?

    Actually, no. I have yet to speak with a single techie who says that you don't need to back up important files under any circumstances. In fact, viruses are almost always a "secondary" reason for backing up files; the primary driving reason behind backing up your files has traditionally been that of hardware failure.

    The crux of his entire argument rests on the supposition that, to the home user, the system simply doesn't matter. In a most cosmetic sense, this is true; home users don't give a damn about kernels and drivers. The instant something goes wrong with that system, however, it's a nightmare for that archetypical home user (who, remember, doesn't know and doesn't care how the thing works). When everything works, they can open and print Johnny's files just fine, but what the heck are you supposed to do when the omgwtf32.dll pops up an error message when you try to open Johnny's picture?

    --

    Obliteracy: Words with explosions

    1. Re:Doesn't Matter So Long As It Works by thc69 · · Score: 2, Insightful
      He's making light of a very significant thing for most home users--a full wipe and reinstall of the operating system and applications. That's a day's work for your typical user, more if you have a bunch of programs you need to go hunting for.
      Actually, for "your typical user", it's a lot worse than that. It's dropping the computer off for a week or more, paying $100 or more, and getting it back not working the way you want it to, and struggling to get your settings and preferences and programs back the way you like them...and, like you say, STILL not having the pictures of Johnny's first day at school.

      Besides, I mostly don't hear that Linux (or any UNIX-like OS; collectively referred to by myself as "unixen" or maybe "unices") is automatically and inherently more secure than any other OS (except a few rare cases whose main purpose is security, such as OpenBSD); the truth (which is what you find if you pay attention) is that it's easier to secure, and can be secured better.

      I'm not sure how important that is anyway. The bugaboo for typical home users is so rarely a targetted attack on their data. Rather, it's the daily destruction of their OS by common malware. Their data generally survives even the worst collections of OS-crashing adware, spyware, virii, and Sony rootkits. In this arena, unixen are much better, with their limiting the user to a home directory.

      Of course, OTOH, practical usability (including the fact that Windows is almost exclusively common as the pre-installed OS, and the OS for which classes are available everywhere and for which applications are taught at schools) for joe schmoe still leaves Windows as the most satisfactory for such users.

      Meanwhile, I'm off to test a bunch of modern Linux distributions (as well as a few BSDs and an Amiga OS clone) on old hardware to see what runs best for my purposes (one as a file server, another as a combination thin VNC and RDP client and print server)...
      --
      Procrastination -- because good things come to those who wait.
    2. Re:Doesn't Matter So Long As It Works by poot_rootbeer · · Score: 3, Insightful

      What's the value of Johnny's first day of school photos if you can't boot the damned computer?

      System files are fungible; user files are not.

      If my OS gets trashed but my photos are unscathed, I can still view them if I rebuild the OS using the install discs -- or I can even switch to a different OS entirely, and the photos will be viewable there. It may take some time to recover, but it's possible and even likely.

      If my photos get trashed, though, and I don't have a a good backup copy, they're gone forever. There's nothing that can be done.

    3. Re:Doesn't Matter So Long As It Works by Hatta · · Score: 2, Informative

      If you had to choose between having a virus that both destroys your personal files and compromises your system or a virus that only destroys your personal files, which would you pick? He's making light of a very significant thing for most home users--a full wipe and reinstall of the operating system and applications. That's a day's work for your typical user, more if you have a bunch of programs you need to go hunting for.

      If you get hacked you need to reinstall your OS, no matter what. There's no way to know that the hacker didn't compromise the OS and leave a backdoor for him to get in again later. Unless you've properly configured an intrusion detection system.

      --
      Give me Classic Slashdot or give me death!
    4. Re:Doesn't Matter So Long As It Works by Cro+Magnon · · Score: 2, Insightful

      I agree if it's a choice between losing / or /home. But given a choice between losing /home or losing the whole shebang, including /home ( or My Documents), that's a no-brainer.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  6. Open Source by wesw02 · · Score: 2, Insightful

    Open source, maybe?

    The ability to change and fix problems within the code? I mean I'm not a top level programmer who is constantly editing his kernel source code, but I have changed quite a few applications to benefit my needs.

  7. Bastille-Linux by Ransak · · Score: 2, Insightful

    Maybe more distros should come with an install routine for Bastille-Linux. The FTA never mentioned this product, although it's more geared toward servers, not desktops. My guess is it wouldn't take much to turn this into a product for all *nix desktop operating systems.

    --
    "Powers. I have them."
  8. Wrong. by matt+me · · Score: 4, Insightful

    Even if you read the RTFA, which says that rather than computer exploding windows-style, nix hackage will just wreck your home, which is supposedly all that matters to a home user. Still wrong. Think multiple users for a start. But that's totally wrong when it amounts to time lost. If windows gets fucked as it often does i've seen many a user stick in their oem disk, reinstall completely, and then go through painfully reinstalling everything they had before. Say my /home was wrecked? All I'd need to do is fdisk the drive and create a new user? Besides, as in unix only exectuable files can be a source of infection, rather than screwed up images and office files, I can safely copy away anything I want. It's dumb. Sorry OSnews.

    1. Re:Wrong. by vidarlo · · Score: 4, Insightful
      Besides, as in unix only exectuable files can be a source of infection, rather than screwed up images and office files, I can safely copy away anything I want.

      So a libpng buffer overflow, allowing a png image rendered in mozilla to execute code can't be harmfull? Sorry pal, but this is not a problem with the OS, but the applications and libraries.

  9. less risk of any holes being exploited by martin · · Score: 2, Insightful

    I think the phrase "less risk of any holes being exploited" is better than "more secure".

    Unix can be hacked/cracked too, just there's less likelihood and there less risk associated with running a *nix based O/S.

  10. His objections are utterly unfounded (also stupid) by karmaflux · · Score: 4, Insightful

    This is the false sense of security I am talking about. UNIX might be more secure than Windows, but that only goes for the system itself. The actual content that matters to normal people is not a single bit safer on any UNIX-like system than it is on any Windows system.

    This idiot is stating that because some users don't understand the UNIX security model, the UNIX security model is flawed. Apparently, as far as he's concerned, if ~ gets destroyed, the whole system may as well be destroyed. He's blathering about a "false sense of security," but I have never, anywhere, ever, heard anyone say that you don't have to back up your data if you run UNIX.

    Sound and fury, understanding nothing. Typical of OSNews, but sad that Slashdot's carrying this crap.

    --

    REM Old programmers don't die. They just GOSUB without RETURN.

  11. Isn't that obvious? by Dlugar · · Score: 5, Interesting

    I think the author of the editorial makes a rather trivial point. (They could have made the point a lot stronger, pointing out that malware, spyware, adware, trojans, etc., are all able to be run from within unprivileged user-space.)

    But why would a home user care about Unix-type security? I'll give you a few reasons of my own.

    (a) Smaller target. Yes, that's right, I'm saying that the largest increase in security that home users get is because they're using something that 90% of the home user market isn't. This isn't a feature inherent to Unix, obviously--but I still think it's a reason to switch. "But if everyone switches, won't that get rid of the security increase?" Perhaps a little, but the only way it would completely vanish is if everyone switches to the same flavor of Unix. If we have a Unixy, more secure home computing environment, but slightly different flavors, then viruses and malware will have a more difficult time propagating in such a non-homogenous environment.

    (b) Remote exploits. This, I think, is a lesser issue, but not a trivial one--there are a considerable number of remote exploits in Microsoft software, and there have been a non-trivial number of viruses and malware that spread through this vector. Unix-based systems are historically less vulnerable to such attacks, and often the remote processes that are vulnerable run under a different user than the desktop user anyway.

    Dlugar

    --
    Computer Go: Writing Software to Play the Ancient Game of Go
  12. Come on guys by AutopsyReport · · Score: 3, Insightful
    Don't waste your time. Read a more interesting article: How Do Computers Work?. At least this one has pictures.

    Are the editors even paying attention here? How can a 500-word, Grade 6 public speech-quality editorial makes it to the frontpage? Where is the quality here, folks?

    --

    For he today that sheds his blood with me shall be my brother.

  13. J2ME security by IamTheRealMike · · Score: 2, Interesting
    When this story appeared on OSNews I had a discussion with a friend about it. One security model that provides an interesting contrast to the UNIX/Windows DAC security system is J2ME security, which I wrote an article about.

    Now, J2ME is a flawed platform in many ways, but in terms of security they're light-years ahead of where desktop computing is. There are many things we could learn from it.

  14. Unix was a joke for years by Billly+Gates · · Score: 2, Insightful

    When NT 4.0 was coming out the arguments were that it was more secure than the joke that was Unix. I remember top security guys telling me to get my mcse for that reason. This was in 1996.

    Its laughable today because it was before the holes in Windows2k were discovered but there is some truth. VMS and MVS were standard and rock solid with security. Unix like Windows was written in C with parts of c++ scattered here and there with userspace apps. Buffer overflows galore are everywhere.

      Even MacOS (not Macosx) was more secure for the reason that it did bounds checking on types. Add to that the fact that x86 can not tell the difference between cache stored for ram and cache stored for applications where you can just point to where a program is stored for execution and you have a nightmare on yoru hands.

    Keep in mind I am no expert and I dont even have my 2 year degree yet. Perhaps someone more knowledgable can clarify how the compilers work?

    Unix is surely better than Windows but VMS is about gone and who uses mainframes anymore besides a selected few users who need them?

    Standards are good but there is no diversity left in platforms. Its too bad VMS just died and stayed closed. It would be nice to have something besides just unix and Windows

    1. Re:Unix was a joke for years by CockMonster · · Score: 2, Informative

      There's more to security than buffer overflows, and as for compilers, they can only do so much as buffers can be dynamically sized.

  15. Classic "Straw Man" argument by sarastro_us · · Score: 4, Insightful

    Security equals security for *your* files, and Unix can't do that, so Unix must be just as insecure as Windows. Only when you define "security" in your own, narrow way, and then never implicitly say what that definition is in your 'article'.

  16. Unix Security: don't believe the FUD by JTorres176 · · Score: 3, Interesting

    I wonder why he didn't bring up that Dad has pictures of Little Johnny on his first day of school Mom has all of her and dad's wedding photos. Litte Suzy has all of her papers for school on the hard drive. Little Johnny likes to look up pr0n.

    Windows situation, While trying to download hotmidgetdonkeypornheaven.exe, Little Johnny accidently picks up uber.worm. Uber.worm deletes Johnny's files, suzie's files, mom's files, dad's files, system files, makes the system useless, and you go from a windows computer to a nice paperweight until you reformat. *nix situation, While trying to download hotmidgedonkeypornheaven.sh, Little Johnny accidentally picks up the uber.deletion.script. Uber-del deletes johnny's entire home directory!

    Of course, Mom, Dad, and Suzie are entirely unaffected because Johnny doesn't have permission to overwrite those files.

    Wonder why the asshat, er, I mean, article writer didn't bring up that snippet?

    --
    Evil Walrus >83=
  17. He's just a kid by BlueQuark · · Score: 4, Informative

    Thomas Halwedra is a young'in with very little real world experience and any practical experience. They kid is in college and has a bunch of machines at home. I think he takes an extremely simplistic view of windows and unix security.

    His 'OSNEWS' bio: http://www.osnews.com/editor.php?editors_id=11

    I was doing systems programming on UNIX BSD 4.2 Tahoe when he was born. :-)

    I am surprised that his article was even published/posted, I can't really even see his argument or what point is he trying to make. Oh that's right he's a 'managing editor' WTF?

    Back to work.

    1. Re:He's just a kid by Ekarderif · · Score: 2, Interesting

      Saying people are "just kids" are ignoring the fact that they are not. They're college students. After all, a kid eschewed the giant corporation funded operating system and slapped one together (with a fellow kid) to play Space Wars and revolutionize operating system design. A kid wrote the free implementation of Minix. A kid founded both the most portable operating system and the most secure one. A kid cloned an implementation of the Windows network file system onto the *nix platform. It may be surprising, but kids today start some of the most influential work in computing.

  18. It's not funny ... by eldavojohn · · Score: 2, Funny

    I get called out on this a lot and I'm going to point out some key differences between two types of RAID arrays. A RAID 0 (also known as a striped set) splits data evenly across two or more disks with no parity information for redundancy. Therefore, it is an example of a RAID array that is actually not redundant (despite the acronym). Even if a normal user was running RAID 0, a hard drive crash would be catastrophic.

    Still laughing?

    --
    My work here is dung.
    1. Re:It's not funny ... by Shisha · · Score: 2

      "You're technically correct Hermes Konrad, the best type of correct." Futurama.

    2. Re:It's not funny ... by slavemowgli · · Score: 2, Informative

      Yes, still laughing, simply because "RAID" stands for "redundant array of independent disks". In other words, when you talk about a "redundant RAID array", you're talking about a "redundant redundant array of independent disks array", and that *is* redundant (doubly so, even), even though the "redundant" part of "RAID" is not always actually true.

      --
      quidquid latine dictum sit altum videtur.
    3. Re:It's not funny ... by smoker2 · · Score: 2, Funny

      Mod -1 Redundant.

  19. Not true at all by blakestah · · Score: 3, Insightful

    There is nothing special about UNIX or linux that makes it immune from viruses.

    However, in UNIX culture, there is something. The first rules of security.
    First, the default installation should not act as a server operating system. The system should not respond to ANY outside requests for anything unless enabled to by the system admin.

    Second, no action on the system should be performed with any more than the minimum set of privileges necessary. Everything should be done with user privileges, not system privileges, unless absolutely necessary.

    The use of these basic security rules applied more or less throughout the UNIX world, and for MAC OS X as well. Windows INTENTIONALLY ignores these rules in order to "maximize the user experience", and in doing so spawned a multi-billion dollar anti-virus industry.

  20. and one egregious error by Quadraginta · · Score: 4, Insightful

    The guy skips lightly over the fact that it's the system that mediates interactions between the Big Bad World (a/k/a the Internet) and the user and his precious files, so that if the system is well-designed and set up properly, it will do a great deal to protect the user even from his own actions.

    An analogy one might usefully make is to the highway: good system-level security is like a well-designed, well-lit highway. Sure, the user (driver) can still kill himself, but he has to behave unusually recklessly. On the other hand, poor system-level security is like a rutty, unexpectedly curving dark country road. Even reasonably careful drivers at moderate speeds can get in trouble.

    The guy is focussing on the fact that in both cases the driver can get himself killed. But that isn't the whole story. One "road" (system) makes it easier for a moderately careful "driver" (user) to survive. The other puts even careful "drivers" at risk. And, of course, there's the obvious fact that no "road" (system) can possibly protect the completely reckless "driver" (user).

  21. Re:It is funny ... by Anonymous Coward · · Score: 2, Funny

    Still laughing?

    Yes, thank you. This time at you.

  22. Security?! by Jezza · · Score: 2, Insightful

    Err, this isn't security we're talking about here. Security isn't me not losing "my stuff" (a disk crash can do that), secuirty is YOU not stealing "my stuff".

    For most home users THAT'S important (bank details, order details, hell even my address and phone number). You imagine how well a phishing attack would work on most users if they knew about open orders (from say Amazon) by reading your files. I think that's much more important to most users!

    Of course we all backup our files! Jeesh this is /. we're not a bunch of egotictical morons ;-)

  23. He misses a big benefit for a "Family Computer" by petard · · Score: 3, Insightful

    But what is more important to a home user? His or her own personal files, or a bunch of system files? I can answer that question for you: the pictures of little Johnny's first day of school mean a whole lot more to a user than the system files that keep the system running.

    Sure poor computing practice by the user that owns the files could result in their destruction. Nothing gained versus Windows there. But in a family computer scenario, more is gained than the author admits. On Windows systems, many programs are (mis-)designed to require administrator rights even just to run them. This is not generally the case on UNIX-derived systems. As a result, accounts for family members will often be in the local admin group. So on a family computer if you give Little Johnny an account to run his software and play games, and he goes and downloads the latest malware and runs it, it can nuke your data as well as his.

    Under a typical scenario under a UNIX-like system he can only destroy his homework and saved games, not your pictures of his first day of school along with them.

    That's got to be a non-negligible benefit to the family user that the author completely discards.

    --
    .sig: file not found
  24. Good article for 1982 by SuperKendall · · Score: 4, Interesting

    Security issues have moved on a little since the 80's, where his point of view is from - very few security breaches today result in loss of data, because computers are really more valuable as zombies and so not many viruses really attempt to mess with much (even the most recent public example of a destructive virus on WIndows was pretty much a dud).

    Another thing he does not account for is time. Time is a valuable commodity to all users, and anything that can prevent a virus or spyware from reaching further into the computer reduces the amount of time and knowledge needed to remove probelms from the system. That is at the core the value that UNIX brings to the security equation. Not absolute protection but like a teflon pan, easier cleanup when you do create a mess.

    And last of all by not explicitly mentioning how much more inherantly secure UNIX systems are that start off with a base of no open ports are. Sure spyware and viruses can get in through the browser, but it's a much harder attack route than just scanning and finding a hole wide open that requires no effort on the part of the computer user to install.

    In the end his rant boils down to noting that users should really back up files often - but even this message is dated, as a few years of sketchy consumer hard drives with short warranties has started to drive home this lesson in spades through failed hard drives. Forget hackers; little johhny's pictures today are in far greater peril from a simple lack of using the CD-burner.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  25. I'm sorry, but spyware makes UNIX superior by dangermen · · Score: 2, Informative

    Yes, it is a pompous headline but it's friggn true. I just spent two days on vacation at a relatives house cleaning spyware. 3 AV scanners, 4 spyware cleaners and there is still crap happening. Unix doesn't let you hide crap like that. Worst case I could boot a CD and do a scan as to eliminate kernel-based root kits. That same kind of effort is friggin prohibitive. There is something to be said for YUM and apt-get. I can very quickly assess the basic patch level of a box and ALL of its applications. Windows = Good Luck

  26. reply to the author by paperdiesel · · Score: 2, Informative

    I just sent this to the author of the article (slakje@osnews.com):

    I'm sure you're probably getting a ton of these emails, so I'll keep this (relatively) short:

    It's incredibly naive of you to say that because *nix users have full access to their user space, they are no more secure than on a windows box. Consider, for a second, how malicious software propagates itself on a user's system: The most popular methods include memory resident programs, overwriting system files and libraries, and the unwanted installation of software invisible to the user.

    On a standard windows box, those methods are trivial because the user runs in "root" space. On a standard *nix system, however, the user has no admin privileges whatsoever. So a malicious piece of software has much, much fewer options and means-of-entry in to the system to do its dirty work. Now, is a *nix box bulletproof? Certainly not. No one ever said it was. But by default, it's much harder to do real damage. The removal of the users coveted pictures, documents, etc has to be prompted by some piece of code. If it's much harder to implement that code on to the users machine, then yes, that machine is more secure. You're missing the bigger picture.

    Not to mention "security by obscurity", which simply points to the fact that windows users make up 80%-90% of the market, so the authors of the malware tend to target windows machines because they're a more target-rich environment.

    My point is, to simply say something like "acutally, no, unix is no more secure than windows" and not go in to any real, tangible detail borders on FUDD, and is exactly the type of press that potential coverts soak in.

    Thanks for nothing,
    Tim

  27. That's not exactly correct by autopr0n · · Score: 4, Informative

    Windows does have a fairly intricate permission system, and you can setup non-administrative users just like you can in Linux. The only difference is, lots of old software expects to be run with administrative privileges, so if you want to run those things, you need to run as admin. The main reason people use windows is for backwards compatibility, but these days you can do most of your work in windows with a non-admin account if you want.

    --
    autopr0n is like, down and stuff.
    1. Re:That's not exactly correct by silverbax · · Score: 2, Insightful

      "The only difference is, lots of old software expects to be run with administrative privileges, so if you want to run those things, you need to run as admin"

      I would agree with your statement, just adding that software written to run only as admin is considered poor programming practice on Windows, even if it is often the norm.

  28. The 1990s called... by Kjella · · Score: 2, Insightful

    ...and want their argument back. The trojans that "just" wipe out your disk are actually quite rare these days. People want your machine to spam, show you ads, use your computer as a platform for new attacks, proxy, dumpsite or any one of a dozen other uses. A machine where you can only trash someone's personal files isn't valuable except to scriptkiddies who are nothing more than online vandals.

    As far as the rest goes, the data are very important but people don't protect them well in any case. However, downtime is important - or not really downtime, since they can spend a week to have it fixed - but every time they have to get someone to fix it, that is a big annoyance. If you can keep the system clean (and if you're good, have the Admin/root account take backups to somewhere the user doesn't have access) you're saving yourself a bundle of time and problems.

    --
    Live today, because you never know what tomorrow brings
  29. Four points. by Irvu · · Score: 2, Interesting
    Firstly he ignores the important distinction between file corruption and system corruption. Let us assume that personal files are equally insecure on both systems, they aren't but will deal with that below. In that event the likelyhood of a personal-file-loss is equally likely. Okay but, as the author noted the likelyhood of a system loss is less likely on Unix. While I do place a higher value on the retention of my personal files I find that:
    1. The cost of repairing a totally-destroyed system is nonnegligeable.
    2. It is easier to securely backup and recover said files on a working system.


    Secondly, as someone who has seen trojaned PC's I can tell you that being used to spam viagra ads to the western world does have a practical cost for non-techs. While some trojans may leave the files alone the fact that a) all security is compromised, and b) your hardware is being used by others without your consent or knowledge; is meaningful to everyone. In this arena *NIX systems do have a significant leg up over windows. It is much harder for an errant e-mail to lead to a full system compromise on *NIX than on Windows. That having been said I can see how a user-specific trojan may do as much damage.

    Thirdly, the author seems to be ignoring the truest source of vulnerabilities: applications. While the base OS is an issue the primary source of holes are applications (Outlook) or application-components (WMF). A *NIX system can be as insecure as Windows with respect to these. However a) There is a greater offering of secure forms, and b) *NIX's more modular form and coding traditions (sacrifice features for security) make it (in general) less suceptible to these kinds of problems.

    Fourthly, Windows is developed on a different model from *NIX. Microsoft has always put new features first and foremost. This has led to the situation specified above.

    That being the case, much of this is tradition. The traditions of Unix Development (Security over Features) versus Windows (Features over Everything) is what has led to the current state of affairs. Microsoft is in the process of learning the long hard lessons of their history and has been attempting to ape the *NIX model more closely. Meanwhile some in the Linux community have begun arguing that they should move to more "Feature Laden" distros like windows. If Microsoft succeeds in its painful changes and Linux distros begin chasing the "I want features now" crowd then the equations may reverse themselves.
  30. Windows NT and VMS are cousins by tomcres · · Score: 2, Informative

    Windows NT borrows and builds upon a lot of things that were in VMS. Microsoft hired the lead VMS engineer from DEC to head up Windows NT development. It seems kind of weird to allege that VMS is technically superior to Windows NT, when Windows NT was largely based on VMS and improvements that could be made upon VMS.

  31. Car Analogies for Operating Systems by KidSock · · Score: 4, Funny

    The advantage of UNIX is it's simplicity. The common APIs found on UNIX systems haven't changed in many many years. This sounds like a weakness but from a security prespective it is a great strength. This is because the vast majority of bugs are in relatively new code. If you recall the end of NT4's life it was pretty stable (relatively speaking). That's because all new development work was on other products. Now with the introduction of XP and Sharepoint and .NET and all the other new stuff, there's a mountain of new code to find exploits in. Windows is much more sophisticated than UNIX but whether or not that's a good thing depends on what you're using it for.

    In fact, you could debate this for any OS. Here's how I see the best use of each OS:

    Linux - Great development platform. You can easily install it on a laptop and get most things to work like they would even though it was "designed for XP" (e.g. power management). Linux is also a great virtual private server. A VPS is a Linux instance running in a VM like User Mode Linux. You can serve Webmail, SMTP, php apps, mysql, imap, etc for your personal use for $20/mo. As car analogies go, Linux is a Ford F150 pickup.

    Windows XP - Required corporate desktop. XP provides integrated security with ACLs on a wide variety of resources with all groups managed by a central authority with UIs to manage accounts. As a car XP is a like a fully loaded Mercury Montego sedan (it has all the amenities but don't expect it to be running in 5 years).

    Windows Server - Good corporate application, file and print server. It has a rich highly integrated set of libraries. Required for running server side applications for XP clients such as Exchange and AD. Windows Server is also like a Mercury Montego sedan except it costs a lot more.

    Solaris - Rock solid server application platform with world class support. If you don't need the sophisticated APIs provided by Windows Server then Solaris is a very good choice. Solaris is like a large Frietliner flatbed truck with GPS tracking and 24 hour roadside assistance.

    Mac OS X - Home PC desktop. OSX is ideal for the casual home user who wants to create a web page from the photos on their digital camera or play their guitar with sound loops in Garage Band. Mac OS X is like a Lexus RX 330. Every respectable yuppy has one.

    FreeBSD - Good HTTP server for the Internet. It's also a good alternative to Solaris as an application server platform if you're trying to save money and don't need it to scale to 16 processors. FreeBSD is like a Toyota pickup.

  32. Re:Interesting by htd2 · · Score: 4, Insightful

    I am fairly sure that UNIX is more secure than Windows for a number of reasons.

    1. While there is a great deal more Windows around than UNIX, UNIX is where the money is. If you want to extract large sums of money or steal swathes of identities then UNIX servers tend to be the systems hosting these backend services. So UNIX should be the target of hackers wanting to make serious money while much of the Windows activity is concentrated on hacks designed to produce the maximum public impact most of which cost because they down systems rather than extract cash from systems. The fact that almost all the money making hacks concentrate on Windows is testiment to the factthat it is difficult todo on UNIX.

    2. Much of UNIX is OpenSource or available as source code, despite this there have been very few examples of ethical hacks or demos of vunerability that have been viable generated by security research companies or ethical hacking groups.

    3. Stack overflow holes account for a huge chunk of the Windows vunerabilities mainly because Windows and x86 lack generic protection against these specific overflows. This is not true of UNIX particularly if it isn't running on Intel. Solaris for example has specific controls which limit the options for stack overflows as does the SPARC processor. These controls make it more difficult for hackers to generate exploits that remain viable.

    4. There have been vanishingly tiny numbers of viable reported UNIX virii, none in the case of Solaris.

  33. The solution is snapshots by Deviant · · Score: 3, Interesting

    I have found the ultimate solution to such issues in my VMWare testing environment - snapshots. We really beat on and hose our testing machines and, to make sure we were getting an acurate test, we would always have to reimage them from a Ghost image every time we went in there. We replaced that solution with running our testing in VMWare where reverting to a previous snapshot just takes a few seconds. Not to mention that you can branch off them in a tree fashion to track and test under various changes and conditions. I really don't understand why MS can't develop a simpler version of something similar for the OS. HD space on the vast majority of user's machines is plentiful and the ability to be able to make a snapshot of your system when it is exactly the way you want it that you can go back to later quickly and easily would solve myraid problems. If you could back up that snapshot to a DVD or external HD in such a way as the hypothetical snapshot manager could restore your PC config from it in the event of a physical HD failure all the better.

    Now, obviously, we would need a way to prevent a malicious program for also corrupting the backup snapshot - maybe some password that is specifically for the modifying and changing of the system snapshot.

    I doubt that MS will ever be able to make an OS as secure as Unix as long as they have to provide the level of backward compatibility they do. What they could do, however, is mitigate the risk by giving us a way to get our PC back to it's pristine state without all of the trouble of app reinstalls and haphazard backups/restores. The limitation always was the hard disk space this would entail and that limitation has been blown away by modern HDs...

  34. Err... by 15Bit · · Score: 2, Insightful
    The author seems to presume that all viruses take the form....

    -----
    #
    # Nasty file deleting virus thingy
    #
    #!/bin/sh
    rm -rf /home/$USER
    echo "Hahahahahaha"
    -----

    ......And are attached to an email labelled "Open this really cool naked Britney Spears pic".

    He seems to have entirely failed to understand that if viruses (or other unwanted nasties) can't gain access at system level it's much harder for them to replicate themselves round the network automagically (something which is true for all OS's, inc Windows). This means that whilst you might lose your files, everyone else on your network doesn't have to join you in your misery.

    The article seems basically to be a complaint that unix doesn't stop you deleting your own files, which is roughly equivalent to complaining that your gun didn't come with a mechanism to prevent you from shooting yourself in the foot.

  35. Because it makes things work. by khasim · · Score: 3, Interesting
    What I continually fail to understand is why everyone I know logs in as an Administrator under Windows, even after falling victim to a virus, spyware, etc. I don't necessarily mean the account with that name, having a personal user in that group amounts to the same thing.
    Because too many apps have problems when run by a non-admin.

    This isn't necessarily the fault of Windows ... although Microsoft is one of the prime offenders with IE and MSOffice and so forth.
    The same thing is of course possible under Windows: Make your main login a 'Power User', or if you feel that's not safe enough, put it in a group with the same policies as the 'Users' group and slowly increase its permissions until you can work productively.
    Yep. It is possible. But it is more work than the average Windows user will want to put into it.

    And that is only because the FIRST step is learning enough about the system to know that there is a problem. It's easy for most of us who spend time and read /., but for others, they aren't even aware that there is a problem.
    1. Re:Because it makes things work. by QuantaStarFire · · Score: 2, Insightful
      Yep. It is possible. But it is more work than the average Windows user will want to put into it.

      Just the average Windows user? Hell, it's more work than I'm willing to put in, and I feel fairly comfortable with admining Windows.

      The thing I like about admining Linux is that the system tools are designed to make things so much easier and so much faster, and make the bulk of the work rest in setting up programs and configuration files.

      For instance, let's try changing the password.

      • Linux:
        1. Open a terminal.
        2. Type 'passwd'
        3. Enter your old password, followed by your new password, and again to confirm it.
        4. Type 'exit'. Done.
      • Windows:
        1. Click 'Start'.
        2. Go to Settings > Control Panel (or click on 'Control Panel' if using the XP menu)
        3. Double-click on 'User Accounts' and wait for applet to load.
        4. Click on account name.
        5. Click on 'Change Password' (or 'Create Password' if none is set)
        6. Type in current password (only if 'Change Password' was selected), new password, and again to confirm. Also type in a hint.
        7. It may ask if you want to make folders private. Choose yes or no.
        8. Close window. Done.

      Can you guess which is faster? Hint: the wrong answer is the one made by Microsoft. How about which one is easier? This one's a trick question, because the GUI does make things a tad easier...until you learn the syntax for the command-line version, then it's just there to be pretty.

      It's the same for a bunch of other crap as well. Configuring via text files (a number of which briefly describe each setting in a commented section of the file; more details can be found in it's man entry) is infinitely faster than going thru 3-4 windows to get to a configuration screen where you can only, at best, change a handful of options, and the rest are located in the nightmarish Windows Registry with absolutely no explanation as to what each setting does.

      I'd sooner have good admin tools that 'just work' as opposed to the programs I plan to install, 'cuz I'm going to be putting a great deal of effort into setting them up anyways. Just easier that way.

    2. Re:Because it makes things work. by bloo9298 · · Score: 3, Informative

      Ask and ye shall receive: Keith Brown's Hall of Shame.

    3. Re:Because it makes things work. by carnifex0 · · Score: 4, Informative

      Windows:
      1. Click 'Start'.
      2. Go to Settings > Control Panel (or click on 'Control Panel' if using the XP menu)
      3. Double-click on 'User Accounts' and wait for applet to load.
      4. Click on account name.
      5. Click on 'Change Password' (or 'Create Password' if none is set)
      6. Type in current password (only if 'Change Password' was selected), new password, and again to confirm. Also type in a hint.
      7. It may ask if you want to make folders private. Choose yes or no.
      8. Close window. Done.


      See, that's strange, because all I do is hit CTRL + ALT + DEL, then click "Change Password". Enter the old, then the new twice and click "OK"

      No need to complicate things overly. And no need to compare the O/S's. each has it's place.

      I feel fairly comfortable with admining Windows.

      Maybe we've just discovered why so many Windows systems have problems.

    4. Re:Because it makes things work. by toadlife · · Score: 2, Informative

      I can list tons. The reason people don't give out lists of programs is because there are so many that it just seems obvious. Kind of like saying "Fire can burn you" and then listing a bunch of newpaper articles about people getting injured from burns. I've run my Windows box as a limited user for a long time now, and if administering Windows wasn't what I do for a living, then I probably would be completely lost trying to get things to work.

      * Crimson Editor (a code editor - saves config to program directory)
      * WinTV2000 (for my Hauppauge TV Card - saves config to program directory)
      * WintV Scheduler (for my Hauppauge TV Card - saves config to program directory)
      * DVD Movie Factory 3 (Came with Hauppauge TV Card - loads a device driver when run)
      * Plextools Professional (App for my Plextor DVD Burner - needs direct access to hardware + saves config files in program directory and/or HKEY_LOCAL_MACHINE\Software)
      * Trillian - writes config files to program directory
      * Win AMP - writes config files to program directory

      Now these are just apps I either use right now, or have used recently that either break completely or don't fully work without admin rights. Almost all of the programs can be fixed with simple file permission changes (simple if you use XP Pro. With XP Home it's not so simple), but a couple are not so simple. Nero Burn rights has to be installed to make plextools work, and the WinTV apps were fixed by giving users rights to a reg key in HKLM\SOFTWARE. What's perplexing about the WinTV apps is when monitoring it, they never actually wrote anything to the key I had to give access to. It just checked to see if they could write to it and died if it couldn't. As for DVD Movie factory, I haven't been able to get it to work as a non-admin. It loads some sort of driver on startup and even when you give users the right to load and unload device drivers it doesn't work. For it, I use the hack linked to in my sig.

      If you only use MS products, then running as a non-admin isn't that hard, because MS if pretty good at writing their apps to work as non-admin but when you delve into the world of third party software in Windows, apps that break are very common.

      The most frustrating part is that it's not that complicated to write a Windows app that works properly as non-admin. In 99% of cases, you can get by following two rules - 1) Don't write to the program directory after install and 2) Don't write to HKLM\Software\ after install. That's it.

      Here are some more links to software that break as admin....

      http://www.threatcode.com/admin_rights.htm
      http://www.pluralsight.com/wiki/default.aspx/Keith .HallOfShame

      It seems to be getting better now. Five years ago, programs that work as a limited users in WIndows were almost non-existant. Now it seems the majority of new products that come out work jsut fine - but there are still offenders out there that ruin it for everyone.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  36. That Old Thing Again? by Greyfox · · Score: 2, Informative

    He does have a point, but it's an easy problem to address. Currently it's pretty easy to run potentially untrusted programs (Web browser, email clients, etc) as another user. Sure you still need to give them access to X, but they won't have direct access to your home files. I'd like to see this process made easy enough for a newbie user to be able to do it, and possibly even the default method of invocation of untrusted applications for the desktop distributions of Linux. If a distribution was doing it, the users who need it the most would never even know it was happening.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  37. Linux is only EFFECTIVELY immune. by khasim · · Score: 4, Interesting
    Isn't Linux immune to viruses and what not? Isn't that what the Linux world has been telling them?
    I don't think anyone but Mac users claim that. And anyone that claims that for any processing device is lying to you. There are Linux Viruses out there, just use your favorite search engine.
    Linux is not completely immune to viruses. It is only EFFECTIVELY immune.

    Viruses only spread when their infection rate EXCEEDS the removal/immunization rate.

    When the infection rate is lower than the removal/immunization rate, the virus dies.

    With most current versions of Linux, the default security configuration means that it is very difficult to infect a machine (not impossible) and very easy to remove the infection.

    Before this "InterWeb" thingie, I was cleaning boot sector viruses from DOS machines that required someone to have booted from an infected floppy.

    Linux boxes CAN be infected, but the odds of it happening are very, very slim.
  38. Designed as a UNIX follow up by tengu1sd · · Score: 2, Insightful
    Of course the operating system designed as a follow up for UNIX sits quietly on the shelf. Despite being declared as cool and unhackable the mismanagers at three companies are content to focus on OEM Microsoft products. Eventually the FUD about the death of VMS will come true, just give it another 20 years or so.

    I wonder if the shareholders have a case for mismanagement?

  39. Home users by gallwapa · · Score: 2, Insightful

    I got a call from my brother the other day - he told me he was going to dump his very capable, $200 Linksys wireless router in favor of another one - simply because it wasn't on Microsoft's "approved" compatible Xbox 360 router list. that is, he cannot get files to share between his 360 and his PC seemlessly (which is strange because when I was there for christmas I had no problem doing so.)

    At any rate, I had a sort of epiphany: Users don't want to learn - they don't want to tweak. Most users just want it to _work_. They don't care about bells and whistles, if it doesnt do what they want it to do in a quick fashion, they dont want it.

    Its sad, but true. Secure or not, I find it very difficult to believe that linux, unix, or any other OS will take away Microsoft's advantage - they intend on getting things to work automatically so _anyone_ can use it. I've been using computers for 9.5 years myself, and some of the things I have to do in LInux take a long time to do for me (partially because I'm not familiar with it) becuase I have to read the extensive documentation.

    And there are times that I have just wanted it to 'effin' work without havnig to RTFM of 60 pages

  40. It's called "Google". by khasim · · Score: 4, Informative
    http://www.windowsnetworking.com/articles_tutorial s/Running-Windows-Under-Non-Admin-Accounts.html

    That starts you off on shares and setting the time/date.

    Do you want to know one of the coding practices lead to this problem?
    http://blogs.msdn.com/aaron_margosis/
    A common example is when an application saves its runtime settings to a registry key under HKEY_LOCAL_MACHINE (which is read-only to LUA users), instead of to HKEY_CURRENT_USER.


    You might want to spend some time looking up Powerpoint 2003, too.
  41. Marketshare is a straw man argument by aristotle-dude · · Score: 2, Insightful
    Why is marketshare mentioned in these cases and used as a crutich to defend windows? The exploits in windows or any other OS exist due to programmer error regardless of the size of the marketshare. Some could argue that a greater marketshare makes an OS a more visible target but that alone does not explain why the viruses exist. There has to be an other reason why people are motivated to write viruses for windows. Could it be that they do it because they hate how MSFT gained their monopoly?

    But this does not explain why the exploits which provide vectors for attack exist. Perhaps marketshare plays into this as well where developers at MSFT have become lazy and complacent with their commanding market position.

    Let's stop blaming users for security problems and lay blame squarely on the developers themselves. If any company deserves a class action lawsuit, I would say MSFT does when you consider the amount of money spent compensating for their incompetence.

    --
    Jesus was a compassionate social conservative who called individuals to sin no more.
  42. Windows is only worth using by HermanAB · · Score: 2, Informative

    if your time is worth nothing...

    I repair many of desktop and notebook machines. Three last week - this is Monday and I already have two machines waiting for this week. This is not my main business - people only bring me machines after other people already tried and failed to fix them.

    To fix a borked notebook PC and remove all spyware crap, takes 3 to 10 hours. Repairing a desktop takes 2 to 3 hours. The problem being that notebook PCs are slooooowwww, so the repeated scans take forever and Spyaxe and similar crapware requires multiple passes and multiple reboots with multiple scanners to remove. Consequently, I spend 10 to 20 hours per week removing crapware from Windows PCs.

    In contrast, I never have to remove crapware from Linux PCs and notebooks - they just keep working - chalk up zero hours to Linux repairs. This means that in practice, Linux is infinitely more secure than Windows.

    Nuff sed.

    --
    Oh well, what the hell...
  43. It's called "reading". by khasim · · Score: 2, Insightful
    Ahh but these problems are easily solved by giving the user permission on the specific resources, such as the registry keys needed. You don't need to make them an admin.
    I had said:
    "Yep. It is possible. But it is more work than the average Windows user will want to put into it."

    Then you asked:
    Can you name any? Besides games, that is. I hear this all the time, but almost nobody can actually come up with any kind of list. If there are so many of them, why is it so hard to list them?
    So I provided you with specific links describing the specific problems and even HOW those problems arise.

    So you replied:
    Ahh but these problems are easily solved by giving the user permission on the specific resources, such as the registry keys needed. You don't need to make them an admin.
    Yeah. No one ever said that it was IMPOSSIBLE.

    What I said was that it was more work than the average Windows user was likely to put into it.

    Did you understand it that time? Do I have to repeat it again for you? I do? Okay, I will.

    Under Windows, it is far easier for the average user to just run as adminstrator than it is for them to fix the apps that don't work right as a non-administrator user.

    NOT "impossible".

    And the reason that is it far easier is because the average user must, somehow, FIRST learn why running as administrator is a BAD THING.

    Back in the old days, we had real trolls. We had trolls who knew MORE about the systems than the admins. We had trolls who could tear apart a TCP/IP packet.

    Now, all we have are these "search Google for me" trolls. It's a sad day for trolls everywhere.
  44. Are you on Drugs? Adios Mod Points... by mosel-saar-ruwer · · Score: 2, Informative

    The article, and most of the posters here, are missing an even more important point. There are very few viruses that just delete all your files anymore. The two major threats the PCs these days are spyware (a threat Linux has greater resistance to, because modifying plugins and such usually requires root permissions (with some exceptions, such as Firefox plugins - you're down to app level security there, on both platforms) and zombies to add your PC to a botnet, which Linux is more resistant to, again, because of not running as root. Yes, you have roughly the same level of resistance to "delete all your files" viruses, which are rare these days relative to the amount of "take over your machine as a botnet" viruses.

    All that, of course, is ignoring practical differences in the security history of the platforms and common applications, as well as the lower profile of Linux in terms of automated threats. Direct attacks (ie, someone is specifically attacking you) are just as much of a threat, and many distros are vulnerable to attacks in an unpatched state. Linux is *not* a panacea against threats (and only idiots portray it as such), but it is a very different threat profile than a Windows machine.

    [PARENTHETICALLY: I'm giving up Mod Points to reply to you because no one else seems to want to make this point...]

    Every single thing you wrote would be true if you were to exchange the word "Windows" for the word "Linux" [and vice-versa].

    In fact, Windows has a vastly, almost prohibitively more elegant security infrastructure than "Linux": File rights of "Full Control, Modify, Read & Execute, Read, Write," file attributes of "Read-Only, Archive, System, Hidden," very finely-grained ACL-based system security "Policies", a global Kerberos-based directory authentication scheme in Active Directory, etc etc etc.

    "Linux" has rwx-rwx-rwx. That's it. [Now Linux combined with Novell Directory Services and a Novell File System would be an entirely different cup of tea, but that's a whole 'nother discussion. Although, I'd ask: Does Novell even have a "Policies" ACL-based security infrastructure for KDE or GNOME yet? Are they working on such a thing?]

    The reason that "people" [the great unwashed masses of the bell curve ten or twenty or thirty IQ points below geniuses like yourself] don't use Windows security is because SECURE SYSTEMS ARE A PAIN IN THE ASS and no one wants to be bothered.

    If Linux had 95% market share and you had retards surfing the web as "root" [just like the Windows retards surf the web as "Administrator"], then you'd be seeing the same damned thing with Linux that you see now with Windows.

    Maybe even worse.

    1. Re:Are you on Drugs? Adios Mod Points... by Floody · · Score: 5, Informative
      In fact, Windows has a vastly, almost prohibitively more elegant security infrastructure than "Linux": File rights of "Full Control, Modify, Read & Execute, Read, Write," file attributes of "Read-Only, Archive, System, Hidden," very finely-grained ACL-based system security "Policies", a global Kerberos-based directory authentication scheme in Active Directory, etc etc etc.


      Complexity does not equal elegance. If you find yourself uttering something as foolish as "prohibitively more elegant", you've stumbled into that territory.

      "Linux" has rwx-rwx-rwx. That's it. [Now Linux combined with Novell Directory Services and a Novell File System would be an entirely different cup of tea, but that's a whole 'nother discussion. Although, I'd ask: Does Novell even have a "Policies" ACL-based security infrastructure for KDE or GNOME yet? Are they working on such a thing?]
      Indeed. It would appear that the world has moved on since you last looked at "Linux" in the 90s. POSIX 1003.1e/1003.2c access control lists: http://www.suse.de/~agruen/acl/linux-acls/online/.
    2. Re:Are you on Drugs? Adios Mod Points... by Proteus · · Score: 2, Informative

      "Linux" has rwx-rwx-rwx. That's it.

      That's simply false, unless for some stupid reason you're using an antiquated filesystem. There is full support for file-system level ACLs in Linux. For example, XFS supports POSIX ACLs, and the SuSE folks include instructions on implementing POSIX ACLs in Linux (pdf) on a couple of different filesystems in their administration guide.

      It's not like this is particularly new, either. It's just that you aren't forced to use ACLs, and by default they are configured to be overridden by the traditional mode bits (which, by the way, are surprisingly more powerful in the hands of an expert than many people realize).

      Let's try to discuss actual shortfalls in Linux, rather than making them up out of ignorance, hm?

      --
      We may not imagine how our lives could be more frustrating and complex—but Congress can. – Cullen Hightower
  45. Re:Linux at home by blixel · · Score: 2, Interesting
    UNIX (all caps) is a registered trademark. An Operating System cannot legally call itself "UNIX" unless it has paid for the rights. Legally speaking, Solaris, AIX, and HP/UX are UNIX Operating Systems. Linux, FreeBSD, OpenBSD, and so on are only UNIX-like (in the legal sense.)

    There is a good wikipedia article on this topic actually.

    In my own personal opinion, the generically asked question - "What is Unix?" ... can be answered by typing "unix philosophy" into a Google search. In short:

    1. small is beautiful
    2. make each program do one thing well
    3. build a prototype as soon as possible
    4. choose portability over efficiency
    5. store numerical data in flat files
    6. use software leverage to your advantage
    7. use shell scripts to increase leverage and portability
    8. avoid captive user interfaces
    9. make every program a filter

  46. Why Windows People Run as Admin by Anti-Trend · · Score: 2, Insightful
    "What I continually fail to understand is why everyone I know logs in as an Administrator under Windows, even after falling victim to a virus, spyware, etc.

    I hear this a lot, but there's actually a pretty good reason. Windows feels restrictive as a normal user, because its filesystem and registry permissions are so haphazard. Many programs won't even run in a non-admin account at all. UNIX is designed to make the user feel quite unrestricted as a normal user, and conventions like sudoers take this principle even further without compromising the overall security of the system.

    --
    Working in a DevOps shop is like playing in a band made up entirely of keytarists.
    1. Re:Why Windows People Run as Admin by Anti-Trend · · Score: 2, Informative
      "Define "haphazard". What filesystem and Registry permissions do you find strange from the perspective of running as a regular user?"

      Well, let me begin by saying I am not just some random UNIX nut, but that I was actually an NT admin for years (although I am not one currently). But one point is that the NTFS permission and security concepts in NT5+ are sufficiently complicated that I am unable to explain them adequately here in a single post; I for one could spend a few thousand words just on the topic of standard permission groups, let alone dynamic permission inheritance. So that's at least part of it, permissions in NT are complicated, and can seemingly overlap or contradict each other at times. That makes it tricky at best to get a grasp on in the short run and a real handful to keep track of in the long run, especially to the uninitiated, and therefore ultimately difficult to implement properly. Another thing that works against the security and integrity of the system is the registry. It is a veritable snake pit of often inter-dependant, unintelligible and/or misleading values, much of it hashed or in hex. However, many popular programs require that a user have write access to the registry in order to store their settings. That opens up the question of whether the admin (assuming there is even an IT dept and we're not talking about typical home or SOHO users) will take the time to properly tune fine-grained registry permissions to allow the program(s) in question to function properly, or simply elevate the user's privileges to a higher level, therefore giving them R/W access to the entire registry. Usually the local permissions simply get elevated. In the home, people don't even think twice about giving themselves admin rights. "It's my computer, so I'm the administrator!" and all that.

      With Unices, it's simply a given that users don't run as root. On most distros, attempting to log into X Windows as root you are greeted with a bright red screen and a warning message to the effect of "WTF do you think you are doing? You can break the system this way!" And software is written in a complimentary manner. User-specific settings are stored in the user's home, not in a registry or other obscure code dungeon. System wide settings are typically kept in /etc in the system's root, and are not editable by Joe or Jane Q. User. Once the system is up and going very little ever needs to be changed in a system wide manner anyway. If the situation should arise where a user needs to do something fairly often which requires elevated privileges, the user can be given sudo privs for that specific task, which typically requires the user to type their own password to execute. [I hope I'm making sense here, as I've had a very long day and quite a few distractions as I write this. ;-)] Also there is the fact that privileges are much more straight-forward in concept on a UNIX system, being simply read, write and execute. There are also only three categories of ownership in a UNIX system: owner, group, and everyone else. So while some security scenarios work out better (or at least easier, not involving the creation of special-purpose groups) with NTFS permissions, the vast, overwhelming majority are much simpler and more managable on Unices. As I think history shows, this makes for a much tighter ship.

      -AT

      --
      Working in a DevOps shop is like playing in a band made up entirely of keytarists.