Slashdot Mirror


Root Password Readable in Clear Text with Ubuntu

BBitmaster writes "An extremely critical bug and security threat was discovered in Ubuntu Breezy Badger 5.10 earlier today by a visitor on the Ubuntu Forums that allows anyone to read the root password simply by opening an installer log file. Apparently the installer fails to clean its log files and leaves them readable to all users. The bug has been fixed, and only affects The 5.10 Breezy Badger release. Ubuntu users, be sure to get the patch right away."

520 comments

  1. Open source by L505 · · Score: 5, Funny

    What's the problem? Open source passwords make it more secure.

    1. Re:Open source by themoodykid · · Score: 3, Funny

      Yes, exactly. If someone screws up your system, somebody else will come along and fix it for you. The many eyes make all bugs shallow or something. Think of it as a Wiki-style OS security.

    2. Re:Open source by KnightStalker · · Score: 1

      Just another demonstration of the failure of security through obscurity!

      --
      * And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
    3. Re:Open source by Anonymous Coward · · Score: 1, Funny

      At a press conference, when asked how the Ubuntu team felt about dealing a massive blow to the public image of open source software, a member of the team responded, "Oops, our bad," and proceeded to play an animation of a badger eating a penguin.

  2. Saw this on Digg by Stevyn · · Score: 3, Insightful

    It came out, it was fixed. There are going to be problems in any project this large, but it shows how much the Ubuntu team cares to respond to a problem this quickly and on a Sunday of all days. Ubuntu really has become a nice distro. It's completely free and polished around the edges. I hope they continue to do well.

    1. Re:Saw this on Digg by Anonymous Coward · · Score: 5, Insightful

      Oh PLEASE, what a joke of a comment. The fact is, they fucked up BIG TIME. Yeah, it's a nice distro, but so is windows, and had microsoft made this error you'd be on their ass about how crappy windows is.

      The bias here on slashdot sometimes makes me sick.

      Grow up people!

    2. Re:Saw this on Digg by JFitzsimmons · · Score: 1

      People make mistakes. The folks at ubuntu were nice enough to release a 0-day patch. While it isn't as good as never having the vulnerability in the first place, it is the next best thing.

      --
      Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
    3. Re:Saw this on Digg by Parham · · Score: 4, Insightful

      If Microsoft had made the error, we'd have to wait until the second Tuesday of the month for the fix. If this bug wasn't caught by tomorrow for me, then I'd have to wait an entire month for a fix. Ubuntu put out the patch as soon as it was discovered. There is no bias here, I use Windows just as much as Linux. However, Microsoft's patching cycles simply suck.

    4. Re:Saw this on Digg by slugstone · · Score: 0

      And how many days would it take for Microsoft to get it fixed? Or should I say monthes this way microsoft might be able to say 1.

      What makes me sick is people like you who defened microsoft even if they do not fix security problems.

    5. Re:Saw this on Digg by Bacon+Bits · · Score: 5, Insightful
      Nevertheless, AC is right. If it was relvealed that the local Administrator account or the domain Administrator account was stored anywhere as plain text in Windows 2000, XP, or 2003, then MS would be reamed endlessly and very harshly here. Or do you honestly think people would be saying "oh, well, at least MS has a patch!" I'm no fan of Microsoft as a company, but denying that a bias exists on Slashdot about this kind of thing -- apologising for *nix, criticising Windows -- is just outright absurd.

      Be honest. Everyone here knows that storing the root password as plain text is a clear program error. And since GNU/Linux is a rather secure OS that doesn't have this vulerability in any other distro, this code was added by the Ubuntu team. If this is the quality of code that the Ubuntu team is developing for it's distro, though, I do have to question why it is so popular. Why was such an obvious mistake missed? Who forgot to check how the root password is stored? Who forgets that kind of thing? Not the kind of developer I'd want to trust with my security, I'll tell you what.

      --
      The road to tyranny has always been paved with claims of necessity.
    6. Re:Saw this on Digg by RzUpAnmsCwrds · · Score: 5, Insightful

      If Microsoft had made the error, we'd have to wait until the second Tuesday of the month for the fix. If this bug wasn't caught by tomorrow for me, then I'd have to wait an entire month for a fix. Ubuntu put out the patch as soon as it was discovered. There is no bias here, I use Windows just as much as Linux. However, Microsoft's patching cycles simply suck.

      Patching is quite frankly irrelivent with this bug. While it certainly has to be done to close the hole in the future, there are already hundreds of thousands of Ubuntu systems out there with the password sitting on the disk. How are you to be sure as an administrator that the password has not been compromised already? What about backup copies that might have the password?

      The fix is to change the administrator/root password. The bug only affects a system at install-time, and it will continue to affect new installs so long as the broken installer is floating around. Patching it today is hardly more effective than patching it on April 6.

    7. Re:Saw this on Digg by MobileTatsu-NJG · · Score: 4, Interesting

      "It came out, it was fixed. There are going to be problems in any project this large, but it shows how much the Ubuntu team cares to respond to a problem this quickly and on a Sunday of all days. Ubuntu really has become a nice distro. It's completely free and polished around the edges. I hope they continue to do well."

      I know this rationale gives everybody the warm fuzzies, but this is still a really bone-headed mistake. You guys really shouldn't be this forgiving about it.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    8. Re:Saw this on Digg by xlsior · · Score: 5, Interesting

      Nevertheless, AC is right. If it was relvealed that the local Administrator account or the domain Administrator account was stored anywhere as plain text in Windows 2000, XP, or 2003, then MS would be reamed endlessly and very harshly here.

      Interestingly enough Microsoft did make pretty much the same mistake, with Microsoft SQL 7, both servicepack 1 & 2. They wrote the SQL administrator password to the installation log file, which would give you full access to any SQL database on the server. Written to a logfile in the TEMP folder, which by default has full read/write access for any user on the system.

      Security bulletin: https://www.microsoft.com/technet/security/bulleti n/MS00-035.mspx

      (The 'non-recommended' mode mentioned is using SQL authentication instead of windows NTLM authentication, which much more common then they try to make it sound)

    9. Re:Saw this on Digg by masterzora · · Score: 1
      You know why Microsoft would get flack for it? It has nothing to do with them being Microsoft (except to the zealots and trolls). It's because they wouldn't have the patch out the same day it was discovered.

      The strength in OSS has never been that the code is inherently more secure in any way. The strength is that the average time to patch is several times smaller than that of CSS.

      --
      Remember, open source is free as in speech, not free as in bear.
    10. Re:Saw this on Digg by xlsior · · Score: 5, Informative

      Actually slightly more elaborate: SQL 7 SP3 was also affected, plus they wrote the password to not one, but two files:

      Summary
      On May 30, 2000, Microsoft released the original version of this bulletin, to announce the availability of a patch that eliminates a security vulnerability in Microsoft® SQL Server® 7.0 Service Packs 1 and 2 installation routine. When run on a machine that is configured in a non-recommended mode, the routines record the administrator password in a log file, where it could be read by any user who could log onto the server at the keyboard.

      On June 15, 2000, the bulletin was updated to note that, under the same conditions as originally reported, the password also is recorded in a second file. A new version of the patch is available that prevents the password from being recorded in either file.

      On May 10, 2001, the bulletin was updated to note that Service Pack 3 is also affected by this vulnerability. A new patch is available for SP3 and we are also providing a command line utility (post Service Pack deployment) to remove all instances of the SA password written in either file via Q263968.



      So not only did they have a similar problem, it persisted for over a year after initially being found & alledgedly fixed.

    11. Re:Saw this on Digg by Anonymous Coward · · Score: 1, Funny

      Although ironically how many people now have...


      grep -ir myrootpass /*

      ...in their .bash_history file from checking their own system for this mistake?

    12. Re:Saw this on Digg by anagama · · Score: 1
      The bug only affects a system at install-time, and it will continue to affect new installs so long as the broken installer is floating around. Patching it today is hardly more effective than patching it on April 6.
      It's been a while since I installed an Ubuntu system, but I believe that during the install you have the option of instaling updates. If you refuse, once you're logged in you'll see the red icon saying updates are available. At that point, it's the user's fault if the file with the PW is still in the system. If you don't have internet access then of course you can't get the updates -- this would then only be an issue if you had a multiuser system without internet access that stored sensitive data in which case you're probably not using a bleeding edge linux distro anyway. So in reality, it doesn't really matter how many broken installers there are. Except for the negative publicity of course.
      --
      What changed under Obama? Nothing Good
    13. Re:Saw this on Digg by drsmithy · · Score: 4, Informative
      However, Microsoft's patching cycles simply suck.

      Actually they reflect reality and are the result of customer requests.

      In managed environments, patches are almost never applied ad-hoc, as they are released. They are collected together then tested and rolled out on a schedule, usually monthly.

    14. Re:Saw this on Digg by Punboy · · Score: 1

      Um, well the patch should be incorporated immediately into the downloadable install ISO, and as such future installations shouldn't have that problem.

      With Windows, I'd have to install, set myself up on the net, wait until I have time to update, wait for IE6 to download, wait for all the drivers to download, wait for all the meaningless crap to download (DirectX, Windows Media Player), then finally get to the new patch to fix the problem, which wouldn't really fix the problem because the log issue happened at install.

      --
      If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    15. Re:Saw this on Digg by aussie_a · · Score: 0, Troll

      To be honest, you get what you pay for.

    16. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      I'm assuming you haven't used Windows in awhile. IE6, DirectX, and WMP are all built into WindowsXP. There is no reason you should have to go download any of them manually. Windows 2000 might only have IE5.5 available, but there is no reason you should need IE6 to get your updates. The updates available for all of them are easily downloadable from microsoftupdate.com or through automatic updates. You might have to reboot one extra time (to get the new Windows Installer) or maybe a second time (not sure about this), but all other patches will install in succession, no need to reboot between each one.

    17. Re:Saw this on Digg by MobileTatsu-NJG · · Score: 1

      "To be honest, you get what you pay for."

      That's convenient.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    18. Re:Saw this on Digg by LnxAddct · · Score: 5, Insightful

      Why the hell is everyone trying to downplay the severity of this? This is a serious issue, its worse than most security problems I've seen with *any* operating system, stop the hand waving, and spread the word instead. This *is* serious and shows poorly on the Ubuntu developers. I mean, how many people have set up linux for their parents or family, chosen Ubuntu and now they have to make sure they go in and change that. Updating won't always work (for reasons listed elsewhere), the only sure thing to do is to physically change it (if ssh access is enabled than its easier).

      One of Ubuntu's big things is giving out free cd's, in particular targeted to people who don't know what linux is. Me and my roommates actually had a 100 or so Ubuntu CDs, most of which we've given away. We both run Fedora, it fits our needs as "powerusers" better, but give out Ubuntu simply out of convenience and to help the "cause". They are both nice distros, but security is definitely one area where Fedora surpasses all of the other distros.

      Fedora makes security transparent to the user, you're running SELinux but would never know it unless you needed to, you're running exec-shield but you'd never know it unless you needed to, all the major services are compiled to randomize memory mappings, but the user is none-the-wiser. That goes for advanced and beginning users. I can install Fedora and be fairly certain that even if somehow my system stopped updating, that any vulnerabilities found would be stopped by these additional measures anyway. The measures in place make most buffer overflows useless and even if you somehow got passed all of the measures to prevent overflows and you got root through an exploit in a vulnerable service (despite that the services don't run as root), SELiux would probably still make your entry pretty pointless.

      The point I'm making is, the differece between a secure OS a non-secure OS are ones where even without updates, the security measures in place are foward looking and work to prevent current unknown attacks. Fedora has damn near perfected this, but if any of the users of the Ubuntu CDs I've given out somehow managed to disable updates, they are screwed now. There should never be a situation like that. Bravo on the response time, but seriously the users most likely to be affected don't read /. or digg and if they don't update then they are screwed more than they were before. I don't like knowing that a local user vulnerability will can give out root access
      Regards,
      Steve

    19. Re:Saw this on Digg by ozmanjusri · · Score: 1
      To be honest, you get what you pay for.

      Exactly. Your opinion is worth every cent I paid for it.

      --
      "I've got more toys than Teruhisa Kitahara."
    20. Re:Saw this on Digg by ZiakII · · Score: 1

      I'm assuming you haven't used Windows in awhile. IE6, DirectX, and WMP are all built into WindowsXP.

      I'm assuming you haven't used Windows in awhile. First you need to download there new patch system, then download there new "genuine advantage" thing. Reboot then download the patches you need, and god help you if your install disk is without SP 2.....

    21. Re:Saw this on Digg by Limax+Maximus · · Score: 1

      Certainly is a big mistake. Likewise not changing the root password after installation is a bad thing just because installers log so much. Come to think of it, it wasn't a root password that was stored, it was the password of the first account which happens to have full sudo rights. Infact, it isn't that bad - I mean you can't exploit it remotely, you need an account on the box before you can which also means it has to be running as a multiuser system. How many people currently use Umbongo as anything other than a personal workstation? Not many, how many that do still leave the first account as the one with sudo access? Even fewer.

      This is a not a serious problem as far as things go - it isn't a remote exploit. Just look back in history... ssh.com version 3.0.0 - now that was a big problem. Log into an account with a null password remotely just by giving the username. That is a security problem. Another is the network management software vendor that ships with tftproot set to being / and leaving the server running as root with no firewall, which also comes with a default account to ssh into but thats all ok because it tells you in the manual 783 pages into it.

      I'll admit it was careless however in the grand scheme of things I would expect roughly zero machines to be rooted because of it compared to how many because of misconfigured or insecure services?

    22. Re:Saw this on Digg by Canordis · · Score: 5, Insightful

      This is a consequence of Ubuntu's different security model. You can't be root in Ubuntu; you have to consciously make the decision to run software as root by typing 'sudo' before it. (Actually you can run a shell under sudo, but still.) The idea was that since you can't login as root, the system is more secure and resists exploits that try to gain root access. This vulnerability is the kind of stupid mistake people make sometimes. A brain fart. Nothing really malicious, and not the sign of an incompetent programmer. Something you could've done.

      Most Windows vulnerabilities are that, too. There's just more of them. And the system is inherently less secure, so it doesn't resist those quite as well. And it's harder to update because it's a monolithic kludge. Of course, some Windows vulnerabilities are just the product of poor design.

      And another thing, if this happened, /. would bash Microsoft insanely. True. There is a bias. But still, I highly doubt the issue would be fixed in the same day, on a Sunday, and the update would be availiable quickly and painlessly.

      --
      I have never made but one prayer to God, a very short one: "O Lord, make my enemies ridiculous." And God granted it.
    23. Re:Saw this on Digg by wertarbyte · · Score: 4, Interesting

      You can't be root in Ubuntu; you have to consciously make the decision to run software as root by typing 'sudo' before it. (Actually you can run a shell under sudo, but still.) The idea was that since you can't login as root, the system is more secure and resists exploits that try to gain root access. This vulnerability is the kind of stupid mistake people make sometimes.

      There is another stupid vulnerability I noticed in Ubuntu, which relates directly to the missing root password: If something goes wrong during system startup (e.g. a failed fsck), usually you are prompted for the root password to open the rescue console and fix the issue. Not so with Ubuntu: Since there is not root password, you will be thrown into a root shell without any hesitation. Kind of strange, is it? One could argue that once you have physical access to the system, you have a lot of possibilities to circumvent the system's security, but I found this issue to be rather harsh.

      --
      Life is just nature's way of keeping meat fresh.
    24. Re:Saw this on Digg by kasperd · · Score: 3, Informative

      Fedora makes security transparent to the user, you're running SELinux but would never know it unless you needed to, you're running exec-shield but you'd never know it unless you needed to
      But occationally it gets the file labels fucked up causing things to stop working. The Fedora people refuse to acknowledge there is a bug, after all you can just touch /.autorelabel and reboot.

      all the major services are compiled to randomize memory mappings, but the user is none-the-wiser.
      If you had actually been using Fedora since FC1, and you happened to be using it on a 586 architecture, you would have found out. Because for some reason they decided that on that architecture they would compile glibc with some options making it pretty picky about the location of the stack. This caused programs to crash at random, and the bug was never fixed. They simply wouldn't accept, that there could be a bug in glibc.

      I can install Fedora and be fairly certain that even if somehow my system stopped updating
      Actually that is not so unlikely to happen. Because on FC4 rhn-applet will always tell you, that there are no updates available. And occationally yum will also say that even when there are updates available. And the Fedora people does not consider this to be a bug.

      And while we are at it, do you know what happens to the umask on a Fedora system? If I decide to set my umask to 077 such that other users cannot read by default, then /etc/bashrc is going to change it to 002. That means anything started from a script using bash as interpreter is going to create files with other permissions than intended.

      I'm not saying Fedora is a bad distribution, after all I do use it on all my systems. You just shouldn't claim it to be so much more secure than other distributions. Yes, this bug in Ubuntu is very bad, but unfortunately they are not the first to introduce a bug that bad.

      --

      Do you care about the security of your wireless mouse?
    25. Re:Saw this on Digg by Canordis · · Score: 2, Informative

      Security against an attack if you have physical, unsupervised access to the box is nil, in any case. Carry a pendrive or a bootable CD containing a rescue Linux distro with you and boot from it. There, you can mess around with system config files and do things like creating your very own SSH account on the machine. Due to the way PCs work, the only way to protect your machine against attacks by someone with physical access to it is to raise a BIOS password or encrypt your files, not a bad idea in any case.

      --
      I have never made but one prayer to God, a very short one: "O Lord, make my enemies ridiculous." And God granted it.
    26. Re:Saw this on Digg by mtenhagen · · Score: 2, Insightful

      Just changing the root password is not enough, this 'bug' was here for months any could have installed a rootkit or did who knows what. This is going to be a fresh install for me.

      And that fresh install will be gentoo. This is really embarrassing for Ubunutu. Iam just so happy my work servers all run solaris.

      --
      200GB/2TB $7.95 Coupon: SAVE90DOLLAR
    27. Re:Saw this on Digg by corvair2k1 · · Score: 1

      Umm...

      For one thing, if they patched the installer itself, MS wouldn't be able to distribute new media. It doesn't matter whether that gets fixed before a service pack, because nobody would see it.

      I'm sure that if this were a vulnerability, MS would immediately place a patch that removes that one word from that one log file. It just hasn't happened (with Windows) yet.

    28. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      I don't think the guy you were responding to is downplaying this. He's just pointing out the fact that if someone installs 5.10 tomorrow with an old cd, the error won't get them because the system automatically updates during the install.

      Also no one should disable updates. One of the main reasons for the updates is security patches. In fact, in between releases, they are just about the only updates. Running a Linux system connected to the net requires, just like Windows, that you update it once in a while. Not doing so is irresponsible. And no, I'm not blaming the user, but the user shouldn't believe that their system is bullet proof just because it's Linux.

    29. Re:Saw this on Digg by Bretai · · Score: 1

      I tend to agree. It is sad to see that it was written in the first place, but worse is that QA didn't find it, which calls into question their process. No free pass on this one.

      On the other hand, I was planning to install it on a non-server/single-user system this week, and this installer bug won't change my mind. I do hope to see assurance from Ubuntu that they will make some changes based on this event. I also want to see if Shuttleworth takes that release delay and puts it to better use than just polishing the GUI.

      --
      Controlling complexity is the essence of computer programming. -Brian Kernigan
    30. Re:Saw this on Digg by Kwiik · · Score: 2, Insightful

      This is MUCH more akin to something such as Dell (or any other vendor, picking on the biggie here) releasing an OEM version of their OS in which the administrator account's password is always the same, or something along these lines -- but wait, usually XP Pro doesn't have any admin passwords on OEM installations, it merely sits in the background, waiting for me to control+alt+delete twice at some home user's logon screen, and log in as administrator without a password. This has been an issue since XP Pro.. it isn't a problem with Microsoft, and it generally isn't even considered a problem. This is an issue with OEM's releasing Microsoft OS's. This issue isn't with Linux, it's with a Linux provider, and as such is completely irrelevant to the entire scenario (unless, of course, you are doing a Microsoft funded study of Windows VS Linux security)

      --
      Vehicle Stars used car search is my current project
    31. Re:Saw this on Digg by Kwiik · · Score: 1
      Quote:
      I'll admit it was careless however in the grand scheme of things I would expect roughly zero machines to be rooted because of it
      I've rooted a couple MUD servers so far
      --
      Vehicle Stars used car search is my current project
    32. Re:Saw this on Digg by Bretai · · Score: 2, Informative

      Well, 50-50 on the responses to this, I think.

      Firstly owning up and making changes:
      "I'm the Ubuntu installer maintainer, so obviously this bug is ultimately my fault. I'm sorry for that - it's clear it shouldn't have sneaked past QA. (We'll be updating our testing processes to be rather more careful about this sort of thing.)" - Colin Watson

      Second quote:
      "We've never updated the ISO images for any released Ubuntu distributions. We don't intend to, either, unless some terrifying and unforeseen showstopper arises." -CJW

      Terrifying showstopper?? You mean like this one?! This could affect their reputation for years. I'd destroy all CDs affected. It's one thing to screw up. It something different to knowingly mail that CD to another unsuspecting user.

      --
      Controlling complexity is the essence of computer programming. -Brian Kernigan
    33. Re:Saw this on Digg by MoogMan · · Score: 1

      You are right. They did. Someone was stupid enough to think it was ok to save a password to a file (unencrypted).

      I would like to point out though, that this is a local privilege escalation only vulnerability, but is still critical nonetheless.

      Lets hope Ubuntu gets a proper security auditing process soon :P

    34. Re:Saw this on Digg by Eideewt · · Score: 1

      Do you think you're making sense? You aren't. I don't have the slightest idea what you're talking about (mounting software?), and I suspect you don't either.

    35. Re:Saw this on Digg by hachete · · Score: 1

      The bias towards linux on slashdot is long documented, well-known, and is indeed, one of its features. I have to question, why are you reading this blog, Mr Anonymous Coward?

      --
      Patriotism is a virtue of the vicious
    36. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      Of course Microsoft have code review processes, and never in history did they such a basic error as this.

      Honestly, I am a Debian devotee, but this is a real lame bit of coding.

    37. Re:Saw this on Digg by FireFury03 · · Score: 3, Interesting

      the only way to protect your machine against attacks by someone with physical access to it is to raise a BIOS password or encrypt your files, not a bad idea in any case.

      Encrypting the hard drive is an answer, but then you have the problem of where do you store the key to access it? If it's stored in the bootloader or the kernel then that can be extracted by the attacker if they have physical access to the system. This is basically the same as the DRM problem - you can encrypt the content but you always have to decrypt it to use it so you need the key stored somewhere and that is always a possible attack vector.

      Also, you need to think very carefully about the ramifications of encrypting data - if you lose the key you're screwed.

      Encrypting the hard drive using keys stored in Palladium is an option but it only protects you from someone removing the drive and installing it in another machine, and again - if you motherboard (with it's Palladium chip) blows up you're buggered.

    38. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      Pen drives? Bootable CDs? You're over-complicating things. init=/bin/sh

    39. Re:Saw this on Digg by EsbenMoseHansen · · Score: 1
      ... Exploits don't get much worse than this a...

      Techically, this is not correct. It amounts to a local privelegdes escalation (which is bad, to be sure), where as the worst are generally considered to be remote exploits.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    40. Re:Saw this on Digg by Anonymous Coward · · Score: 0
      If it's stored in the bootloader or the kernel then that can be extracted by the attacker if they have physical access to the system.

      The key is stored on removable storage. When the system is powered on you decrypt the key with your passphrase and transfer it to kernel memory in order to mount your encrypted filesystems. Just rig a sensor to cut power when the box is physically tampered with and you're set.

    41. Re:Saw this on Digg by Mistshadow2k4 · · Score: 1

      Uh, not exactly. If such a vulnerability were discovered in Windows and Microsoft fixed it in 24 hours, on a weekend, even a lot of MS-haters (such as myself) would express surpise and admiration. Bias against Microsoft? Yeah, but you and the other posters in this thread are greatly exaggerating to make your point.

      --
      I dream of a better world... one in which chickens can cross roads without their motives being questioned.
    42. Re:Saw this on Digg by KidHash · · Score: 1

      If Microsoft had released a patch on a Sunday, everyone would have said how completely irresponsible it was to release a patch on a non-working day

    43. Re:Saw this on Digg by Asic+Eng · · Score: 1
      how many people have set up linux for their parents or family, chosen Ubuntu and now they have to make sure they go in and change that.

      Does it matter much in that case? The root password will only be available to users of the system, so for single-user machines this shouldn't be much of a worry. You can just delete the logfiles next time you visit.

      However if you've set up a machine in a business or university setting, then you have a big problem on your hands. You basically have to assume that at least one user of the system has the password now, with all the consequences of that. A patch may not be sufficient, all sorts of things could be installed on the system by now.

    44. Re:Saw this on Digg by Anivair · · Score: 1

      Actually, windows is a really crappy OS and if MS had made this problem despite the fact that they put out an OS with nothing approaching half the software that ubuntu has and nowhere near half the expandability or security, then yes, I'd be upset. If you have 1 job and you screw it up you get hit harder than the guy who made the same mistaken but who does a dozen jobs.

    45. Re:Saw this on Digg by tolan-b · · Score: 1

      No I believe you're wrong.

      Yes this is an extremely serious bug, but not for your average home user.

      Your average home user doesn't run sshd (it's not installed by default) and even if they do, I doubt they're handing out remote shell access. Barring that, this bug is only an issue if someone has physical access, and if they do then there's no security anyhow.

      The people this is really an issue for is anyone running Ubuntu as a server and allowing remote shell access, and for them it's an extremely serious issue I agree.

    46. Re:Saw this on Digg by jascat · · Score: 1
      I hate to burst your bubble, but you can enable the root account on Ubuntu. It's a simple sudo passwd root. Following that, you can be root.

      I'm still confused why it's considered a stupid idea to disable the root account though? I think it's a great idea. There are few times that your really need to be root. Most things should be done with sudo, if you need root permissions.

      You know, I have to maintain Windows servers at work. I wouldn't call their system inherently insecure. No less secure than Linux at least. If you don't use good passwords, don't update packages and run lots of open services, a Linux box can be compromised just as quickly as a Windows machine. The OS is rarely the weakness in the security chain; most of the time, it's the admins running the box.

    47. Re:Saw this on Digg by petermgreen · · Score: 1

      set a bios password and a bootloader password and lock the case

      that should be enough to stop most people even with physical access (obviously if they have an angle grinder they can still get in but generally people don't carry those)

      at the end of the day you reach a point with computer security where the owner becomes the weakest link. there isn't much you can do after that.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    48. Re:Saw this on Digg by fatphil · · Score: 1

      Why post AC?
      I'm a huge pro-linux advocate, and I would have said exactly the same thing as you, and been proud to have my name attached to it.

      The more idiots that make fuckwitted mistakes the more it dilutes the _sound_ reasons for running linux.

      This was not an 'oops' this was a stupid fuckup.

      Glad to be running Debian,
      FP.

      --
      Also FatPhil on SoylentNews, id 863
    49. Re:Saw this on Digg by croddy · · Score: 1
      Everything on my system is encrypted except /boot.

      Also the case has two locks on it :-P

    50. Re:Saw this on Digg by wertarbyte · · Score: 1

      init=/bin/sh

      This won't work if your bootloader is set up accordingly. Both lilo and grub can be configured not to accept modifications without authentification.

      --
      Life is just nature's way of keeping meat fresh.
    51. Re:Saw this on Digg by germanStefan · · Score: 1

      first thing I do on an ubuntu install is sudo passwd and now root has a password : ) Then I create my user account and logout and log into the new one. I do this because my home partition usually lives on a separate partition and I just ignore it during install to not accidentaly whipe it. Then I just mount it at a later time.

    52. Re:Saw this on Digg by cyanoacry · · Score: 1

      FreeBSD has had this as its default behavior for years now; if the system fails during FSCK it'll drop you down into a root shell without hesitation.

      Albeit, it can be disabled in /etc/ttys; Ubuntu probably has the same option lying around somewhere in its configuration.

    53. Re:Saw this on Digg by chris+macura · · Score: 1

      Yeah, but really, what moron would run Ubuntu as a server system. It's full of use-friendly bloat, it's still a very new distro (what one or two years old?), and has no formal corporate backing behind it (except one dude).

    54. Re:Saw this on Digg by Antique+Geekmeister · · Score: 1

      Actually, the RedHat kickstart installers used to allow this behavior years ago. They switched to allowing the kickstart tools to use an encrypted password, which was a good move. But you could fairly easily pull the kickstart file off the tftp server in most setups, and it may have been stored in plain-text in the kickstart logs, so it was a bad approach then, too.

    55. Re:Saw this on Digg by Lumpy · · Score: 1

      That is a non issue. anyone with a floppy can have the exact same access.

      Hell I used to hack cromemco minicomputers that way. I carried around a 5.25 and a 8 inch floppy with a basic filesystem on it, boot from it, erase the root password on the main hard drive, reboot and have full access. It made me huge $$$ in highschool and college because of a integrator around these parts that would set the root password and refuse to tell the computer owner (Same scam that security alarm installers pull not telling you the installer code) so I made $100.00 a pop (Lots of money in 1988) cracking these systems and giving the owner control again. Xenix System V setups were the same.

      If they have physical access to your machine, you can not keep someone from becoming root and owning you completely.

      --
      Do not look at laser with remaining good eye.
    56. Re:Saw this on Digg by Lumpy · · Score: 1

      I DARE you to log in as root on ubuntu when it has not been enabled. Knowing the root password and getting in are two very different things.

      you have to jump through hoops to enable root login. Most ubuntu installs do not have this enabled. And if you have physical access, you do not need to know the root password to gain root access on ANY linux or BSD install.

      --
      Do not look at laser with remaining good eye.
    57. Re:Saw this on Digg by tolan-b · · Score: 2, Funny

      While I wouldn't quite put it as trollfully as you have, I would agree with you that it wouldn't be my first choice for a server OS. That'd probably be Debian stable.

    58. Re:Saw this on Digg by Lumpy · · Score: 1

      Really? so how did the "hackers" magically enable root access so they could have remotely installed that rootkit? Because if I have physical access to your machines even your solaris boxes are easily accessed with root level access.

      It's a non issue unless root login was enabled and remote access services were enabled, AND there was a way for someone to access that machine by breaking through your network security. If your network security is that bad you have bigger issues to deal with than a default root password available in a log file for an account that is disabled.

      --
      Do not look at laser with remaining good eye.
    59. Re:Saw this on Digg by LnxAddct · · Score: 1

      You are certainly right in most cases, but what I was getting at is that a local user vulnerability would allow someone to attack through a web browser of an unprivileged user and still gain root access. There aren't many, but I do recall a few severe vulnerabilities allowing one to execute arbitrary code through firefox or thunderbird on linux machines.
      Regards
      Steve

    60. Re:Saw this on Digg by LnxAddct · · Score: 1

      While you are right to an extent about remote access, please see this comment of mine.
      Regards,
      Steve

    61. Re:Saw this on Digg by rjshields · · Score: 1
      I've rooted a couple MUD servers so far
      Let me be the first to congratulate you. You must be very proud.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    62. Re:Saw this on Digg by Linegod · · Score: 1

      >the system is more secure and resists exploits that try to gain root
      >access.

      You're fooling yourself. With Ubuntu, 'stupid user tricks' like in the Windows world could now make it possible for external forces to have root via sudo.

      This is not the 'sudo' most Linux users would encounter - a crafted set of commands that have been researched then allowed access to - it is an abomination - sudo = root.

      --
      -- I care not for your foolish signatures.
    63. Re:Saw this on Digg by sirReal.83. · · Score: 1

      The story is inaccurate. The password that's left in cleartext is that of the first normal user created. That user has sudo access to become root. With something as serious as this, unless you don't have any Ubuntu installs, it's really best to read the article.

    64. Re:Saw this on Digg by Lumpy · · Score: 1

      even then it's a extremely limited risk for remote attack. if you can not get in the machine to get access to the file that contains the password then it does nothing for you. if you cangain access then you already have compromised an account that has access alreaddy.

      --
      Do not look at laser with remaining good eye.
    65. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      " Ubuntu put out the patch as soon as it was discovered." - by Parham (892904) on Monday March 13, @12:54AM

      That could be a problem in & of itself - how much was this newly released patch tested is the question on that account on the Ubuntu folks' part?

      That's something to think about really: Was it fully fixed in other words, or just fixing a single potential hole, only to leave others (or, create others)...

      (That's the problem with 'quick-fixes' that aren't tested fully for all possibles - what else they may affect adversely).

      APK

    66. Re:Saw this on Digg by Zaiff+Urgulbunger · · Score: 1

      +1 for use of the word "trollfully"! I like that!! :D

    67. Re:Saw this on Digg by 1800maxim · · Score: 1

      I mean, how many people have set up linux for their parents or family, chosen Ubuntu

      Let me be the first to say... NONE?

    68. Re:Saw this on Digg by ultranova · · Score: 1

      Security against an attack if you have physical, unsupervised access to the box is nil, in any case.

      Which is why you want to equip your computer case to become a full-blown mecha. Nothing says "Security" like having a computer grow metal tentacles and go Urotsukidoji on an intruder...

      ...except, perhaps, those Japanese android girls with neutronium armor and rapid-fire inbuilt nuclear missile launcher. You could even enact a real-life reproduction of the best pieces of your porn collection with them.

      Now that's a case mod I'd like to see ;).

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    69. Re:Saw this on Digg by A+beautiful+mind · · Score: 1

      This is stupid. The vulnerability is a local root "exploit". You're saying you're making a reinstall after one of them has been found just to make sure?

      I'm not using Ubuntu, btw. I'm a hardcore debian-living-on-the-edge-sid-compile-your-own-ker nel-with-patches-written-by-yourself-on-top-of-grs ec-and-pax user.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    70. Re:Saw this on Digg by JBMesserly · · Score: 1
      Just changing the root password is not enough, this 'bug' was here for months any could have installed a rootkit or did who knows what. This is going to be a fresh install for me.

      The password is only available to someone with local access to the system. If your system only has one account (like mine), someone would only be able to read the password if they knew it already.

      This vulnerability is serious for computer lab setups, but it's irrelevant for home users that aren't running any remotely accessibly services.

    71. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      How about encrypting the key with a passphrase?

    72. Re:Saw this on Digg by Canordis · · Score: 1

      The best way of encrypting your hard drive is by having the encryption key stored in a physical key - An USB pendrive - that you carry around with yourself. However, security against this kind of attack is usually unnecessary; most people don't have data so valuable they have to worry about someone breaking into their houses at night and stealing their files.

      --
      I have never made but one prayer to God, a very short one: "O Lord, make my enemies ridiculous." And God granted it.
    73. Re:Saw this on Digg by Kwiik · · Score: 1

      supposedly =\

      --
      Vehicle Stars used car search is my current project
    74. Re:Saw this on Digg by tolan-b · · Score: 1

      sure, but then the arbitrarily executed code would be running as the user that the password is for.. That is, the system is already compromised and having the running user's password is a moot point.

    75. Re:Saw this on Digg by An+Onerous+Coward · · Score: 1

      While I agree that he's probably overreacting, and I'd like to think well of Ubuntu as much as the next guy (I'm biased), your advice seems off base to me. Assuming that "I don't have to worry about X, because I have Good Security" seems like the fastest route to Bad Security. Now, in a situation where root is disabled, and only one user has remote access, changing the password should be sufficient.

      But there are cases when you want to give unprivileged users remote access, and also cases where you might worry about a local exploit. If he thinks this displays the sort of incompetence that requires a distro switch, I don't think that's evidence that he's a bad sysadmin.

      --

      You want the truthiness? You can't handle the truthiness!

    76. Re:Saw this on Digg by Lumpy · · Score: 1

      Apply the patch? yes. run around freaking out over a medium/low risk? nahh.

      This risk is much lower than almost every remote exploit that has existed. I would certianly only class it as a medium risk and nothing to lose sleep over. unlike a SSH exploit or a poorly written php script on a web server.

      The intruder would have to gain access to the machine in order to read the file. if he has access under ubuntu then knowing that password is of little value when they already have access as all ubuntu users by default have the ability to run with root privs.

      --
      Do not look at laser with remaining good eye.
    77. Re:Saw this on Digg by skiman1979 · · Score: 1
      This vulnerability is the kind of stupid mistake people make sometimes. A brain fart. Nothing really malicious, and not the sign of an incompetent programmer. Something you could've done.
      Yes, but shouldn't this kind of "stupid mistake" be caught in testing before the software is released to the public? The use/storage of the root password is something I'd think would be HIGHLY controlled in any distro. I do commend the Ubuntu team for fixing it so quickly, on a Sunday, but it still should NOT have been released to the public in the first place.
      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    78. Re:Saw this on Digg by skiman1979 · · Score: 1

      Correct me if I'm wrong, but I thought that if you boot any distro into single-user mode, it would not prompt for the root password. I've seen it automatically dump into a root shell before on some distros (Mandrake comes to mind). With physical access, it's almost pointless to prompt for the root password in single-user mode because if it did, the user could just boot off a liveCD and change the root password anyway.

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    79. Re:Saw this on Digg by Armando_Mcgillicutty · · Score: 1
      God Help You? Why?

      Either keep a copy of SP2 on a seperate cd, or wait the extra hour to download it. I'll take help from a supreme being in aspects of my life that I can't control, but for patching Windows, I think it would be beneath him.

      Ramen

    80. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      If you want to compare Windows without SP2, you might as well compare it to Ubuntu (or any other distro) that was released a couple years ago - not some new ISO release that has these patches included.

    81. Re:Saw this on Digg by petermgreen · · Score: 1

      thats what bios passwords are for

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    82. Re:Saw this on Digg by stedo · · Score: 1

      In managed environments, patches are almost never applied ad-hoc, as they are released. They are collected together then tested and rolled out on a schedule, usually monthly.

      However, with the Microsoft system of monthly patch releases, you are forced to wait up to a month for any given patch. You are effectively tied into Microsoft's schedule. With any Linux distro's patch cycle (release as soon as possible), you can choose when to install them. These "managed environments" can install the patches on a monthly basis, others can install them bi-monthly or the second they hit the servers. A one-line script will suffice to automatically download and install the patches on the second Tuesday of every month, if that floats your boat.

      With the MS system, everyone waits a month. With the open-source system, everyone waits the amount of time they choose to wait.

    83. Re:Saw this on Digg by MadMidnightBomber · · Score: 1

      However, Microsoft's patching cycles simply suck.

      Actually they reflect reality and are the result of customer requests.

      You mean MS customers suck?

      In managed environments, patches are almost never applied ad-hoc, as they are released. They are collected together then tested and rolled out on a schedule, usually monthly.

      Unfortunately, a lot of the (in)famous worms/exploits have appeared around the 17-25 day mark. Oops!

      Disclaimer: I used to do this for a living. Scheduled monthly patches are all very well, but you have to be prepared to go for it when the risks of not rolling out are worse than the risks of rolling out not-quite-fully-tested patches.

      --
      "It doesn't cost enough, and it makes too much sense."
    84. Re:Saw this on Digg by BluenoseJake · · Score: 2, Informative

      Let me the first to say...ME

    85. Re:Saw this on Digg by HiThere · · Score: 1

      True. For Windows issues you turn in the exact opposite direction.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    86. Re:Saw this on Digg by HiThere · · Score: 1

      Yah... and to me the fact that non-special users have sudo is a bit scary. I had presumed that this was only automatically granted to the first account created (and that good security would suggest that I create another account to use as my main account). To hear it repeatedly suggested that this isn't so is a bit scary. Even the first strikes me as insecure...though not drastically so.

      I have Ubuntu installed (two versions in two partitions) and have been considering migrating to it if Etch didn't quickly improve (except that Ubuntu seems to have the same problems with networked printing to an HP PSC 2510. O, well, I can always boot into Sarge whenever I want to print.) This repeated assertion that all users are created with sudo privileges, however, disturbs me greatly. The first user is one thing, all users is something much more serious.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    87. Re:Saw this on Digg by wertarbyte · · Score: 1

      That is a non issue. anyone with a floppy can have the exact same access.

      No, since there is no disc drive, and because you cannot boot from it.

      --
      Life is just nature's way of keeping meat fresh.
    88. Re:Saw this on Digg by wertarbyte · · Score: 1

      Correct me if I'm wrong, but I thought that if you boot any distro into single-user mode, it would not prompt for the root password.

      It's called "single user mode", not "root me mode". Neither SuSE nor Debian will drop you into a rootshell.

      I've seen it automatically dump into a root shell before on some distros (Mandrake comes to mind). With physical access, it's almost pointless to prompt for the root password in single-user mode because if it did, the user could just boot off a liveCD and change the root password anyway.

      No. How will the user be able to boot from a CD, if he cannot put any media into the drive, since booting fro it has been disabled, it is either locked or not even installed?

      --
      Life is just nature's way of keeping meat fresh.
    89. Re:Saw this on Digg by skiman1979 · · Score: 1
      It's called "single user mode", not "root me mode". Neither SuSE nor Debian will drop you into a rootshell.
      Running Fedora Core 4. When I enter the Grub menu, I can edit the kernel line to go into single user mode. This drops me into a root shell, which is evident by running 'whoami' which returns 'root'. It did not ask for a password. I simply turned the machine on, told it to go into single user mode, and now I'm in a root shell without authentication. It even lets me change root's password at this point.
      No. How will the user be able to boot from a CD, if he cannot put any media into the drive, since booting fro it has been disabled, it is either locked or not even installed?
      That's a good point, IF the system was configured to not boot from a CD. Even if CD booting is disabled in BIOS, the user can still cut the power, turn it on, and enter single user mode as I stated above. Once you have physical access, game over. It worked in FC4 so I'm sure it will work in other distros.
      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    90. Re:Saw this on Digg by wertarbyte · · Score: 1

      That's a good point, IF the system was configured to not boot from a CD. Even if CD booting is disabled in BIOS, the user can still cut the power, turn it on, and enter single user mode as I stated above.

      No, he might not be able to enter single user mode. And even if he does, what will happen? He will be prompted for the root password.

      Once you have physical access, game over.

      I don't think that there is only one level of physical access - Even if I leave keyboard, mouse and display to the user, I can still lock the computer itself into a box. Not everyone working on a computer has the opportunity to dismantle it.

      It worked in FC4 so I'm sure it will work in other distros.

      So Fedora is just as broken in that issue as Ubuntu. That's why I stick to Debian, it may be as conservative as 20 year old tinned food, but I am sure that this would have been considered a critical security bug. (No flame war intended)
      --
      Life is just nature's way of keeping meat fresh.
    91. Re:Saw this on Digg by skiman1979 · · Score: 1

      Well configuring the computer to not boot from CD, and locking the tower in a steel cabinet is good physical security, but not everyone does that. I was under the impression that we're talking about the distro itself, whether it's Ubuntu or Debian or Fedora Core, or something else. I verified Fedora works that way with single-user and I am almost certain Mandrake 9.x and 10.0 did as well. I may check Gentoo when I get home if I remember. I wonder if any of the BSDs prompt for the root password on single-user mode. I have PC-BSD, which is basically FreeBSD 6, so I may check that one out too. I'm sure there are some distros, like Debian, that DO prompt for the root password. Indeed it should be seen as a critical security bug to not prompt for it. Windows has the same critical bug, as in you can go into safe mode and by default it doesn't have an administrator password assigned. At least Linux HAS a root password in most cases.

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    92. Re:Saw this on Digg by Anonymous Coward · · Score: 0

      First thing I always do on an Ubuntu install is add a root account and clear the install user from the sudo file.

      Am I lucky or just paranoid?

    93. Re:Saw this on Digg by anethema · · Score: 1

      It is severe for sure, but it is mitigated by a couple things.

      For one, as many have pointed out, its a local-only bug, and if the person has physical access, you are screwed anyways.

      But what i find to be more important is...ubuntu patches are instantly released over its update system, and as long as you actually go on your computer, you will see the request to install the patch right away. The patch erases the log.

      Also when installing ubuntu, the newest versions of all pkgs are downloaded from the internet if possible. So any new install with internet access is not veulnreble.

      PS sorry for all the bad spelling

      --


      It's easier to fight for one's principles than to live up to them.
    94. Re:Saw this on Digg by theLOUDroom · · Score: 1

      Actually they reflect reality and are the result of customer requests.

      Microsoft has a monopoly. What they do is not a direct reflection of consumer demand.

      In managed environments, patches are almost never applied ad-hoc, as they are released. They are collected together then tested and rolled out on a schedule, usually monthly.

      Perhaps you mean mis-managed?
      Patches should be released when they're ready. Tools should apply them once this happens.
      Wating around for a specfic day of the month is silly.

      Unbuntu is not the only distro to fix things on a timely basis. Gentoo does this as well.

      You don't seem to get it:
      Every set of software may have vulnerabilities, what sets them apart from each other is:
      A) The number of vulnerabilities
      B) The severity of these vulnerabilities
      C) The time to fix these vulnerabilities

      C) IS IMPORTANT.

      I don't care what the vendor's patch cycle is, I want it fixed BEFORE someone exploits it. Do you think attackers wait until a specfic day of the month before breaking into your system?

      With computers, people tolerate shit they would never tolerate anywhere else. If the front window of your business was smashed, would you accept the response, "We only fix windows on the second Tuesday of each month."?
      Of course not, you'd call up someone else to fix it and get them out there asap. You're not going to take foolish risks because of someone else's arbitrary constraints.

      --
      Life is too short to proofread.
    95. Re:Saw this on Digg by Limax+Maximus · · Score: 1

      So when did MUDs last give you a shell on the host that allowed you to direct access any of the file system. Sounds like those have a fundomental design floor too.

      Obviously as I'm not a 1337 h4x0r I've got little chance of understanding the techniques you use to hack anything.

    96. Re:Saw this on Digg by Ms_Phitt · · Score: 1

      Yeah, the very first thing I thought to myself was, Never mind the response time to patch it, how long have the black hats been quietly harvesting root passwords before this problem went public?? I mean, it's been out since October, and they're about to release the next version already. How many production servers with sensitive data have been quietly compromised by those in the know?

      The day before all this came out, I'd just been explaining to a fellow Linux user at a LUG meet, why I feel K/Ubuntu is not polished enough. It turns out, you see, that when I went to install a newer version of the Madwifi (Atheros wireless) driver on Kubuntu 5.10, I spent many fruitless and frustrating hours just trying to get it past make. Funny, it worked just fine on SUSE. ??? So a whole lot of picking through information on the web led me to discover that the kernel for K/Ubuntu 5.10 is compiled by default with gcc 3.4 ...but the version of gcc installed for you by default is 4.0. So of course you're going to have problems the first time you try to compile anything! You have to hack a configuration file to force it to use gcc 3.4 and then it works just great. Well, what kind of mickey mouse operation do they have running over there, I asked myself, if things are guaranteed to screw up with the default configuration they give you?

      And now this??

      These are serious screwups. I, for one, won't be touching K/Ubuntu for a long time. I just don't trust it any more.

      I'm as much of an enthusiast as any. I take every opportunity to slam M$'s products and business practices whenever I feel it's deserved (which is a whole hell of a lot). I am posting this from Linux, and I don't work for or have any other vested interest in any other distro. I'm someone that just wants a secure, stable, polished OS that I can count on to work. And right now, it's obvious to me that K/Ubuntu is not it.

    97. Re:Saw this on Digg by drsmithy · · Score: 1
      Microsoft has a monopoly. What they do is not a direct reflection of consumer demand.

      You just keep telling yourself that if it makes you feel better.

      Perhaps you mean mis-managed?

      No.

      Environments that roll out patches ad-hoc, with no scheduling or testing, are "mis-managed".

      Patches should be released when they're ready. Tools should apply them once this happens.

      Yes, because IT workers just love getting unexpected phone calls about things breaking.

      Wating around for a specfic day of the month is silly.

      Wrong. Do the word "scheduled maintenance" even exist in your vocabulary ?

      Unbuntu is not the only distro to fix things on a timely basis. Gentoo does this as well.

      Truly two pioneering powerhouses of the enterprise Linux world.

      You don't seem to get it:

      On the contrary. I do "get it".

      I don't care what the vendor's patch cycle is, I want it fixed BEFORE someone exploits it. Do you think attackers wait until a specfic day of the month before breaking into your system?

      If you seriously think properly managed environments do the equivalent of turning Windows Update to "Automatically Download and Install Updates" then you're either very naive or very stupid. Either way, if you're at all involved with actually following your own advice in somebody's IT infrastructure, you (and they) are in for a world of hurt one day.

    98. Re:Saw this on Digg by Bacon+Bits · · Score: 1

      Exact same thing happened to me when I tried Slackware once, but IIRC the distro was mistakenly shipped with the wrong binaries. The kernel was compiled with a different version of gcc than was installed on the distro disk, and at the time I couldn't figure out how to fix the problem after discovering what it was (this was my second or third Linux experience). The whole thing soured me for a few weeks on *nix as a whole.

      --
      The road to tyranny has always been paved with claims of necessity.
    99. Re:Saw this on Digg by theLOUDroom · · Score: 1

      Wow! You are exactly the sort of guy I was talking about!

      You just keep telling yourself that if it makes you feel better.

      I am simply stating what is common knowedge. Being convicted of antitrust violations means nothing to you? What I'm saying has been argued and proven in a court of law and you have not provided a single shred of evidence to the contrary.
      Tell you what, go convice both the US and the EU that Microsoft actually isn't a monopoloy, then we'll talk about it.

      Environments that roll out patches ad-hoc, with no scheduling or testing, are "mis-managed".

      This is a straw-man argument. There is nothing about releasing a patch when it's ready that means there can be no testing or "scheduling" before you do so.

      You seem to exist in a fantasy world where logical fallacies don't exist.

      In the REAL world it is possible to finish something on ANY day of the month. (It is also possible to have your server broken into on ANY day of the month.)

      If you want to do N days of testing on your patches before you install them, then that's your decision. The day of the month you get these patches, does not affect the rate at which time passes by any mystical means so any unnecessary delays are IN ADDITION TO THE N DAYS OF TESTING!

      In my opinion, you're much better off having a backup system than trying to "test" patches. While you're "testing" the patch, someone else is reverse engineering it to find the bug it patched.

      I'd say a big part of your problem is that you don't seem to understand there are worse things than downtime.
      Scheduled maintence is for upgrades and minor bug fixes. It's like changing your oil.
      Remote root expliots are like having a blowout or more correctly having your power windows stuck down in the middle of Harlem.

      You can make all the emotional arguments about how professional you are, but in reality your client's ass is hanging out it the wind until that fix is installed.

      Sure it's nicer for you to have ONLY scheduled maintence. It keeps your hours nice and predictable. In reality it's really not any different than a locksmith refusing to work at particular times.

      It's not that work he's doing at mindnight is automatically worse than work he's doing at noon. It's not that he can't test his work at midnight. He just doesn't like getting up at midnight to solve his client's problems.

      --
      Life is too short to proofread.
    100. Re:Saw this on Digg by Kwiik · · Score: 1

      Dumbass, I had an account on the servers to begin with. Key word being rooted.

      --
      Vehicle Stars used car search is my current project
  3. Security Audit by RunFatBoy.net · · Score: 0, Redundant

    A thanks to Teotihacan for finding this. I'm sure that eventually several sysadmins would have failed security audits because of this. -- Jim http://www.runfatboy.net/

  4. Just in case by dtfinch · · Score: 0

    You give someone local access to your system, and are worried about them reading your user password (Ubuntu has no root password by default), but not worried about them just copying all your files.

    1. Re:Just in case by MichaelSmith · · Score: 1
      Ubuntu has no root password by default

      No it has a random password, which I assume is the password in the log file.

    2. Re:Just in case by Andrew+Tanenbaum · · Score: 2, Informative

      No, it has -no- root password by default. In Linux, you generally disable an account by removing its password.

      The password in the log file was the primary account's password. This account is a member of the sudoers group, so the same password can get you root access.

    3. Re:Just in case by dtfinch · · Score: 2, Informative

      If your /etc/shadow has something like "root:*:13039:0:99999:7:::", there's no root password.

    4. Re:Just in case by miro+f · · Score: 2, Interesting

      no need to give them local access to your system, they can easily read it if you have an ssh server set up for example. And no it doesn't display the root password, but it displays a username/password combination which has access to sudo. So just as bad.

      --
      being vague is almost as cool as doing that other thing...
    5. Re:Just in case by Anonymous Coward · · Score: 0
      no need to give them local access to your system, they can easily read it if you have an ssh server set up for example
      If you give somone ssh access that is considered local access.
    6. Re:Just in case by kaarlov · · Score: 1

      Script kiddie can often gain access to world readable files in the system for example via buggy web apps, at least with the default configuration. But it doesn't help much if they are unable to run any commands and even if they are, they still don't have root privileges before they can exploit some local vulnerability.

      In this case if the computer in question has sshd installed and the original password for the first user, there's full root access for any cracker to use for whatever he/she wants. Spamming, using as a lauchpad for future attacks, hosting phishing sites, you name it.

      Just having read-only access to files isn't nearly as bad.

  5. Time From Discovery to Patch by ergo98 · · Score: 5, Insightful

    Invariably, a lot of the comments to this story are going to commend the team on the incredibly speed with which they've released a patch, and there'll probably be some comments comparing it to closed software. Yet another victory for the open source model!

    Yet how long has this massive fault been sitting there waiting for the first person to discover it? How do we know that the public acknowledgement of it was the first actual discovery of it?

    I believe Breezy was released in October, so for five months install logs have been sitting, world-readable, often with the root password. Surely in that time someone well less savoury motives did a simple grep of an install looking for the most trivial of faults.

    Feeling confident in the speed of the patch relies upon the belief that no one with nefarious motives discovered it before a benevolent bug submitter did.

    1. Re:Time From Discovery to Patch by MichaelSmith · · Score: 5, Insightful
      I believe Breezy was released in October, so for five months install logs have been sitting, world-readable, often with the root password. Surely in that time someone well less savoury motives did a simple grep of an install looking for the most trivial of faults.

      Anybody with an ounce of common sense should know that you never leave a critical password floating around in plain text. Not in memory, not in swap and you never print it to a bloody log file. Who's going to want to check it?

      Passwords are supposed to be non-reversable. The NetBSD installer seems to run the passwd command directly during installation, so the installer never sees the password. Did somebody get the bright idea of prompting for the password in their own UI when the graphical installer was done? This should have been caught. The design of the installer is at fault. Not the log file. I wouldn't count this one as fixed until the installer never sees the password. Sorry for the rant.

    2. Re:Time From Discovery to Patch by Homology · · Score: 1
      Invariably, a lot of the comments to this story are going to commend the team on the incredibly speed with which they've released a patch, and there'll probably be some comments comparing it to closed software. Yet another victory for the open source model!

      Any OS vendor, be it open sourced or not, would very quickly patch a security hole of this magnitude. Anyone claiming this as a "victory for open source model" does not know what they are talking about.

      I believe Breezy was released in October, so for five months install logs have been sitting, world-readable, often with the root password. Surely in that time someone well less savoury motives did a simple grep of an install looking for the most trivial of faults.

      Seems that the developers/support/whatever seldom reads the install log, if ever, or the very big security hole would have been noticed earlier. If noone reads it for trouble shooting, what is the point of the install log? This whole episode is worrisome, from a security point of view. If they make this type of error, what else is there?

    3. Re:Time From Discovery to Patch by MeanSolutions · · Score: 1

      For starters, and it has been pointed out several times already, it is not the root password stored in the file. During the normal install you don't even get the option to set the root password. There is no root password in the default install and that can not be pointed out enough times as people persistently get it wrong. From what I have read, it does not affect the expert install for some reason and the problem does not exist in Dapper Drake (which I have used Flight3 through to Flight5 of).

      Yes, this is a critical flaw, no denying that. It should have been found earlier, of course. The turn-around from Colin is impressive. The fact that a new ISO may be issued with the fix included is commendable.

      Your insinuations that Canonical and Colin has known about the problem for ages is groundless and slanderous. Read the Malone/Launchpad bugreport and it instantly becomes clear that they did not know about it.

      I still have full faith in Ubuntu.

      --
      Swedish, but resident in the UK since 1996.
    4. Re:Time From Discovery to Patch by m50d · · Score: 1
      Yet how long has this massive fault been sitting there waiting for the first person to discover it? How do we know that the public acknowledgement of it was the first actual discovery of it?

      We don't. But you'd be surprised how many of the "good guys" do bother to go through looking for problems, in some quite thorough fashion. There will be times when the bad guys have the vulnerability first, but I really don't think it will be that often, maybe 20% of the time.

      --
      I am trolling
    5. Re:Time From Discovery to Patch by Anonymous Coward · · Score: 0

      Sorry to burst your bubble, but:

      1/ I have ubuntu 5.10
      2/ I checked: the log file is readable and contains the password I gave at install (tghanksfully, not the one I use now)
      3/ I did a system/administration/update, and the panel says that I am up to date.

      I had to do a command line: apt-get upgrade / apt-get install to get the patch. For 95% of the users, this means that they will NOT get the patch delivered to them.

    6. Re:Time From Discovery to Patch by Anonymous Coward · · Score: 1, Interesting

      > Who's going to want to check it?

      Personally, I stumbled on the flaw last month, completely by accident, reading logs on a system to which I have remote (unprivileged) access. Naturally I had to test the (enabled) root account to see if it worked. It did. So strike one for that whole "more eyes" thing. Posting anonymously for obvious reasons.

    7. Re:Time From Discovery to Patch by Anonymous+MadCoe · · Score: 1

      I have to agree here...

      If a commercial vendor would ahve had a problem like this the Slashdot crowd would have been crying "bad engineering!"..

      Now it's spun to a victory?

      Sounds like any coorperate PR department to me ;-)

    8. Re:Time From Discovery to Patch by Anonymous Coward · · Score: 0

      I don't follow the Ubuntu community, or Ubuntu, (part of the reason I was looking at the logs was to figure out some obscure cofinguration settings). I thought that if the cleartext password was actually all that serious, surely someone would have noticed by now, ergo either I was making a mountain out of a molehill, or someone else would have fixed it already.

    9. Re:Time From Discovery to Patch by xenocide2 · · Score: 2, Interesting

      The design of the installer is naturally at fault. The way it works currently is it stores the answers to a bunch of questions asked during install, and then feeds them into the install system. If the answers list was simply a log, the easy fix would have happened ages ago: simply don't output the password to the file. Clearly the system is using that to send to the create first user script. That script is supposed to remove that entry, but it appears to have temporarily broken. I gather its generally useful for repeated installs, but storing plaintext passwords in a file is still a bad idea, reguardless of how easy it is to access it. I suspect the guys responsible for the installer will be able to provide a better discussion of what went wrong, how to fix it, and how to test for similar errors in the future. Theoretically, you shouldn't have any storage on disk for it, even for the duration of an install. But realistically, the window during which you could convievably attack this temporary storage is very miniscule. The answers list is pretty long and deleting a line from it wouldn't likely result in data getting duplicated on disk. Maybe with a full journaled FS, but I'm not sure on that one. Still, I'd much rather see a fix more along the lines you've described above.

      The bigger scare factor here is that the Ubuntu repos are presumably running Ubuntu. You can moan on about md5 security and RSA signatures, but when the private keys are readable all bets are off. Let's hope they run netBSD.

      I should point out that while I am using breezy, I don't have this problem in my install log and neither did anyone else I know using Ubuntu. Probably because I installed it long long ago, before this particular vuln existed. Additionally, I've read it doesn't happen in dapper, the next version in testing. Oh, and calling Ubuntu's installer "graphical" would be far too generous.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    10. Re:Time From Discovery to Patch by ajs318 · · Score: 1

      "Good guys" outnumber "bad guys". There is always a greater probability that any bug in Open Source software will be discovered first by a "good guy" than by a "bad guy".

      One question that ought to be asked is: Does Ubuntu actually expose any services to the outside world by default? I know Debian doesn't. If you actually need physical access to the box in order to exploit a security threat, it's not that serious anyway: with physical access to a machine, most security measures can be defeated.

      --
      Je fume. Tu fumes. Nous fûmes!
    11. Re:Time From Discovery to Patch by rmstar · · Score: 1

      Anybody with an ounce of common sense should know that you never leave a critical password floating around in plain text. Not in memory, not in swap and you never print it to a bloody log file.

      As a ubuntu user, who just looked at his line-noise password (for security, you know?), in FUCKING CLEARTEXT, I *really* want to know what the fuck they were thinking. And I want to know the name of the idiot who is responsible.

      Writing a password to a log file shows a level of incompetence that is breathtaking.

    12. Re:Time From Discovery to Patch by makomk · · Score: 1

      During the normal install you don't even get the option to set the root password. There is no root password in the default install and that can not be pointed out enough times as people persistently get it wrong.

      But it's going to be the password of a user who can use sudo, which is essentially equivalent from a security-disaster point of view (in fact, it could be worse in some ways - if su is restricted to the wheel group in Ubuntu and root ssh logins are disabled, the root password would be fairly useless).

    13. Re:Time From Discovery to Patch by tinkertim · · Score: 0, Troll

      Ubuntu is open source. Think about the time and effort that went into writing said installer. If I were writing one, I'd log everything too while I developed it, otherwise how the hell am I going to see if all input has been processed correctly?

      I might remind you that the installer is their only chance to successfully install their *free* OS on *your* system, its critical they get it right, and they did.

      Someone obviously forgot to remove that portion from the install log, yeah ok I agree that was a major brainfart .. however please don't go calling the authors incompetent until you, yourself have released your own (perfect) operating system, or something better than Ubuntu.

      You write as though you paid Ubuntu to write that distribution just for you. I think the more serious issue here is your ego displayed, in plain text , on slashdot .. not the password in the log file as you are obviously out to cause more irritation than the bug itself.

      Perhaps you should go back to Microsoft Bob. I think thats more to your speed. If you have any complaints, the person responsible is the wife of Bill Gates, go talk to her.

    14. Re:Time From Discovery to Patch by Syberghost · · Score: 1

      Yet how long has this massive fault been sitting there waiting for the first person to discover it?

      In their defense, upgrading your system from any previous release to 5.10 didn't have this problem; it only happens on new installs of 5.10.

      So most of the people who look for stuff like this didn't see it. Lesson learned.

    15. Re:Time From Discovery to Patch by Antique+Geekmeister · · Score: 1

      Even worse, it's now on all the backup tapes or other backup resources. This password absolutely must be changed ASAP on all the secured Ubuntu systems, and should no longer be used for FTP or HTTP or other services. I do hope the Ubuntu developers keep this in mind, and have a very harsh word with whoever wrote the installer.

    16. Re:Time From Discovery to Patch by Phleg · · Score: 1

      Anybody with an ounce of common sense should know that you never leave a critical password floating around in plain text. Not in memory...
      Sometime, do the following experiment: sudo cat /dev/mem | strings | grep <first 5 chars of your root pass>
      --
      No comment.
    17. Re:Time From Discovery to Patch by Anonymous Coward · · Score: 0

      Isn't it great how dismal failures can be turned into great victories? This was a serious bug, it's appearance is an extremely bad sign, and an indicator of lack of some testing or a big mistake.

      Somehow a short patch time is supposed to make up for it. Isn't the total time from existence to patch more important, including the amount of time it took to discover this?

      Don't compare to closed source OSes, many of those are already dismal security failures. Yet they generally still manage to avoid exposing passwords in plaintext.

      Compare to what issues similar systems like BSD have; this bug is not a success, it's terrible , "Shaka, When the Walls Fell".

      Almost like finding your default installation includes a keylogger. Administrative password exposure is perhaps the most serious bug you can have on a conventional OS, because no amount of patching will fix the exposure, you have to change the password on all machines where you used that password.

    18. Re:Time From Discovery to Patch by Zwaxy · · Score: 1

      And I want to know the name of the idiot who is responsible.

      He's called Colin:

          http://www.ubuntuforums.org/showpost.php?p=818037& postcount=61

    19. Re:Time From Discovery to Patch by MichaelSmith · · Score: 1
      Sometime, do the following experiment: sudo cat /dev/mem | strings | grep

      Yes I have seen that trick before.

      I think in theory a console program could encrypt or at least obscure the password as it is entered from the console device. There is not much chance of doing this from a GUI.

  6. Re:I believe this is a feature by Anonymous Coward · · Score: 2, Informative

    try sudo bash

  7. Re:I believe this is a feature by dtfinch · · Score: 2, Informative

    The article title isn't entirely correct. There is no root password. But you can set one.

  8. Re:But Ubuntu has no root account! by Yosho · · Score: 5, Informative

    Read the article. The Slashdot summary is incorrect; the password is for the account you create during installation, which has sudo rights and therefore is just as effective as a root account.

    --
    Karma: Terrifying (mostly affected by atrocities you've committed)
  9. The cyberpunk credo comes to mind... by Anonymous Coward · · Score: 5, Funny

    Information wants to be free

    1. Re:The cyberpunk credo comes to mind... by wiml · · Score: 1

      I'm going to be annoyingly pedantic here and point out that the cypherpunk credo is exactly appropriate: information wants to be free. Maybe we don't want it to be free, though, which is sometimes a problem.

      The point that "Information wants to be free" is trying to make is that, since information is so easy to duplicate and disseminate, it "wants" (anthropomorphism alert) to be widely available.

      Most people misread the phrase, and think it says "Information ought to be free". That's not the same thing at all.

    2. Re:The cyberpunk credo comes to mind... by necro2607 · · Score: 1

      roflmao dude, LOLLED at my work desk... hahah

    3. Re:The cyberpunk credo comes to mind... by Knuckles · · Score: 1

      Thanks for pointing that out, I'm tired of it :) Someone once wrote on /. "information wants to be free in the same manner as water wants to leak", which IMHO sums it up pretty nicely without having to repeat the long rant over and over again.

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
  10. Re:But Ubuntu has no root account! by n.e.watson · · Score: 1

    That's a feature. It's so you don't go messing around with root if you don't know what you're doing, as Ubuntu is geared toward being user friendly, and to people who aren't necessarily entirely familiar with the workings of Linux. It's easy enough to activate the root account, just 'sudo passwd'.

  11. windows by Chimera512 · · Score: 3, Funny

    see this is why i use windows. there are never security patches to install, just service packs which allow me to get new secutiry features like windows firewall. nothing beats windows security, and there's that helpful blue screen to tell me if something's gone wrong.

    1. Re:windows by Anonymous Coward · · Score: 0

      Why do you bother?

    2. Re:windows by Anonymous Coward · · Score: 0
      <sarcasm> </sarcasm>
  12. Awesome by ergo98 · · Score: 2, Insightful

    30 seconds and my post got a flamebait. I love Slashdot.

    Within the same 30 seconds a post appeared following mine comparing the fix (which has the massive complexity of deleting some log files) with Microsoft's WMF fix, exactly as predicted. Beautiful, and so predictable.

    1. Re:Awesome by pilkul · · Score: 1

      Yeah, and the WMF bug I can understand --- it's legacy code written back in a time when no one cared about security. Leaving the root password in a plaintext file, though, is a colossal, inexcusable fuckup, and I don't care that they fixed it quickly. Whoever designed that installer should be ashamed of themselves.

    2. Re:Awesome by Dan+Ost · · Score: 1

      This wasn't an error in design, it was an error in implementation.

      --

      *sigh* back to work...
    3. Re:Awesome by ergo98 · · Score: 1

      And 2 hours after you cry like a little bitch about the moderation and the big-bad-slashdot conspiracy

      Maybe you're confused, but I never indicted Slashdot, nor did I think it would stay at Flamebait. Nonetheless, it is amusing that there are the ravenous masses who instantly attemptto suppress counter-points, and who will instantly start trying to spin it as a win for open source that this happened in the first place. Both happened with such speed it was mind blowing.

    4. Re:Awesome by rmstar · · Score: 1

      I disagree. Some people seem to believe that the error was that the file wasn't removed. But the error was storing the password in cleartext, which is plain and simple incompetence.

      Keeping the file is fine with me. But the password should have been encrypted right after it was typed in, and, if it was to be stored, it should have been stored encrypted as is done in /etc/shadow.

      This bug sugests to me that the developers that were involved do not care or know too much about security.

    5. Re:Awesome by pilkul · · Score: 1

      No, I think we can put the blame on bad design here. What happened here was that the standard question-answer program was used to input the password, software which was never designed for security. The password getting put into a logfile was an unexpected side effect of that. If Ubuntu had been designed with security in mind, a special-purpose password input system would've been used in the first place.

  13. steenkin batchers by Anonymous Coward · · Score: 5, Funny

    Fuuuuck.

    I knew I never should have trusted those badgers.

    Smiling at me with their big cartoon teeth, eating up all the aspen, wanting to admin their own machines.

    I've been a sap, and it's going to cost me.

    And now I'm worried about the hedgehogs.

    1. Re:steenkin batchers by sunwolf · · Score: 1

      Badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger MUSHROOM MUSHROOM

      Really, how can you trust any animal featured in something so obviously chock full of subliminal messages? Don't tell me you use Python, too...

    2. Re:steenkin batchers by vistic · · Score: 1

      i use python but i call it "african snake"

    3. Re:steenkin batchers by wolfemi1 · · Score: 1
      "Dinnesdale."

      [/obscure Python]

  14. Re:I believe this is a feature by Anonymous Coward · · Score: 0

    sudo su -
    passwd

  15. Place it in context of surroundings by slashbob22 · · Score: 2, Insightful

    This IS a very serious issue, however it does require some work (accessing log) to obtain root. In comparison to other operating systems which provide default root ("administrator") access, without a password, on installation; this isn't as big of a deal. On top of this, from my understanding, a change of the root password after installation would prevent further issues. Overall this seems to be a problem but certainly not a huge one.

    --
    Proof by very large bribes. QED.
    1. Re:Place it in context of surroundings by damiam · · Score: 5, Insightful
      In comparison to other operating systems which provide default root ("administrator") access, without a password, on installation; this isn't as big of a deal.

      WTF are you smoking? No modern OS sets up an unpassworded root account by default, especially on a multiuser system. And if they did, there would be no expectation of security. Here, there is the expectation of security, and it is violated.

      In fact, this attack is even worse than the average privilege escalation vulnerability, because a) it's amazingly stupid on the part of the programmer and b) the attacker gains not just root priveleges but the root password, which is often reused by less-paranoid users for other purposes.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    2. Re:Place it in context of surroundings by Anonymous Coward · · Score: 0
      No modern OS sets up an unpassworded root account by default, especially on a multiuser system.

      Interesting... it hasn't been long since I last accessed an unpassworded default Administrator account on a clean WinXP install. I think I see a flaw in your arguement, unless you don't consider WinXP a "modern OS" (don't blame you for that, either).

    3. Re:Place it in context of surroundings by Anonymous Coward · · Score: 0

      Does WinXP do this by default? Or does it require some user intervention to setup a blank password?

    4. Re:Place it in context of surroundings by OpticalPaul · · Score: 1
      "No modern OS sets up an unpassworded root account by default, especially on a multiuser system. And if they did, there would be no expectation of security. Here, there is the expectation of security, and it is violated."

      I'd tend to agree that WinXP isn't a "modern OS" but its large installed base and recent release date makes a strong counterargument. It's quite easy to set up XP with no password on any account, even one with "Admin" ("root") privileges. As for this grave installer bug: does Breezy have any "default" userids which are viable for logins? Or does one have to know a userid/password combination in order to gain access to the system, in order to compromise it?

    5. Re:Place it in context of surroundings by Mathinker · · Score: 1

      If I get your drift:

      1) The standard Ubuntu install does not install any network services so by default this problem does not cause any remote vulnerability.

      2) There are no standard login-able userids on a standard Ubuntu install. But it is clear anyway from the description of the problem that in order to exploit it, you need to get access to the filesystem of the computer involved, which would ordinarily require a valid login, but might be as easy as inserting bootable media and rebooting.

    6. Re:Place it in context of surroundings by lukas84 · · Score: 1

      It requires the user not typing a password into the password field (when installing).

      However, most Windows XP installs are preinstalled by the OEM.

      ost of them let the user create a seperate user account (which also has administrator rights, and CANT be assigned a password during install due to limitations of the microsoft oem installer, but the OEM could fix this on his own).

      Most of the "Administrator" users in these OEM installs also have a blank password (which isn't exactly microsofts fault)

    7. Re:Place it in context of surroundings by OpticalPaul · · Score: 1
      I'd put the emphasis on #2: that in order to exploit the vulnerability, you need some access to the machine.

      Physical access will usually let you do nasty things on any machine. For example, reboot from a "live" CD, mount the existing drive as r/w, rewrite /etc/passwd to your liking, and do your damage. The message should always be that physical access leads to full unsecure access.

      If you already have login privileges, you can already do a lot of damage to most systems, even if you don't have root permission. This doesn't diminish the seriousness of this problem, but it should keep it in context.

    8. Re:Place it in context of surroundings by Anonymous Coward · · Score: 2, Interesting

      When XP (as of SP2) doesn't have a password on an account it doesn't allow network access to the machine with that user, so a blank admin password after setup can be more secure than a simple password.

    9. Re:Place it in context of surroundings by Sexy+Bern · · Score: 1

      XP Home definitely creates an "Administrator" account which you never see on the "Welcome" page.

      Also, every account created by the user *during install* is in the "Administrators " group.

      Even if you password-protect every account using the control panel, the "Administrator" account remains unprotected.

      If you start the machine in "Safe mode", you can log in as administrator without a password.

      The number of people that I've seen go all slack-jawed when I log into their PC as administrator without a password...

    10. Re:Place it in context of surroundings by Anonymous Coward · · Score: 0
      Further, if you ctrl-alt-del on the welcome screen you can log in as this Administrator without a password without even doing safe mode.

      Though, to be fair, a knowledgeable user can password-protect this account. It's just not well enough known to be done by many.

    11. Re:Place it in context of surroundings by Anonymous Coward · · Score: 0

      > It's quite easy to set up XP with no password on any account, even one with "Admin" ("root") privileges

      While you can do this, XP disables all network access for the account by default.

    12. Re:Place it in context of surroundings by Sexy+Bern · · Score: 1

      That's not true on a default install. The administrator account can't be used for login or "run as" due to account restrictions. You'd have to run secpol.msc and change one of the settings (can't remember it right now). To get as far as being able to run secpol.msc, you'd have to know somebody's password.

    13. Re:Place it in context of surroundings by Makarakalax · · Score: 1

      If you have access to the machine you don't need to know the root password, you can easily access any file on the machine by booting a live-cd or any OS that can mount the filesystem type the *nix is installed with.

      The only protection is encryption.

    14. Re:Place it in context of surroundings by CubicleView · · Score: 1

      How is the fact that by default a user has administrator rights on a windows machine relevant? It mightn't be a great idea, cough, but it's documented, it's by design and it's a well known security risk that anyone with half a brain cell knows how to rectify. This post relates to a BUG, an unknown security risk, which until it was discovered, left systems vulnerable. Get off your high horse; this has nothing to do with windows v Linux or what ever.

    15. Re:Place it in context of surroundings by Mathinker · · Score: 1

      > Physical access will usually let you do nasty things on any machine.

      As I said "might be as easy as inserting bootable media and rebooting". Your use of "usually" leads me to believe that you are aware of possible defenses.

      Actually, since posting, I've thought of a way in which a remote attacker might be able to discover the password (but not use it). He merely has to convince any user on the box to run a Java applet with privileges while browsing.

      On second thought, I'm pretty sure Ubuntu doesn't install by default with Java. But it would be a much more common thing for an average user to install than, for example, sshd or ftpd.

    16. Re:Place it in context of surroundings by Mathinker · · Score: 1
      If you have access to the machine you don't need to know the root password, you can easily access any file on the machine by booting a live-cd or any OS that can mount the filesystem type the *nix is installed with.

      As I said "might be as easy as inserting bootable media and rebooting". You don't seem to be aware of possible defenses, like physical locks and locked BIOS settings.

      Actually, since posting, I've thought of a way in which a remote attacker might be able to discover the password (but not use it). See my reply to the previous replier.

    17. Re:Place it in context of surroundings by damiam · · Score: 1
      It's quite easy to set up XP with no password on any account, even one with "Admin" ("root") privileges.

      It's pretty easy to do that with Linux or OSX too. I was discussing default behavior.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    18. Re:Place it in context of surroundings by advocate_one · · Score: 1

      Ubuntu breezy installs Kaffe by default as I discovered to my dismay when Azureus stopped working after upgrading from hoary to breezy (All my Java symlinks got changed to point to Kaffe. Even re-installing "real" java again failed to get Azureus working until Kaffe was removed).

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    19. Re:Place it in context of surroundings by joecr · · Score: 1

      You must be smoking some pretty good crack to say that you can't login with the administrator account. Either that or the install you have been using is modified from one the official versions Microsoft has released. I know that they have released at least three different versions for most flavors of Windows XP. (First no Service Pack, second Service Pack 1, & third Service Pack 2. Of course they may have released other official versions as there was both a Service Pack 1 & a Service Pack 1a, but that doesn't really matter because even with Service Pack 2 they didn't disable access to the Administrator account.)

      On a default install from the non-OEM install the administrator account can logon in either safe mode or in normal mode. (To login in normal mode you just need to know what you are doing. I'm not sure with the "Welcome screen" which I hate & thus I don't even bother using it. I know if you disable the "Welcome screen" You can just type in the username administrator & the password if you have set one & you can login. The other thing I do is change the name of the administrator account as this makes it harder for people to figure it out because they need to know the username & the password; instead of just the password which the "Welcome screen" flat out tells you all the usernames that it knows, that it's supposed to show.) This is because the guest account is denied local access not the administrator account. If you don't believe me take a non-OEM install (also one that hasn't been tweaked in any way since it left Microsoft so one of their official CDs would work, but anything else would be considered tweaked) & install it on a fresh machine or virtual machine. I make no warranties for OEM installs as the OEM is known to mess with the install so much that Microsoft techs have no idea what is going on in the OEM install.

      One other thing many /.ers don't seem to know is that the early OEM installs of XP had the administrator account configured with a random password. (I know about this issue because I was supporting Windows 98 & ME at the time, so I was able to talk to the XP techs about Windows XP so I could learn more about it. They hated the OEM installs because the Administrator account password was random & the OEM didn't even know what the password was for that machine.) This caused a problem for tech support when the users forgot their own password. So the OEMs stopped doing this because it was causing more problems then it solved. True the computers were less secure, but tech support didn't have its hands tied when some moron couldn't remember that his password was "password". (With out the quotes of course.)

    20. Re:Place it in context of surroundings by OpticalPaul · · Score: 1

      Google really is a useful thing. The tool you want is called "update-alternatives". See the comment about Azureus here: http://www.paulstamatiou.com/2005/10/24/how-to-ubu ntu-linux-for-novices/

    21. Re:Place it in context of surroundings by OpticalPaul · · Score: 1

      Most distros make it difficult, not easy, to set up Linux without a root password.

    22. Re:Place it in context of surroundings by OpticalPaul · · Score: 1
      So according to your theory, if Ubuntu simply updated their documentation and called this a feature, rather than fixing their code, this would be perfectly okay.

      No. A security vulnerability giving a "regular" user full access to a machine is a security vulnerability no matter what the OS.

    23. Re:Place it in context of surroundings by JuliaNZ · · Score: 1

      When XP (as of SP2) doesn't have a password on an account it doesn't allow network access to the machine with that user

      Not true, sorry. I have a freshly-installed XP (Pro) SP2 home machine with a couple of users, no passwords. It uses the network quite happily.

    24. Re:Place it in context of surroundings by Kagami001 · · Score: 2, Informative

      Read what he said again: "network access to the machine"

      He means remote access, like Remote Desktop/Terminal Services, or shared file access (if simple file sharing is turned off; the concept doesn't apply if it's on, since everybody authenticates as guest anyway in that case), VPN server access (when XP itself is acting as a VPN server), remote registry access, remote process control, etc. etc., as well as the RunAs command to run software under a different account than the currently logged on desktop. None of these are possible with a blank password on the target account.

    25. Re:Place it in context of surroundings by Sexy+Bern · · Score: 1
      Thanks for the insulting tone of your reply, but I clearly stated this was with XP HOME.

      Try it - you can only log in as administrator in safe mode. You can't "run as" administrator either.

      Don't believe me?

      http://www.microsoft.com/windowsxp/using/setup/get started/configure.mspx#EUB

    26. Re:Place it in context of surroundings by Cro+Magnon · · Score: 1

      How does the Administrator account differ from the default "Owner" account I got on my XP Home box?

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    27. Re:Place it in context of surroundings by CubicleView · · Score: 1

      I'd hardly refer to my post as a theory, but anyway, no I did not imply anything of the sort. That said if "Ubuntu" also mentioned that the new feature was a humongous security risk then yes I believe it would be ok. No one forces you to use it after all do they? "A security vulnerability giving a "regular" user full access to a machine is a security vulnerability no matter what the OS" Absolutely correct, but as with the parent post it doesn't relate to a users default access rights in Windows. If an administrator creates a user account in windows and wants it to be limited then they should set it to limited. If they do not, then there is a serious security bug, which resides between the administrator's keyboard and chair. Not everyone agrees with the whole default admin rights(myself included) but to the best of my knowledge that in and of itself does not allow regular ie: non admin users to have admin rights, whereas the Ubuntu vulnerability did.

  16. Re:okay by MichaelSmith · · Score: 3, Funny
    A patch in 2 hours for a massive security hole in an OS, on a sunday as mentioned earlier.

    Sunday is probably peak development time for free software.

  17. Re:I believe this is a feature by JFitzsimmons · · Score: 1

    Or, "sudo -s". Or, "sudo passwd root", and use whatever methods you are more comfortable with to elevate permissions.

    --
    Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
  18. Colin Watson's response was very professional by zippity8 · · Score: 3, Informative

    He patched it within hours today, and posted to osnews with a description of what happened. He also posted a copy on the ubuntu forums page including details of what happened. It affects clean installs of breezy, and dapper upgrades from a breezy install, but not hoary or a clean dapper. hoary = 5.04 breezy = 5.10 dapper = not officially released yet

    1. Re:Colin Watson's response was very professional by Bloater · · Score: 1

      But does Ubuntu's automatic updates fix this? on an already installed system (ie, delete the relevant part from the log, test to see if that password is still current, and prompt the user to change their password. I really think it should.

      There should be a "security-reconfiguration" pseudo package who's post-install script does whatever checks are due for this sort of thing.

  19. Re:I believe this is a feature by killeena · · Score: 2, Informative

    But you can get the root password, as the default user has sudo access. 'sudo su -', and that is that.

    --
    Freedom would be not to choose between black and white but to abjure such prescribed choices. -Theodor Adorno
  20. So what if this was fixed quickly. by Anonymous Coward · · Score: 5, Insightful

    Any programmer who doesn't stop themselves and think that writing something like fprintf(logfile, "root password entered is: %s\n", password); is not the best idea should not be writing code for a secure operating system.

    1. Re:So what if this was fixed quickly. by Brandybuck · · Score: 1

      Actually, they shouldn't be writing code for any system.

      --
      Don't blame me, I didn't vote for either of them!
    2. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      Have anyone been able to find the name of the culprit who did this? So we can ensure that we deny him or her access to any projects *we* are in charge of?
      This was NOT a mistake -- it was criminally negligent ignorance, and whoever LET this code be submitted into the distro should pack up and leave, but at the very least let's get the name of the idiot whodunnit.

    3. Re:So what if this was fixed quickly. by hvatum · · Score: 1

      Any programmer who doesn't stop themselves and think that writing something like fprintf(logfile, "root password entered is: %s\n", password); is not the best idea should not be writing code for a secure operating system.

      Isn't that redundant? A programmer that dumb can never work on a "secure" operating system, it's logically impossible. As soon as they begin coding they'll jack things up so the operating system is no longer secure.

      Better said, "A programmer like that can't be allowed to compromise a secure operating system."

      --
      Netbooks, they come with Linux or a $3 copy of Windows. Either way, Microsoft loses.
    4. Re:So what if this was fixed quickly. by strider44 · · Score: 3, Insightful

      Come now, do you really think that somewhere in the code there's a manual fprintf writing the root password to the file? You could have at least made a simple attempt at reading the article to find out what it's about and what causes it.

      The problem here is that the main user password (Ubuntu doesn't have a root password) is asked through the questions dialogue in the installer. Everything here is automatic and the questions dialogue just simply records everything down in a file called "questions.dat". It's a serious error for a programmer sure, but it's just a lack of thinking of everything when programming, which is what every single security hole is caused by, lets face it. You could just as easily say everyone who doesn't check their arrays every single time no matter what shouldn't be let within ten feet of gcc, but alas even the best make mistakes. Not only this, but someone who doesn't check every array may be letting through a remote exploit, which is much much more serious than this bug.

      The mantra of course applies here: Unless you've programmed a totally secure operating system, keep your mouth shut.

    5. Re:So what if this was fixed quickly. by Telvin_3d · · Score: 1

      Yeah, but half the idea with the open source movement is that ANYONE can write code for it. Are you going to suggest a test that says who is qualified to contribute to OS software? Personally, there is something to be said for software driven by a closed organization which can control the quality of its employees. I shudder to think how common minor slip-ups like this are in OS software that is less scrutinized than the major packages are.

    6. Re:So what if this was fixed quickly. by hvatum · · Score: 1, Flamebait

      The mantra of course applies here: Unless you've programmed a totally secure operating system, keep your mouth shut.

      As always. Unless you can build a space-shuttle that doesn't crash or perform a succesful heart bypass surgery you have absolutely no right to critisize those who at least gave it a try. The surgeon was drunk? NASA forgot to put fuel in the shuttle? Doesn't matter.

      The same applies for leading a country - unless you think you can do a better job keep your trap shut!

      --
      Netbooks, they come with Linux or a $3 copy of Windows. Either way, Microsoft loses.
    7. Re:So what if this was fixed quickly. by arrrrg · · Score: 3, Informative

      In the forum, it was mentioned that there was in fact code in the installer to go back and remove the sensitive information from "questions.dat" after the installer finished. A bug was introduced somewhere in this code in the breezy release, so the password never got removed. So, the error was not nearly as obvious as fprintf (password) or even dump(questions); an attempt was made to do the right thing. Of course, the working condition of this code should definately have been verified before releasing breezy, but both the parent and grandparent make the developers seem more negligent than is actually the case.

    8. Re:So what if this was fixed quickly. by Vo0k · · Score: 1

      > The problem here is that the main user password (Ubuntu doesn't have a root password)

      WTF?
      Sure normal main user can do more than plain user in other setups (e.g. is a sudoer by default) but there indeed is a root account with root password, and on occasions like un-self-recoverable filesystem failure at boot you're prompted for root password to repair the filesystem by running fsck with the right parameters manually. If you disabled root account by then, you need to mess with some liveCD then.

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
    9. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      Read /etc/passwd, by default there is no root password in Ubuntu.

    10. Re:So what if this was fixed quickly. by Sithgunner · · Score: 1

      > Unless you've programmed a totally secure operating system, keep your mouth shut.

      why to keep mouth shut in a public discussion place, what is this place about?
      And seems you made one totally secure os, what is it?

    11. Re:So what if this was fixed quickly. by DNS-and-BIND · · Score: 2, Insightful

      In a real project, someone who made a greenhorn mistake like that would be fired. In Open Source, you just say "oopsie" and keep blundering forward.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    12. Re:So what if this was fixed quickly. by patio11 · · Score: 1
      Any programmer who doesn't stop themselves and think that writing something like fprintf(logfile, "root password entered is: %s\n", password); is not the best idea should not be writing code for a secure operating system.

      I agree, just looking at that code segment should raise red flags. No real C programmer uses variable names which contain more than two characters. Its like a Perl hacker writing a comment to explain what that four line regex actually does -- its just not done.

    13. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      Whatever. I thought Ubuntu was somewhat secure. After reading about such an obvious oversight, one can't help but think that there are dozens of not-so-obvious ways to break into my Ubuntu installation RIGHT NOW that hackers and the NSA know about.

      Ubuntu is insecure. I'm not saying that I could do a better job -- if I were forced to write a OS it would be insecure too. It's just a fact: "the sky is blue", "water is wet", Ubuntu is insecure.

    14. Re:So what if this was fixed quickly. by identity0 · · Score: 1

      Well, DUH. Everyone knows you have to do

      rot_13(&password);
      fprintf(logfile, "root password entered is: %s\n", password);

      In order to be a secure OS. ROT-13 is a special super duper algorithm made especially for OpenBSD by Theo de Raadt, it's so secure the Canadian government won't let Theo release the source code! I trust it with all my secrets.

      If only the Ubuntu crew had known of ROT-13...

    15. Re:So what if this was fixed quickly. by masterzora · · Score: 2, Informative
      It's just a fact: "the sky is blue", "water is wet", Ubuntu is insecure.

      Let's check your facts...
      "the sky is blue" -- Well, the sky is actually black and it only appears blue because light is scattered in the atmosphere. So far you're 0 for 1.
      "water is wet" -- This one is true... if you only consider its liquid form. However, its solid and gaseous forms are most definitely not wet. That makes you 0 for 2.

      With a record like that, can we really believe your third so-called "fact"?

      --
      Remember, open source is free as in speech, not free as in bear.
    16. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      A black sky is called a "night sky". Solid water is called "ice" and gaseous water is called "steam".

      Thanks for trying.

      Oh and by the way 7 is composite. It only appears to be prime because it has no proper divisor.

    17. Re:So what if this was fixed quickly. by LordLucless · · Score: 2, Insightful

      I have. My homebrew OS doesn't even compile. No security problems there.

      Joking aside, if you apply that little mantra of yours to other scenarios, you'll see how silly it is. How about "Don't criticise Gigli unless you've produced the perfect film"? How about "Don't criticise your plumber for not fixing your leak and flooding your basement until you've laid the perfect pipe"? How about "Don't criticise your goverment until you've ruled over the perfect society"?

      You do not need to be an expert to see when an expert is doing a crap job of it.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    18. Re:So what if this was fixed quickly. by xenocide2 · · Score: 1

      I'm gonna have to dissent with you there. Clearly someone knew the rammifcations of storing a password in a file, if they went to the effort of writing a script to fix it after the fact. I'm sure someone during the process thought it was a complete hack and hoped in time a better solution would come forward. As we can see, this hasn't happened. The better solution is to either move creating the first user account until after base has been installed, or to not store the question at all. I don't know why it needed to be stored on disk in the past, but this needs to be fixed posthaste.

      I expect some sarcastic words from Joey Hess to be forthcoming on Monday.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    19. Re:So what if this was fixed quickly. by masterzora · · Score: 2, Informative
      A black sky is called a "night sky". Solid water is called "ice" and gaseous water is called "steam".

      Let me guess: American, right? Only an American can be this bad at science.

      A black sky is the way it is. Ever see that thing they call "space"? You'll see the sky is black. The aforementioned scattering of light in our atmostphere makes it look blue during the day, but the sky itself is black. Consult any primary school science class for further details.

      Water is the name of a chemical compound, also known as Dihydrogen monoxide. The phase doesn't change what it is, it is still water, the same way liquid nitrogen is still nitrogen. If that doesn't satisfy you, there is solid water that is not ice. It is amorphous solid water. And gaseous water is also called water vapor. Notice how both of those specifically mention that they are water.

      Thanks for trying. Get an primary school education before trying again.

      Brilliant use of an irrelevant last line, by the way.

      --
      Remember, open source is free as in speech, not free as in bear.
    20. Re:So what if this was fixed quickly. by Vo0k · · Score: 1

      Likely it's so with the "standard install". I've picked "Expert Install" because I didn't want all my data partitions deleted, thankyouverymuch, and it normally asked for root password during the install process, set it correctly and I used su - with root password quite a few times already, not quite fond of installing things with wrong ownerships.

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
    21. Re:So what if this was fixed quickly. by cjwatson · · Score: 3, Informative

      For the record:

      • The code mentioned that was supposed to clear out the password from the database wasn't "a script to fix it after the fact"; it was in the same bit of code that dealt with asking the password, and had it worked as intended the password would never have ended up in cleartext in any file on disk in the first place;
      • A better solution was also in place (making sure that passwords were stored in a separate database never copied to disk) but this failed to work due to a subtle cdebconf bug;
      • The first user account is created after the base system is installed;
      • I had a conversation with Joey Hess about this bug last night, and far from being scathing, he was somewhat relieved that Debian escaped this particular manifestation of the bug essentially by luck, and acknowledged responsibility for one of the original design decisions in base-config that meant we weren't as well-defended against this sort of error as we might have been.

      I'm happy to take responsibility for the lack of testing that meant we didn't spot this earlier, but it's not quite the trivial stupid mistake that people are making it out to be.

    22. Re:So what if this was fixed quickly. by Bretai · · Score: 1

      That's true, but not a very good description of what happened.

      --
      Controlling complexity is the essence of computer programming. -Brian Kernigan
    23. Re:So what if this was fixed quickly. by bokutoe · · Score: 0

      Let me guess: American, right? Only an American can be this bad at science.

      Obviously, peoples of all other nationalities than American do not contain one person of lesser scientific skill than this man. Please leave your ignorant and malicious generalities elsewhere.

    24. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      > The aforementioned scattering of light in our atmostphere makes it look blue
      > during the day, but the sky itself is black.

      The lack of light coming from the atmosphere to your eyes makes it look black, but the sky itself has no color.

      Or if you wish:

      Your clothes make you look like you are dressed, but actually you are naked.
      Same for your mamma.

    25. Re:So what if this was fixed quickly. by bheer · · Score: 1, Insightful

      >> t's just a fact: "the sky is blue", "water is wet", Ubuntu is insecure.
      > Let's check your facts...

      *Ahem*

      The sky is blue, water is wet, Ubuntu evangelists are pedantic blowhards who can't recognize a common English phrase when they see one...

      And don't bother flaming-- I use Ubuntu myself. It's just that It's just that I miss the times when Linux evangelists were, you know, nice people. These days all we seem to get is shrill "$foo_distribution r0x0rs!!" shills.

      Besides, flaming a user, especially when your distro is caught with your pants down, is never a good idea.

    26. Re:So what if this was fixed quickly. by Antique+Geekmeister · · Score: 1

      Doing something stupid, then going back and trying to erase the traces is a very, very bad programming approach. Fix the real problem: the Ubuntu and other Linux password handling command needs an ability to install a pre-encrypted password to avoid exactly this sort of problem. The reason not to have such an option in this day and age is so that you can run password quality checkers on the unencrypted password, which is certainly not justification for forcing the OS installer or other administratively privileged tools from being able to set the password from an encrypted format.

      But anyone remotely competent with shell script commands should have a way to write an encrypted password directly into /etc/shadow or /etc/passwd as needed and avoid keeping one lying around in clear text.

    27. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      You are definitely right, but because of such an assinine 'American' comment, I modded you Troll. And I'm not even living in the western hemi.

    28. Re:So what if this was fixed quickly. by masterzora · · Score: 1

      If it makes you feel better, *I* am American, too.

      --
      Remember, open source is free as in speech, not free as in bear.
    29. Re:So what if this was fixed quickly. by Anonymous Coward · · Score: 0

      Looks like a couple of Aspies forgot to take their risperidone. Take your "I'm more pedantic than you" pissing contest somewhere else, gentlemen.

    30. Re:So what if this was fixed quickly. by xenocide2 · · Score: 1

      Thank you sir, for clarifying. I was hoping to see something on your blog about the details, but a reply to my post on slashdot is also adequate ;). Unfortunately, I don't have the moderation power any more to make your response more visible to the public =(

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    31. Re:So what if this was fixed quickly. by masterzora · · Score: 1

      And I don't use Ubuntu (or at least, not yet), I just didn't like seeing his bad "facts".

      --
      Remember, open source is free as in speech, not free as in bear.
  21. Root password should never be recorded, ever by Zweideutig · · Score: 1

    All that the operating system/software need to know is how to verify that the password entered is correct. And that can be done without storing the root password at all (encrypted or not) with a hash.

    --
    Powered by caffeine and sugar; BSD
    1. Re:Root password should never be recorded, ever by MichaelSmith · · Score: 2, Interesting
      All that the operating system/software need to know is how to verify that the password entered is correct. And that can be done without storing the root password at all (encrypted or not) with a hash.

      I assume that the OpenBSD installer runs passwd to set the root password during installation, similar to NetBSD.

      But if either of these OS's went to a graphical installer they would need to write a graphical passwd command which makes an effort to keep the plain text out of swap files, insecure memory, etc.

      That's a big ask, IMHO. Which doesn't mean its ok to print the thing out, just that doing it properly is very hard.

      But in this day and age of development frameworks, etc, there is less of a need for a programmer to think about the meaning of what he is reading from the UI. The backend programmer may assume that the UI guy understands about passwords, but he may not, to.

    2. Re:Root password should never be recorded, ever by 19thNervousBreakdown · · Score: 2, Insightful

      Insecure memory? Unless I'm missing something huge here, one process can't read another's memory. Can you give an example of how something can end up in "insecure" memory?. Maybe if you have access to /dev/(k)mem. Same goes for swap afaik. If those problems haven't been solved long ago, any Linux distro is swiss cheese.

      Which means it's as simple as a GUI prompt for the password, and a pipe to passwd, no writing to disk necessary at all.

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    3. Re:Root password should never be recorded, ever by TheRaven64 · · Score: 1
      if either of these OS's went to a graphical installer they would need to write a graphical passwd command which makes an effort to keep the plain text out of swap files, insecure memory, etc.

      Or, they could have their installer pop up an xterm running passwd. Since their installer would be the window manager, it could position the window nicely so it would look like part of the installer nicely. I doubt they would go to a GUI installer for quite a while though; I have yet to see a GUI installer that is actually easier to use than its text based equivalent, rather than just looking nicer.

      --
      I am TheRaven on Soylent News
  22. Open Password! by aurb · · Score: 5, Funny

    Contribute to Open Password comunity - release your passwords under the GPP (General Public Password) license! Because closed passwords are just series of * symbols - it's hard to use, share and modify them freely. :-)

    1. Re:Open Password! by AuMatar · · Score: 4, Funny

      But my root password really is ********. I mean really, who the hell is going to guess that?

      --
      I still have more fans than freaks. WTF is wrong with you people?
    2. Re:Open Password! by Brandybuck · · Score: 5, Interesting

      I actually used ***** as a backdoor password for a system I once worked on. Really! The service department demanded a backdoor password to give the service people, so that they wouldn't be calling in all the time for passwords. I fought and fought, but the lure of a continuing paycheck was too much, so I finally relented. My second choice was eight spaces.

      --
      Don't blame me, I didn't vote for either of them!
    3. Re:Open Password! by dwater · · Score: 2, Interesting

      You should've made the password something with a tab in it...(works on some login methods, but not others).

      --
      Max.
    4. Re:Open Password! by ComaVN · · Score: 2, Informative

      Ah, the Novell eDirectory installer comes to mind... it just ignores (skips, without a warning) non-alphanumeric characters when setting passwords. Of course, the regular login prompt doesn't, so that's a lot of hair-pulling fun...

      --
      Be wary of any facts that confirm your opinion.
    5. Re:Open Password! by dwater · · Score: 1

      Well, ok, though I was thinking of those login programs that take 'tab' to mean to move focus to the next thing - eg move from username to password, or from password to domain.

      --
      Max.
    6. Re:Open Password! by littlem · · Score: 1
      You should've made the password something with a tab in it...(works on some login methods, but not others).
      Yeah, that's really annoying. With hindsight I wish I hadn't chosen my username to contain an embedded tab.
    7. Re:Open Password! by Asic+Eng · · Score: 2, Informative
      But my root password really is ********. I mean really, who the hell is going to guess that?

      Dunno - presumably it's long been in any password cracker out there? Along with "none" or "password" or any other "clever" password there is?

    8. Re:Open Password! by skiman1979 · · Score: 1

      The problem with that is ****** is very easily cracked by password crackers. What ever happened to password complexity?

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    9. Re:Open Password! by Anonymous Coward · · Score: 0

      Copy + Paste, dude.

    10. Re:Open Password! by dwater · · Score: 1

      I guess that might work - assuming it isn't the 'first' login ie, if you're not logged into a machine, then there might be nowhere to type a 'tab' so that you can copy it. I haven't tried having such a character in my password, so I don't know.

      Copy/pasting is also a fair way of avoiding keystroke loggers when logging into web sites (email web clients, for example), ssh and such - open a command prompt and do a 'man ascii'.

      --
      Max.
    11. Re:Open Password! by rubycodez · · Score: 1

      at least your website doesn't have your resume with work history.

    12. Re:Open Password! by Anonymous Coward · · Score: 0

      My old favorite "default" password was 8letters

      Sure, its actually eight characters in length, but idiots can remember it easily enough.

  23. Re:okay by Aranth+Brainfire · · Score: 4, Informative

    Yeah, because it's approximately an equal effort to delete log files and to change anything about the WMF code, or whatever was causing that bug?

    --
    "Quoting yourself is stupid." -Me
  24. Re:I believe this is a feature by brsmith4 · · Score: 1

    $ sudo passwd root

    Should ask to reset the root password. You can then use 'su' to evoke a shell as the root user.

  25. Re:But Ubuntu has no root account! by Anonymous Coward · · Score: 0

    This is for Breezy, which, I believe, had a root account which couldn't be used for login, just for sudo. Later versions disabled that password as well, only allowing a special non-root user to sudo by reentering his password.

  26. You're an idiot by Kasracer · · Score: 2

    Fixing a patch that either simply removes this log file or encrypts the password in it is very simple. I could do this in a few minutes tops.

    Microsoft's security issues often are the result of an issue that requires code re-writes and changes. It takes time to do that, compile it, and test it. There is a huge difference between this tiny flaw and a buffer overflow in Windows Media Player.

  27. Re:okay by ralph+alpha · · Score: 3, Insightful

    Deleting a log file isn't quite the same thing as fixing buffer overflows and whatnot in a huge chunk of code. Yeah, it took MS 2 weeks -- and that was too long. It's not like the two bugs were equal in scope, though.

  28. MOD PARENT UP by Anonymous Coward · · Score: 0

    Way up.

    Never ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever EVER under ANY circumstances put a plaintext password in *ANY* file. Ever.

    1. Re:MOD PARENT UP by LOTHAR,+of+the+Hill · · Score: 1

      Where else am i supposed to store my passwords?

    2. Re:MOD PARENT UP by hvatum · · Score: 1

      Just use a password that's easy to remember or one you can guess, like your first and last name. Or you can use the old classic "password" - no need to remember anything. When prompted for your password you've got it spelled out right their in the dialogue box!

      --
      Netbooks, they come with Linux or a $3 copy of Windows. Either way, Microsoft loses.
    3. Re:MOD PARENT UP by optikSmoke · · Score: 2, Funny
      Where else am i supposed to store my passwords?

      /etc/motd?

      (Just in case...)

  29. Well, now at least we know... by Anonymous+Covard · · Score: 1

    ...just what made that distro so "breezy"!

    --
    Information wants to be free -- but informants want to be paid.
  30. Re:Ubuntu on 17" MacBook Pro? by Anonymous Coward · · Score: 0

    I wonder if my balls will run on your mom, described here in full detail http://www.mature4ten.com/t1/index.php?aid=6218&pi d=9&sid=85&tid=1&optid=522&c=A&refid=2149409

  31. Despite this little pasword issue... by Anonymous Coward · · Score: 2, Insightful

    Ubuntu is poised to become to standard by which Linux distros are judged. I've been running the latest stable release, Breezy Badger 5.10 for awhile and it's rock solid, good looking, and easy to administer. Last night I downloaded Flight 5, the latest development iso for Dapper Drake 6.04, and was immediately impressed. In just one upgrade, they've managed to really go the extra mile with all the new features. I love minimalist simplicity, and Ubuntu gives me just that. Ubuntu is Debian made easy for the masses. You get the bullet-proof Debian core with a great, easy interface. Nothing touches this at the moment. Linux for human being is a great tagline.
    Now, let the script kiddies who have nothing better to do flame me for saying Ubuntu is cool. These same script kiddies who think they're 1337 because they have to manually set up their Slackware box. These same wanna-be geeks who are still bootstrapping their Gentoo systems for 12 hours to extract a extra 5 milliseconds of speed from their CPUs. I've done all that and now that I'm almost 40 years old, I just want a quick, stable system to work from.

    1. Re:Despite this little pasword issue... by MichaelSmith · · Score: 3, Informative
      Ubuntu is Debian made easy for the masses. You get the bullet-proof Debian core with a great, easy interface. Nothing touches this at the moment.

      I run Ubuntu on my laptop and FC4 on my workstation. Ubuntu is great for office type stuff: word processing and email. A surprising number of printers work out of the box.

      But I also want to use the laptop for development and here I have struck a few problems. Development libraries are not installed by default (fair enough) but I got into loops trying to install Motif development libraries thorugh apt. I tried to copmpile motif but hit significant dependency problems in the process.

      In general I don't think Ubuntu is suited to development work. I am considering dual booting the laptop with another OS for that purpose. But I do continue to recommend it to non-technical people who need to reinstall their systems.

    2. Re:Despite this little pasword issue... by Anonymous Coward · · Score: 0

      The biggest problem with Ubuntu is, and has been from day one, when warty was less than usable, all of the evangelism that goes on, not to mention the marketing people working on it. I'm sure there are many desktop linux distributions which are better suited to new users, heck, some even have a GUI installer and safe(i.e. doesn't erase everything by default) partitioning stage *shock horror*, Ubuntu just seems to have managed to paper over all the huge cracks well enough to be heralded by all as the Next Big Thing, let's hope they don't destroy all the competition and the companies who got it right long before linux was totally suitable for windows desktop replacement use. Ubuntu also seems to be heading for a large chunk of propriatory web services in the shape of launchpad, i guess that will allow ubuntu to stay/get on top of other distros while still releasing sources to the desktop components.

      now, lets add this pretty major security flaw to the mix and Ubuntu isn't looking like something we should all be following blindly

    3. Re:Despite this little pasword issue... by Jesus_666 · · Score: 1

      I am a Gentoo user, but I switched to Gentoo after experiencing every single binary package based distribution I tried horribly die whenever I tried to upgrade to the latest release. Most distros require the use of third-party packages because the official repositories miss certain apps (at least for home desktop use), but trying to upgrade with third-party (RPM|DEB)s in place tends to destroy the installation. I don't care about my apps being 0.0005% faster (they probably aren't because I did no work to optimize anything), but I do like not having to deal with destructive upgrades. Also, Portage is really great.

      The one thing Gentoo should copy off Ubuntu would be support for sudo everywhere (optional, of course) - perhaps with a sudo USE-flag for KDE/whatever Gnome uses.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    4. Re:Despite this little pasword issue... by Fallingcow · · Score: 1

      Gentoo will exhibit the sudo behavior that Ubuntu uses it if you tell it to.

      Like everything else on that distro, you've gotta tell it to do it, or it won't. Use flags would be inappropriate for this. Install the same program that Ubuntu uses (gksudo, I think) and configure it, and you're good to go.

      I was a Gentoo user for over two years, until a few months ago when I switched to Ubuntu because I got sick of compiling and having to configure [i]everything[/i] myself. I stuck with it for so long for the same reason that you did: portage is the best package management system in any distro that I've seen.

      RPM sucks for obvious reasons, and of the 3 major distros using it, two (Mandrake and Red Hat [now Fedora]) tended to break horribly with regular use and were horribly upgrade-resistant, and the other (SuSE) ran slower on my machines than ANY other OS/Distro that I've ever used. What a bloated POS.

      Slackware was out of the question. I like package management, and it effectively has none.

      Debian's APT was great, but they are so slow to have new releases that a desktop user is pretty much forced to go to testing or unstable at some point. This usually resulted in breakage for me within a month or so.

      I have NEVER broken Gentoo's package management, and I used it a lot on all kinds of hardware and for all sorts of different purposes. But, then I had to tweak everything to my liking, and I could never seem to get everything working just the way I wanted it.

      I tried Ubuntu 5.10 when it came out. I was sold. I've spent a lot of time working with: all the aforementioned Linux distros; FreeBSD; Windows 3.1 (and DOS before that, obviously), 95a, 98se, NT 4.0, 2000, and XP; BeOS (LOVE this one); QNX; and Solaris. UBUNTU IS THE BEST OS I HAVE EVER USED. I was hooked about 10 minutes after booting it up post-install.

      Every default was the exact default that I would have chosen, and there were default settings and installed programs for all of the things that I wanted*. Yet, it wasn't bloated in the least, and all of the programs played together very nicely. Stuff that I plugged in--like USB devices and PCMCIA cards and the like--ust Worked(TM). Wonderful. Yet, if I wanted to dig into the system a bit, I could (my prior experience with Debian may have made this easier); however, it's rarely necessary.

      I cannot recommend it highly enough, and as a former Gentoo user myself (who, further, seems to have been loyal to that distro for the same reasons that you are), I think you ought to give it a shot, if you haven't already.

      * On second thought, I don't like Totem as the default media player. That's my only complaint, and since the new MPlayer default skin in the testing release of Ubuntu 6.4 (to which I just upgraded, and it went without a hitch, in spite of this not even being an official release yet) looks SO much better than the old default, I'm quite happy switching to that for video. No big deal. Sure, I could have switched the skin in 5.10 manually, but I just hadn't gotten around to it yet, and was giving GXine all my "business" for video playback :)

    5. Re:Despite this little pasword issue... by Jesus_666 · · Score: 1

      I tried Ubuntu Warty, but didn't quite like it. Since apart from Cedega (which happens to be the only app that has problems with my graphics card) everything works quite well I guess I'm going to stick with Gentoo for the time being.

      gksudo might be worth a try. Later. There's no ebuild and I'm too lazy to make one. Also I don't know whether it automatically replaces/extends kdesu and as I'm a KDE monkey I never run into the Gnome su dialog anyway... (Kubuntu probably has something for KDE, but I'm too lazy to build an ebuild for that, too). Most serious stuff is command-line anyway.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    6. Re:Despite this little pasword issue... by Chris+Pimlott · · Score: 1

      C'mon, let's have a little more than that. You site two things; one, that development libaries aren't installed by default. From what I believe, this is fairly standard process, unless you're running Gentoo. And installing via apt is painless.

      Second, you had a problem installing Motif development. Okay, maybe there's a problem there; I don't know, I don't use it. Hopefull you sent the Ubuntu guys a heads up.

      I think, though, it's an unjustified leap to go from "I had a problem installing Motif" to "Ubuntu is unsuited to development work". Really, I don't see much here that doesn't crop up with any package-managed distro. Maybe there were other problems you also had that you omitted, but from what was presented I don't think the conclusion is justificed.

    7. Re:Despite this little pasword issue... by Anonymous Coward · · Score: 0

      Parent post is so wrong it's only a degree away from an u turn. It's also incredibly unfair and offensive.

      Surely Ubuntu is one hell of a distro, I'm the first to admin because I'm a huge fan of Ubuntu. I finally have found a Linux distro that I can confidently recommend to any user outside the Linux community and not be afraid that it will scare the hell out of the inevitable newbie. I have installed Ubunto on desktops, laptops and even a "server" for a guy that wanted to start learning to admin a linux box. Even the command line is friendlier with Ubuntu, this time because of the great Debian heritage :) Every single install has behaved impecable out of the box. The amount of tweaking I've had to perform with Ubuntu is the lowest of any other distro I've worked with.

      But all that being said, I also run Gentoo on all my servers and all my desktops (and a laptop). Ubuntu love and Gentoo love are _not_ irreconcilable. Mind you, the greatness of Gentoo is far greater than the ability to do a bootstrap install. It is far greater than the CPU or -O2 optimizations. Gentoo is about choice, about community, about flexibility.

      Choice because it's portage tree stores one of the most diverse and most complete collections of installation scripts ever. Not that there are no exceptions, but pretty much any Linux piece of software you can think of is there, if it's opensource. And some that are not opensource too.

      Community because Gentoo unstable is one of the fastest moving targets in the industry. Typically my servers run gentoo x86 (stable) whereas my desktops run ~x86 (unstable). Obviously I have a lot of headache keeping my desktops updated and working given that i run untested releases of packages. The incentive is that I get to see how all the fresh ideas work weeks or months before they're marked as stable and are ready to go onto my servers. Desktop ~x86 is also sometimes months ahead of x86 so for somebody that can take the pain of daily breakages this is an added bonus :)

      Flexibility because it's the distro that can be finetuned to your taste more than any other distro out there. All the crap I don't need I don't compile, and by that I mean within every single package. The useflags are godsent. Also the gentoo-specific userland tools are simply great. Think eselect, profuse, useflags. Great integration with bashcomp is a huge bonus. Incidentally gentoo's portage is one great package management suite. Personally I prefer it over debian's too. The flexibility in Gentoo is simply amazing.

      So dear parent post author, before you call every single Gentoo user a script-kiddie, you _should_ try and see the reasons some of us like that distro. Don't go try it yourself, because it's highly likely you will _not_ like it. Please get this trhough your head: Gentoo's target audience is a niche! Surely you and your mother will not want to use it, but at least I have the decency to respect that and kindly point you both to Ubuntu instead. Please stop bashing me and my fellow distro mates.

      Cheers,
      georgeb

    8. Re:Despite this little pasword issue... by Fallingcow · · Score: 1

      Whoa, wasn't Warty 3 releases ago? Warty, then Hoary, then Breezy? And the testing version of Dapper Drake is quite usable. I never tried Warty, but I know that I wasn't terribly impressed with Hoary. Breezy is the one that converted me.

      You might give Breezy a try, or wait 2 months or so for Dapper to go final and try it then.

      Gentoo's a hell of a distro, though, and I certainly still like it. I'm not trying to convert you out of a "religious" motivation; it's just that all the time I've been using Linux I've kept thinking, "damnit, if they'd just do (list of things to do) and stop doing (list of annoying crap) and maybe spend more than five minutes on integration and artwork, Linux could be a great desktop, not in some nebulous future, but TODAY." When I fired up Breezy for the first time, I thought that someone had read my mind :) So, I think that anyone interested in Linux on the desktop should give it a try, and I think that Breezy is the first release where the... personality, I suppose, of this particular distro started to come out. Hoary was more Debian than it was Ubuntu, but Breezy is more Ubuntu than it is Debian, one might say.

      If you don't like Breezy, I don't think you'll ever like Ubuntu, because you probably just don't like its vibe, and that's fine. But try to free up some disk space and try it out for a week or two when you get the chance.

    9. Re:Despite this little pasword issue... by Jesus_666 · · Score: 1

      Interesting... I think I will try out Ubuntu again, but when I actually get around to it Dapper will probably be out of fashion. ;)

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    10. Re:Despite this little pasword issue... by Anonymous Coward · · Score: 0
      Ubuntu is Debian made easy for the masses. You get the bullet-proof Debian core with a great, easy interface.

      Well, looks like at least one bullet got through. :)

      By the way, your post sounds too much like a marketing brochure. The constant evangelism by Ubuntu fanboys may drive away even more users than this gaping security hole. :)
  32. Re:okay by Anonymous Coward · · Score: 0

    Ubuntu devs fix a massive hole in a few hours, tops Microsoft devs fix a massive hole (WMF security bug) in two weeks-ish...

    This should read:

    Ubuntu devs fix a massive hole in a few MONTHS, tops

    I give props to them providing a fix so soon after the found it, but come on folks, this distro has been out for MONTHS now.

    This is just going to give Bill an excuse to bash Linux even more.

  33. Ehh by cosmotron · · Score: 0, Troll

    This was probably just some way for the Ubuntu developers to steal passwords. But, since someone noticed they had to act like it was an accident and release a patch.

    --
    Ryan - http://www.thecosmotron.com/
    1. Re:Ehh by arose · · Score: 1

      Well, don't give strangers local accounts!

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    2. Re:Ehh by kkiller · · Score: 1

      Mod parent down for conspiracy theory, or a poor joke

  34. Preview of 5.10 Not Affected by InViViD · · Score: 2, Informative

    I installed the beta of Breezy 5.10 and /var/log/installer/cdebconf/questions.dat *did not* contain my password. Looks like this only affected the final release.

  35. Re:okay by The+Bungi · · Score: 4, Insightful

    When you have 300,000,000 users things are a little more complicated than when you have 3,000.

  36. Interesting juxtaposition by prockcore · · Score: 5, Insightful

    I find it very interesting that the severity of this bug is identical to the severity of the security hole found in OSX last week... yet the difference in attitudes is remarkable.

    Look at the slashdot summary. "An extremely critical bug and security threat". Compare with the OSX bug which was written off because it's not remotely exploitable.

    Apple hasn't even acknowledged that the OSX privilege escalation exists, let alone patched it.

  37. Re:But Ubuntu has no root account! by dartarrow · · Score: 1

    Guidelines to posting a comment
    1. RTFA
    2. RTFA
    3. Try seeing if TFA is true (ie open questions.dat)
    4. Post Comment.
    The problem is that all that happens during installation is logged in
    And that includes logging of the username / password that the installer creates at time of installation. Of course if the user changes the password after the installation then the log file while not be updated and will still continue the old password.

    --
    I love humanity, it is people I hate
  38. And patching the patch? by Anonymous Coward · · Score: 0

    What I've read so far indicates the patches/corrections just remove the
    file that had the password in cleartext. Where the password was
    written in cleartext to a world readable file, at minimum, the password
    should also be considered compromised, or likely to have been
    compromised. Should force a password change, or at minimum strongly
    advise (e.g. via security advisory) changing the password. Running
    integrity check would also be advisable.

  39. For Ubuntu 5.10 users: by dartarrow · · Score: 2, Informative

    open var/log/installer/cdebconf/questions.dat, check at line 2140. Mine is there, individual results may vary

    --
    I love humanity, it is people I hate
  40. Solution by itismike · · Score: 5, Informative
    1. open a terminal and type:
      sudo apt-get update
    2. wait for it to finish
    3. click the Red update icon in the upper-right corner
    4. click through the update
    5. locate the file and verify that it is unreadable by a non-privileged user
    1. Re:Solution by GigsVT · · Score: 1

      Wait, so the fix leaves the cleartext root password on the hard disk?

      That's still very insecure by unix standards.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:Solution by itismike · · Score: 3, Informative
      Wait, so the fix leaves the cleartext root password on the hard disk?
      No, the patch both removes the PW from the log file and chmod's the log file itself to 600.
    3. Re:Solution by GigsVT · · Score: 2, Funny

      Let me guess, it runs grep -v yourPassword on the log file, which then gets entered into the bash history? :)

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    4. Re:Solution by 1u3hr · · Score: 4, Insightful
      1. Change your password.

      (Only passwords used during the install are written to the file in question.)

    5. Re:Solution by mattyrobinson69 · · Score: 2, Informative

      i think it more likely does something along the lines of:

      cat /var/log/logfile | sed -e 's/^Your Root Password Is.*$//g' > /tmp/a ; mv /tmp/a /var/log/logfile

    6. Re:Solution by RonnyJ · · Score: 1

      Not only do you also need to check the password, but you also really should examine your system thoroughly for any malicious changes. After all, it's certainly possible that someone could have used this information before now.

    7. Re:Solution by RonnyJ · · Score: 1

      Check? I mean change. :)

    8. Re:Solution by M1FCJ · · Score: 1, Interesting

      Ubuntu crowd again and again told the world that Ubuntu had no root password set up therefore couldn't be cracked in. I asked them (again and again) "surely you are setting this to something?" and they all said no. It is now perfectly clear that the people answering my questions had no clue. With every ubuntu installation the first thing I did was setting a root password, even if you don't have any intention of using it, in my opinion having a password you don't know about is worse than having a password only you know. This SNAFU proves my point.

    9. Re:Solution by Anonymous Coward · · Score: 1, Informative

      Nah sorry... Try again later. The password we're talking about is not a root password. It's the password of a 'normal' user who happens to have full sudo access... I hate to break it on you, you seemed so happy :-)

    10. Re:Solution by Uber+Banker · · Score: 3, Insightful

      With every ubuntu installation the first thing I did was setting a root password, even if you don't have any intention of using it, in my opinion having a password you don't know about is worse than having a password only you know.

      Make sure you remove permissions for users to change the root password though. On a default Ubuntu install all a user need do is sudo passwd and enter root's new password (no need to enter the old one).

    11. Re:Solution by Chanc_Gorkon · · Score: 1

      better yet....

      sudo apt-get update
      sudo apt-get upgrade

      --

      Gorkman

    12. Re:Solution by Anonymous Coward · · Score: 1, Insightful

      Since when a running script leaves entries in .bash_history?

    13. Re:Solution by swillden · · Score: 4, Informative

      I asked them (again and again) "surely you are setting this to something?" and they all said no. It is now perfectly clear that the people answering my questions had no clue... having a password you don't know about is worse than having a password only you know.

      No. The default Ubuntu install sets *no* root password. None. Not "one you don't know".

      As others mentioned, the password under discussion here is a user account password (for an account with full sudo privileges, so it's effectively root).

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    14. Re:Solution by Anonymous Coward · · Score: 0

      Why not use the -i GNU extension to sed?

    15. Re:Solution by Antique+Geekmeister · · Score: 1

      Hold it: merely making a local text file with a password in clear text unreadable to non-root users is still a stupid approach. The Ubuntu users should know this, as do most other Linux users. It's unfortunately common: OpenLDAP does the same thing with the administrative passsword for the LDAP database, which is why root level accounts should never, never, never come from LDAP on the LDAP server itself.

      If an installer has to pre-set a password, it should handle it only in encrypted form. The lack of a "use this encrypted password" rather than a "put the plain password in here" option in the Linux "passwd" command has been a deficit for many years. BSD and other UNIX's had the same flaw, but the continuing lack of the feature encourages the same sort of poor scripting that stores and sets passwords from clear text. That leads to this sort of mistake.

    16. Re:Solution by Anonymous Coward · · Score: 0

      Why?

      I simply clicked on that update icon, clicked yes, yes,yes and then it was done.

      My 14 year old daughter can do that, she will have trouble with what you just posted.

      It's nice to know the technical command line way, but 99.997% of the users would prefer to simply click-and-drool.

    17. Re:Solution by Zwaxy · · Score: 1

      The root password in ubuntu is locked.

      Look in /etc/shadow:

          sudo grep '^root' /etc/shadow

      the encrypted password for root begins with an exclamation mark, preventing any password from encrypting to this string.

    18. Re:Solution by Anonymous Coward · · Score: 0

      You're right, Linux is waaay better than Windows. Why, that prompt that says your computer has been updated, please continue about your business, is so cumbersome...

    19. Re:Solution by Urchlay · · Score: 1
      >If an installer has to pre-set a password, it should handle it only in encrypted form. The lack of a "use this encrypted password" rather than a "put the plain password in here" option in the Linux "passwd" command has been a deficit for many years.

      passwd(1) may not have such an option, but useradd(8) and usermod(8) both do. From the man page:

      -p passwd
      The encrypted password, as returned by crypt(3).

      These are the standard useradd/usermod commands from the shadow suite, should be present on all Linux distros. If I understand your post correctly, usermod -p [blah] username will do what you want...

      The fact that installers are being written by people who don't know this is kind of chilling (what else don't they know?)...

    20. Re:Solution by GigsVT · · Score: 1

      It's a joke.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  41. Apple did patch the recent OS X holes by I'm+Don+Giovanni · · Score: 2, Informative

    Apple hasn't even acknowledged that the OSX privilege escalation exists, let alone patched it.

    I agree with you regarding the different attitudes regarding this hole and the OS X holes. But I believe the recent OS X holes were indeed patched with Apple's March 2006 Security Update (though some websites are questioning whether the patches really fixed the underlying problems or merely placed band-aids on them).
    http://docs.info.apple.com/article.html?artnum=303 382

    --
    -- "I never gave these stories much credence." - HAL 9000
  42. What does patch help? by magi · · Score: 3, Insightful

    Ubuntu users, be sure to get the patch right away.

    What does this patch fix? The installer? Sorry, but the installer is burned in the installation media, and a patch can be applied only after the installer has been run. So updating the system or even upgrading to Dapper (where it has been fixed) doesn't help. So....patch whAt???

    No really, the installation ISO images should be fixed immediately and redistributed.

    Also saying that it "only affects The 5.10 Breezy Badger release" may be a bit belittling, as probably most people have installed exactly that release.

    1. Re:What does patch help? by prockcore · · Score: 2, Informative


      What does this patch fix? The installer?


      No, the patch removes that key from the file, and chmod's it 600.

    2. Re:What does patch help? by Penguin+Programmer · · Score: 1

      The patch fixes the installer so that this vulnerability won't be in any new installs (well, any new installs done from new installation media).

      If you already have an install and want to fix the vulnerability, just delete the file the password is in, or delete the password from that file. I did an install on my girlfriend's laptop yesterday, so I'll be interested to see if her system has this problem. I installed mine shortly before the final release of Breezy came out (September 23 according to the date on that file), and it's not affected.

    3. Re:What does patch help? by dtfinch · · Score: 1

      That explains why I needed sudo to read the file. I blindly installed the patch before the news hit slashdot.

      Home directories are still world readable by default, so root access is entirely unnecessary if all you want to do is steal other users' information.

    4. Re:What does patch help? by m50d · · Score: 1

      AIUI it's a patch to overwrite the log file with a blank file.

      --
      I am trolling
    5. Re:What does patch help? by identity0 · · Score: 2, Informative

      I actually picked up the 5.10 disks last week, and was thinking of installing it... glad I didn't.

      If the problem is in the installer which is only run once, am I correct in assuming that using a 'dummy' password during the install and changing it afterwards will leave only the dummy password on disk?

      I wish the Ubuntu people were a bit more proactive in their security, though.

    6. Re:What does patch help? by Fallingcow · · Score: 2, Interesting

      I actually picked up the 5.10 disks last week, and was thinking of installing it... glad I didn't.

      You think that--within one week of installing--someone who already has a valid login to your machine would have 0wned your box using this security hole? What, was it a server or something?

      If it was just your desktop machine, then yeah, this is crappy, but it's hardly a disaster, and the odds are pretty good that not even one person running Ubuntu on a simple desktop machine was harmed by this at all.

      If the problem is in the installer which is only run once, am I correct in assuming that using a 'dummy' password during the install and changing it afterwards will leave only the dummy password on disk?

      Er, or you could just edit line 2140 (IIRC) of /var/log/installer/cdebconf/questions.dat to remove the password. Or delete the file; I'm pretty sure it's only there in case you want a record of your install, so unless you get a kick out of reviewing your installation process, just rm the damn thing.

    7. Re:What does patch help? by Stephen+Samuel · · Score: 1

      It should then also shred the unallocated space on the filesystem -- to make sure that the original contents of the file aren't floating around waiting for someone to boot the system from CD and go dumpster diving.

      --
      Free Software: Like love, it grows best when given away.
    8. Re:What does patch help? by cjwatson · · Score: 1

      As others have said, the patch removes the passwords from the saved cdebconf database in /var/log/installer/cdebconf/ and then chmods the databases 600 for good measure. We will be considering making updated installer images available, but since so many people have the vulnerable images it's necessary also to take adequate measures to protect them, and that comes first.

    9. Re:What does patch help? by Spug · · Score: 1

      Also saying that it "only affects The 5.10 Breezy Badger release" may be a bit belittling, as probably most people have installed exactly that release.

      However, this bug only exists in clean 5.10 installs. Most people probably run 5.10, but many of those are people who upgraded from 5.04.

    10. Re:What does patch help? by Dan+Farina · · Score: 1

      ...Once someone has physical access, the things you can do to prevent compromising the system are pretty meaningless. Want to alter the passwd file? No problem. You could also copy the entire thing to an external hard drive, and pick through it at your leisure.

      I don't see the value in shredding. Once the file is root-only accessable you've gained a reasonable amount of security, save escalation exploits which now carry the danger of being able to divine the root password with relative ease.

      But everything's relatively over once you escalate anyways.

  43. OpenBSD by putko · · Score: 1

    It is unimaginable that OpenBSD would ever have an error like this.

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  44. Probably affects Edubuntu, too by Anonymous Coward · · Score: 0

    Edubuntu has a neat installation of a Linux terminal server so this thing could have made a backdoor in school labs, etc. where it would have been a multi-simultaneous-user system. On a single-user system it would have been no problem because you can always be yourself.

  45. Re:I believe this is a feature by Anonymous Coward · · Score: 0

    If you're spending a lot of time in the shell "sudo -s". Otherwise I actually find sudo handy because it keeps its state for a certain timeout perioud where you don't need to type the root password again. In this case it's nice when you're switching between user and root commands.

  46. I can't believe.... by BlueStrat · · Score: 1

    all these comments and noone has yet said it... ..ok...I'll do it, you've forced me..

    Is this a "badger hole"?

    Hey, someone *had* to say it. Laugh.

    Strat

    --
    Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.
    1. Re:I can't believe.... by rjshields · · Score: 1
      Laugh.


      HAHAHAHAHAHAHAHAHA!!!1

      I think the badgers have got to me.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    2. Re:I can't believe.... by Anonymous Coward · · Score: 0

      Badgers live in "sets" don't they?

    3. Re:I can't believe.... by BlueStrat · · Score: 1

      rjshields wrote:

              Laugh.

      HAHAHAHAHAHAHAHAHA!!!1

      I think the badgers [badgerbrewery.com] have got to me.


      AC wrote:

      Badgers live in "sets" don't they?

      I believe "case" or "keg" are the terms for which you search, although I understand the wild variety are sometimes known as a "tub". ;)

      Strat

      --
      Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.
  47. Valid point, but... by evilgrug · · Score: 1

    You definitely have a valid point, but you still can't defend Microsoft's slow response to the WMF issue.

    Within hours, a member of the SomethingAwful forums had hacked together a patch to the gdi32.dll with a few dozen NOP instructions to render the SetAbortProc call useless. Obviously with just a hex editor and no access to the Windows source code.

    And how long did Microsoft take?

    1. Re:Valid point, but... by Aranth+Brainfire · · Score: 1

      True, I won't even try to argue in Microsoft's favor, but the post I replied to was just too tempting to take down to resist.

      --
      "Quoting yourself is stupid." -Me
    2. Re:Valid point, but... by drsmithy · · Score: 1
      Within hours, a member of the SomethingAwful forums had hacked together a patch to the gdi32.dll with a few dozen NOP instructions to render the SetAbortProc call useless. Obviously with just a hex editor and no access to the Windows source code.

      And how many applications did this "fix" break ?

      Out in the real world, fixing security holes is a touch more complicated.

    3. Re:Valid point, but... by evilgrug · · Score: 1

      Absolutely zero. It obviously didn't remove the entire SetAbortProc function from the Windows API -- it removed the SetAbortProc function from gdi.dll graphics rendering engine.

      Microsoft's official fix was obviously not the same -- but it achieves the same purpose -- you can't call SetAbortProc at all from a WMF. Applications can.

      My point wasn't that "Joe Blow came up with the fix in mere hours, they should have taken even less time." It was that even with the appropriate testing time, MS should be able to release a fix in days. Not weeks.

  48. Choose strong obscure passwords by L505 · · Score: 5, Interesting
    Using special characters not available on the keyboard is another strong security measure..

    Many people know how to generate these special characters but I'll mention anyway: using the ALT/META key and the NUMPAD keys. Having a character map printout handy so you know the DEC (decimal) values of these special characters is a good idea if you decide to implement one of these passwords. Punch in ALT-DecimalValue with number lock on.

    They may not work in some situations if special characters and not allowed, but you'd be surprised that they do work most often.

    I bet most dictionary attacks don't run through many special characters. The cracker is lazy too and will probably not even consider that you chose a funny character which does not even exist on the keyboard.

    Remember not to use NULL (#0) though, for crying out loud.

    1. Re:Choose strong obscure passwords by Anonymous Coward · · Score: 3, Interesting
      ...still more proof that NUL-terminated strings are the work of the devil. C'mon -- give up two bytes at the front of the string to tell how long the damned thing is. It's not fucking 1974 where the loss of a couple of bytes is gonna crap out the system. Prepend the length -- and reserve a value like 0xFFFF to mean "at the end of this string find another string with its own length encoded there..." -- Yes, I know, there's the potential for collision with a string that's actually 0xFFFF bytes long - but hey, the problem was solved to everyones satisfaction by pretty much every RLE encoding scheme.

      Null termination is evil. Every buffer overflow you read about is a side-effect of null termination which could be avoided -- at the cost of two bytes per every sixty-five-thousand bytes of string.

    2. Re:Choose strong obscure passwords by ajs318 · · Score: 3, Interesting

      Only two bytes? That's a limitation of 65536 chars -- not that much really when you think about it. For crying out loud, we have 64-bit processors now. Please, let's think of the future, and reserve eight bytes for string length -- just in case somebody ever wants to put the entire addressable space into a scalar.

      --
      Je fume. Tu fumes. Nous fûmes!
    3. Re:Choose strong obscure passwords by grahamlee · · Score: 5, Funny

      Hey, if we're thinking of the future, let's not use a fixed-width length field for the string at all! That way, we can never generate a string longer than the permitted length field. Let's just terminate the string by a known character sequence, and guarantee that that sequence doesn't appear in the string itself. We could use the \0 character as the terminator.

    4. Re:Choose strong obscure passwords by ajs318 · · Score: 1, Informative

      But what if someone wants to use \0 in a string?

      --
      Je fume. Tu fumes. Nous fûmes!
    5. Re:Choose strong obscure passwords by chris+macura · · Score: 2, Informative

      Gee, I dunno.

      Oh yeah!

      typedef struct {
            unsigned int len;
            char *content;
      } String;

    6. Re:Choose strong obscure passwords by Anonymous Coward · · Score: 0

      I just tried this in an xterm and it doesn't work. Nice idea though.

    7. Re:Choose strong obscure passwords by Syberghost · · Score: 2, Interesting

      Those of you who have been doing the online thing a long time might recall an old BBS door game called "Time of Chaos". In that game, you could have a base with a passcode for the door, but opponents could buy a piece of gear that allowed them to make an attempt to crack your passcode.

      The game would show the passcode as a series of periods ("."), replacing a random number of them with the actual codes. By using several of these devices, you could get several or all of the characters in the passcode by repeating the attempt.

      A common defense was to use passcodes that consisted of periods, spaces, and alt-255, which on IBM-compatible systems of the time generated a character that looked onscreen like a space but wasn't.

      This was especially effective if the attacker was on a system that couldn't easily generate the alt-255 character.

    8. Re:Choose strong obscure passwords by Anonymous Coward · · Score: 0

      Now you just need to modify every single string handling function in the standard library to use your new String type.

    9. Re:Choose strong obscure passwords by sqlrob · · Score: 2, Informative

      Oh yeah, what possible header could include those updates?

      How about
      #include <string> ? Radical, I know, but you have to put strings that contain their length and can contain nul somewhere!

    10. Re:Choose strong obscure passwords by paulatz · · Score: 2, Informative

      I remember when I had the bad idea of using such a password at the college. When they changed the keyboards from USA to italian layout I could not login for days.

      --
      this post contain no useful information, no need to mod it down
    11. Re:Choose strong obscure passwords by Chabil+Ha' · · Score: 1

      I have used johntheripper and lophtcrack to experiment with such characters. It was interesting to note that lophtcrack displayed the ' ú ' as ' U '. This in a sense made it secure by obfuscation, but anyone experienced would then start using ú substitutions, etc. Plus, it is not entirelt difficult to introduce these character sets into a brute force mechanism.

      --
      We're all hypocrites. We all have hidden parts, it's the contrast between them that make us more a hypocrite than others
    12. Re:Choose strong obscure passwords by Phreakiture · · Score: 1

      Yes, I know, there's the potential for collision with a string that's actually 0xFFFF bytes long

      Solve thus: Start with the 0xFFFF to indicate the length of the string. Follw that with the 65535 characters that make up the string. Follow that, as specified by the special meaning of 0xFFFF with an indicator of how many more characters to follow, specifically, 0x0000.

      Not a big deal.

      --
      www.wavefront-av.com
    13. Re:Choose strong obscure passwords by L505 · · Score: 1
      C'mon -- give up two bytes at the front of the string to tell how long the damned thing is. It's not fucking 1974 where the loss of a couple of bytes is gonna crap out the system. Prepend the length...

      I'm not sure if you know about Ansistrings... but they are similar to what you describe. They still have a null terminator so you can cast to a *char (pchar) without problems. They are smart strings which contain the length at beginning, but are not of a fixed length throughout the life of the program.

      Just that many languages have not implemented a STANDARD ansistring refcounting system yet, so it isn't compatible between languages when creating DSO/DLL's.

      Todo: implement a STANDARD and SPECIFICATION for reference counting ansistrings that all languages can implement follow.

    14. Re:Choose strong obscure passwords by L505 · · Score: 1

      Another úse for these fúnny characters is so yoú can mock (read steal) other slashdotters' úsernames which are already taken.

    15. Re:Choose strong obscure passwords by arivanov · · Score: 1

      I agree with you.

      In fact this is the approach taken by Turbo pascal. 255 byte strings in the beginning followed by a different type with 32768 bytes from sometimes in the mid-90-es. This is also the approach many script languages take.

      It is about time C/C++ saw the light.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
  49. But is it fixed right? by Anonymous Coward · · Score: 0

    Based on the FPP, it sounds like the solution was to delete the install log. But that means the password was stored on the hard drive in clear text at some point. A deleted file doesn't go away automatically. Especially in this case where it is surrounded by predicatable ASCII characters... a "strings" on the partition and a grep -B2 -A2 or similar should locate it. Of course that requires root, but then what's the point of encrypting it if you are going to also store it in clear text.

  50. Re:But Ubuntu has no root account! by Anonymous Coward · · Score: 1, Interesting

    It DOES have a root account, it's just it sets the root password to some value that you're not trusted enough to be told. I personally fall prey to "bad" sysadmin techniques, and I sudo passwd root first thing. I then log in as root for sysadmin functions. In general, my systems are not intended for multiuser shell access (read - I'm the only user with shell access anyway), and it's a pain to sudo everything. I end up using sudo bash, so I may as well just log in as root to start with. I've never really understood why it's so BAD to log in as root. Yeah, so you can screw stuff up on accident if you're not careful. Typing sudo before the command as a regular user is just as bad. I guess it might make sense if you have multiple sysadmins and want to track who did what. But in my case, I am the only sysadmin, so why bother with the extra "security"?

  51. Use the right tool... by MarkByers · · Score: 5, Insightful

    Don't use a bleeding edge home desktop OS if you want a secure multi-user server.

    --
    I'll probably be modded down for this...
    1. Re:Use the right tool... by kestasjk · · Score: 3, Interesting

      True, it's also worth bearing in mind that the server install of Ubuntu 5.10 doesn't suffer from this vulnerability.

      --
      // MD_Update(&m,buf,j);
    2. Re:Use the right tool... by C_Kode · · Score: 1

      While what you say is true, there is no excuse for saving the root password in the install log. Doesn't matter how bleeding edge, alpha, beta or even if it's the 24th letter of the Greek alphabet.

    3. Re:Use the right tool... by An+Onerous+Coward · · Score: 1

      I didn't know they even had a server edition. They need to advertise it better, I think.

      I'm having trouble finding the major selling points for it. Aside from the lack of a GUI, what are the differences between it and regular Ubuntu?

      --

      You want the truthiness? You can't handle the truthiness!

    4. Re:Use the right tool... by Nimey · · Score: 1

      It's the same CD; you just have the option to install normal or server Ubuntu when you boot from it.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    5. Re:Use the right tool... by Anonymous Coward · · Score: 0

      This vulnerability DOES exist in the server distro... check it yourself if you dont believe me.

  52. Legal before security-the openssl vs netatalk mess by SuperBanana · · Score: 4, Interesting
    Want another example of Debian/Ubuntu idiocy?

    The netatalk package, which provides Appletalk services (most commonly used servies are AFP, ie filesharing, and papd, the printing spooler), isn't compiled in with ANY encrypted password support. If you connect to a debian or debian-based appletalk fileserver, you get a warning you are transmitting your password in clear-text. Yes, we're jumping about 10 years BACKWARDS in security.

    Why? Because the legal-circle-jerk that is the debian-legal mailing list, decided that it wasn't "legal" to link netatalk (a GPL project) to OpenSSL (license supposedly incompatible with GPL.) This doesn't stop every other distribution on the planet from compiling netatalk with openssl, and hence supporting encrypted passwords.

    They politely suggested that GnuTLS, which isn't even remotely drop-in, be used instead. That was back in 2002...and the issue still hasn't been addressed. I filed a bug on it and the bug was simply ignored.

  53. UNIX mouse driver released by L505 · · Score: 1, Funny

    Click? Since when did UNIX have mice.

    1. Re:UNIX mouse driver released by itismike · · Score: 1

      I'm probably walking into this, but just in case: Ubuntu is a version of Linux - a Unix-like OS which fully supports GUI's. Check it out at http://distrowatch.com/dwres.php?resource=major

    2. Re:UNIX mouse driver released by Pogue+Mahone · · Score: 5, Informative
      Since when did UNIX have mice.

      Since long before MS-DOS had them:

      Look..

      --
      Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
    3. Re:UNIX mouse driver released by Anonymous Coward · · Score: 0

      Er, since when did beating Microsoft to the punch become anything to boast about?

      Now maybe if the X Window System predated the Lisa... but alas, it does not.

    4. Re:UNIX mouse driver released by Anonymous Coward · · Score: 0

      Since when did ripping something off of Xerox become something to boast about? No maybe if the the Lisa...

      You get the rest

  54. Whew! by cciRRus · · Score: 2, Funny

    Good thing I'm using Windows.

    --
    w00t
  55. Re:But Ubuntu has no root account! by intangible · · Score: 1

    Just sudo -s when you need to use a shell for an extended period.

  56. Agreed. by jd · · Score: 2, Informative
    If the password needs to be temporarily stored, there are plenty of ways to store a password that are secure and fast. Besides, since you'll only ever actually check the password against a hashed value, it would be more logical to store the hash if you want the speed.


    For debugging purposes, you MAY want to print out entered values. However, you don't do this in the main log. For a start, if you're debugging, you don't want to have to search through tonnes of text. You want to find the error fast. You therefore output the "routine" log to one file and the "debug" log to a different file.


    Doesn't this just go back to the same problem though? No. First, debug logs don't need to be written to quickly, because debug sessions are going to be slow anyway. Therefore you can encrypt them or otherwise make them unreadable to the casual observer. In general, you want these to be sent to the maintainer as part of a bug report in the event of an install failure, so just pre-encrypt them with the maintainer's public PGP/GPG key.


    A more "correct" solution would be to assign different debug levels to different levels of logging, where your maximum level logs absolutely ALL data entered by the user, but where distributed versions are issued with much more basic logging that excludes private information that isn't likely to be useful in debugging the problem anyway.


    (The ideal solution is to have maintenance debugging for logging everything as a distinct patch to the basic distribution, so the basic distribution cannot - even accidentally - log everything. That way, users don't even have to put up with obscenely inflated binaries that have lots of debug stuff that will likely never be used, and maintainers don't ever have brown-paper-bag security scares.)

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Agreed. by Phleg · · Score: 1

      I assume that just reading TFA would be too much work for you?

      --
      No comment.
  57. Re:okay by Punboy · · Score: 1

    Nah, its actually friday nights.

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
  58. Re:Ehh (if this was windows...) by LordEd · · Score: 1

    if you substituted windows for ubuntu, you'd be modded +5 by now

  59. no.. by L505 · · Score: 0

    GNL is NOT linux.

  60. Root Passwords should never be stored ANYWHERE... by hvatum · · Score: 2, Informative

    ...in any form, even the hash!! Anything less is simply a huge security hole.

    --
    Netbooks, they come with Linux or a $3 copy of Windows. Either way, Microsoft loses.
  61. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  62. Re:I believe this is a feature by Punboy · · Score: 1

    Dude... "sudo su -"?

    And you've been using sudo how long?

    For those who want to save 3 characters of typing, please use the far simpler and easier to use, "sudo -s"

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
  63. Why hedgehogs...? by Anonymous Coward · · Score: 0

    ...because the approaching drakes changed direction? ;)

  64. Saving password to disk in plain text ? by AaronLawrence · · Score: 1

    If you read the post, then it turns out they ALWAYS save passwords in plain text to disk. It's just that they "try really hard" to remove them as quickly as possible. Well, that's how I read it.

    With a great design like that, seems like critical bugs are just waiting to fall out.

    --
    For every expert, there is an equal and opposite expert. - Arthur C. Clarke
    1. Re:Saving password to disk in plain text ? by cjwatson · · Score: 1

      That's not true. Passwords are transiently in the cdebconf database, yes, but that's in memory and they're meant to be cleared out before that database gets saved; even if that database does get saved, it's only supposed to be to a file in a ramdisk that's not copied to disk at the end of the installation. This vulnerability arose because both of those defences failed.

  65. Patch mirror by atomic-penguin · · Score: 2, Insightful

    #!/bin/sh
    PASS="my_root_password"

    echo "Why would anyone log a password in the installer?\n"
    find /var/log -type f -exec sed -i s/$PASS//g' {} \;

    echo "Why would anyone have /var/log readable by users?\n"
    chown -R root:root /var/log
    chmod -R o-rwx /var/log

    echo "All done, thanks for using Atomic-Penguin\'s unofficial ubutnu patch!\n"

    --
    /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    1. Re:Patch mirror by zcat_NZ · · Score: 2, Funny

      echo "Why would anyone leave their root password hardcoded in a bash script" ; exit 1

      --
      455fe10422ca29c4933f95052b792ab2
    2. Re:Patch mirror by cortana · · Score: 3, Informative

      Well done, you just took out the ability for most daemons to write to their log files.

  66. Re:Legal before security-the openssl vs netatalk m by SnowZero · · Score: 4, Insightful

    ...Why? Because the legal-circle-jerk that is the debian-legal mailing list, decided that it wasn't "legal" to link netatalk (a GPL project) to OpenSSL (license supposedly incompatible with GPL.

    This has been discussed at length, and OpenSSL's license is GPL incompatible. Everyone else may simply think it's ok to bend the rules, and that they won't ever get sued for it. That's not a safe assumption for a volunteer-based distribution.

    This doesn't stop every other distribution on the planet from compiling netatalk with openssl, and hence supporting encrypted passwords.

    "Everyone else breaks the rules, so its ok." That doesn't work for speeding tickets, and it doesn't work in contract/license disputes.

    They politely suggested that GnuTLS, which isn't even remotely drop-in, be used instead. That was back in 2002...and the issue still hasn't been addressed. I filed a bug on it and the bug was simply ignored.

    Maybe you and any other users of appletalk on unsecure networks ought to band together and fix it. Alternatively you can just switch distributions or upgrade your networking from appletalk (a 1980s protocol, since you were talking about being 10-years backwards).

    Does it suck? Yes. It sucks that the OpenSSL people won't change their license, and upstream netatalk doesn't care either. However Debian would risk legal action against ALL users if they break the law, even though 1% of the users use this package. They chose the solution for 99% of their users, which is the best you can hope for in an esoteric case like this.

  67. Does not apply to expert mode installs by Pausanias · · Score: 2, Interesting

    I didn't find the password in my installer logs. It seems that if you install in expert mode you're OK. See the bug report here:

    https://launchpad.net/distros/ubuntu/+bug/34606

    1. Re:Does not apply to expert mode installs by Pausanias · · Score: 2, Interesting

      OK, well folks in the bug report are now saying they have the cleartext password in their logs even with an expert install. So it's not at all clear why some users have the cleartext and other don't. Anybody know why?

  68. Re:Legal before security-the openssl vs netatalk m by Jesus_666 · · Score: 0, Flamebait

    Oh, come on. You filed the bug in 2002! They still have to test it for a few years to make sure it's stable, then they will try and solve it. You can't expect Debian to fix any cutting-edge bug...

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  69. Not in my logs at all by Philip+K+Dickhead · · Score: 2, Informative

    less /etc/issue
    Ubuntu 5.10 "Breezy Badger" \n \l


    I upgraded from Warty - with dist-upgrade - maybe thats my deal... apt-get update && apt-get upgrade, anyway.

    --
    "Speaking the Truth in times of universal deceit is a revolutionary act." -- George Orwell
  70. Re:Legal before security-the openssl vs netatalk by shutdown+-p+now · · Score: 1
    They politely suggested that GnuTLS, which isn't even remotely drop-in, be used instead. That was back in 2002...and the issue still hasn't been addressed.
    You have to understand that from their viewpoint, the issue is not with them, but with the author of the software in question. On a side note, is there any good reason to not use GnuTLS over OpenSSL for a project released under GPL?
  71. Re:okay by arose · · Score: 1

    Who needs facts if you have hyperbole!

    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  72. Re:I believe this is a feature by dolphinling · · Score: 1

    And for those who want to learn how to count, please use apt-get install kids_counting_program.

    --
    There are 11 types of people in the world: those who can count in binary, and those who can't.
  73. 'storing' passwords. by Stephen+Samuel · · Score: 1
    Even when I write down a password, I'll do it (slightly) encrypted. That way if some gook gets hold of the paper and figures out what it means, they'll still probably spend half an hour trying to figure out what it really means.

    Hell, even I sometimes have to spend half an hour trying to figure out what I meant.

    The preferred method, however is to not write it down at all.

    Which reminds me: I don't trust installers to secure passwords. Quite often, I'll use a cheap password on installation, and then reset the password after the install is complete .... Just in case something like the instant STUPID bug occurs. Installers are often written by relatively junior programmers... the kind of people who are most likely to do stupid things like this.

    Silly story:
    Back in the '80s the original BSD 4.0 code for chfn (change full name) allowed you to set the GCOS field, but did absolutely NO input validation....

    I ran into it because I accidently put a ':' into my gcos field -- which messed things up until I created another mangled entry that included a newline (to get the original garbage out of the way. Then I realized that I could could do something like:

    chfn 'myname:/u/myname:/bin/bash
    myname2:<encryptedpwd >:0:0:my root login'
    Now I had a root login that I could use to clean up the mess I had made in the /etc/passwd file.

    I cleaned things up and then hunted down our sysadmin (I was a lowly student at UofA back then) and explained the problem. It didn't take him very long to get the patch out.

    --
    Free Software: Like love, it grows best when given away.
  74. Simpler fix: change root password? by noidentity · · Score: 1

    Maybe I'm clueless, but isn't the "fix" to simply change your root password after installation?

  75. Patch by adiposity · · Score: 1

    > Ubuntu users, be sure to get the patch right away.

    I hope the "patch" deletes the log file, and doesn't just fix the installer. Ubuntu users, delete the log file, since I doubt you will ever set the root password w/your installer again. Or, change the root pw--then the one in the log file won't match. Honestly...

    -Dan

  76. Real Solution: CHANGE YOUR PASSWORD by Stephen+Samuel · · Score: 3, Insightful
    Anybody who's done a breezy install and allowed any sort of remote or non-admin access should be changing their password .... NOW! .

    The patch (unless it goes out and deletes the offending files) is only going to patch the installer (which you're probably never going to run again). You're still going to have a cleartext copy of your original admin password sitting on the box in a file with read-other permissions.

    Even if the files get deleted (or have their permissions changed), you still have no idea as to whether somebody has read the files since October.

    BTW: Are they re-burning the installation CDs?

    --
    Free Software: Like love, it grows best when given away.
    1. Re:Real Solution: CHANGE YOUR PASSWORD by Anonymous Coward · · Score: 0

      Are they re-burning the installation CDs?

      Yes they are. Two geeks with Ubuntu caps showed up at my place. They said they were here to re-burn my Ubuntu installation CDs. I was a bit skeptical because my installation CD is a CD-R and not a CD-RW, but they said they had to re-burn it. They put my installation CD into their "re-burner" and gave it back to me 5 minutes later freshly re-burn.

      What a dumb question.

    2. Re:Real Solution: CHANGE YOUR PASSWORD by Barrakketh · · Score: 2, Informative

      Among other things, the patch should change the permissions of questions.dat to 700. Previously it was 644.

      Additionally, this should only happen if you're performing an expert install; the normal installation procedure doesn't seem to have this problem.

      The installer maintainer (Colin Watson) has said two things that may (or may not) be of interest:

      I don't see how this is happening, because we deliberately db_set those questions to empty after retrieving the password to avoid this problem.

      So I guess that didn't work on some install types. The other, which addresses your question about Breezy install CDs:

      I've already put that on the agenda for discussion at the next technical board meeting. It'll take until then to come up with a really correct fix that would be suitable for fresh Breezy installer images (as opposed to the security patches which merely undo the damage after it's been caused) anyway.

    3. Re:Real Solution: CHANGE YOUR PASSWORD by Anonymous Coward · · Score: 0

      Given that the change is only a couple of bits. If you're really lucky, it might be possible to do a burn that would only have to set bits to make this work.

    4. Re:Real Solution: CHANGE YOUR PASSWORD by An+Onerous+Coward · · Score: 2, Informative
      "The patch (unless it goes out and deletes the offending files) is only going to patch the installer (which you're probably never going to run again). You're still going to have a cleartext copy of your original admin password sitting on the box in a file with read-other permissions."


      I've been +5 wrong a few times. It's always a bit embarrassing. Stupid moderators. :)

      The fix does indeed fix the problem file. I applied it this morning, and afterwards the file in question (/var/log/debian-installer/cdebconf/questions.dat) is no longer readable by anyone but root, and no longer contains the offending passwords.
      --

      You want the truthiness? You can't handle the truthiness!

    5. Re:Real Solution: CHANGE YOUR PASSWORD by Stephen+Samuel · · Score: 1

      My point is that that's fine for a virgin install where nobody other than the sysadmin(s) has logged into the system. If, on the other hand, the box has been in production for 2 months, how do you know that nobody else has managed (either on purpose or by mistake) to read or make a copy of questions.dat?
      The only real solution to that problem is to change your password.

      --
      Free Software: Like love, it grows best when given away.
    6. Re:Real Solution: CHANGE YOUR PASSWORD by jargoone · · Score: 1

      The only real solution to that problem is to change your password.

      The problem with that solution is that someone might be able to get root access anyway, using a backdoor which was easily put in place with root access.

      The real solution is a complete re-install from scratch. Maybe of something other than Ubuntu. [ducks]

    7. Re:Real Solution: CHANGE YOUR PASSWORD by Stephen+Samuel · · Score: 1
      The real solution is a complete re-install from scratch. Maybe of something other than Ubuntu. [ducks]

      Touché. You're right. Not many way to be sure that they system's not irrevocably hosed. You could, however, boot from knoppix (or the umbutu live CD) and check all of the binaries, config files and modules.

      --
      Free Software: Like love, it grows best when given away.
  77. Too many mushrooms by lbft · · Score: 1

    It looks like those badgers have had a few too many of those mushrooms!

  78. Windows does... by daivdg · · Score: 1

    Unless you are only referring to *nix variants?

    1. Re:Windows does... by damiam · · Score: 1

      Last time I checked, the Windows installer prompts the user to create a passworded admin account and then to create a normal user. It's possible to create a blank admin password, but you have to consciously choose to, and if you do, Windows won't let you log on remotely with that account.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
  79. Dude, if you have to... by Anonymous Coward · · Score: 2, Insightful

    ..install a backdoor password, at least make it a not easily crackable one.. :|

  80. Re:Legal before security-the openssl vs netatalk by Anonymous Coward · · Score: 0

    You have to understand that from their viewpoint, the issue is not with them, but with the author of the software in question.

    But you have to agree that the blame is entirely on Ubuntu's side since they have chosen this solution.

  81. The answer is obvious by Anonymous Coward · · Score: 0

    "If this is the quality of code that the Ubuntu team is developing for it's distro, though, I do have to question why it is so popular."

    Wait.. You're serious? It's obviously because it's so user friendly. I bet you my soul that simplicity/ease of use is the single most important driving factor behind Ubuntu's success. As long as the system isn't taken down every 30 seconds, mainstream desktop users will tolerate bugs. I always get suprised when people act as if something like an inherently flawed file system structure acually matters to mainstream desktop users.

    1. Re:The answer is obvious by Armando_Mcgillicutty · · Score: 1
      Agreed

      I've been using Ubuntu for a few months now. It's the first distro that I've installed that "just worked".

      Virtually every other distribution I'd ever tried drove me back to Windows within a week or so because of all the hastle trying to make everything work correctly.

      The Ubuntu guys seem to understand that for Linux to become popular with the masses, that it has to be useable by the masses.

  82. Re:Legal before security-the openssl vs netatalk m by Walles · · Score: 1
    Quoting SuperBanana: "Everybody else is pirating netatalk and / or OpenSSL, so Debian are stupid for not doing it as well."

    Excellent point. Not.

    --
    Installed the Bubblemon yet?
  83. Re:Legal before security-the openssl vs netatalk m by Achromatic1978 · · Score: 1
    However Debian would risk legal action against ALL users if they break the law, even though 1% of the users use this package.

    Huh? How could anyone sue you for Debian's actions, if you didn't even have the offending software installed?

  84. Re:Legal before security-the openssl vs netatalk m by 1u3hr · · Score: 1
    The netatalk package, which provides Appletalk services

    Okay, but who uses Appletalk now anyway? If you want a Mac Quadra to upgrade your network, I can let you have one for the cost of shipping.

  85. Ubuntu updates and why I don't install them by Anonymous Coward · · Score: 1, Insightful

    There's an assumption in your post that the only reason a person wouldn't install the updates is failure to notice their existence disinterest in messing with things. I personally don't keep the latest updates installed out of fear.

    I need my linux install to work all the time because I rely on it to do my school work (computer science). An ubuntu update has never broken my system before, but it's a concern for me nonetheless. Every linux system is configured differently, and I'm not willing to bet my academic success on the hope that my exact set of installed packages and config files on my hardware won't have any problems that weren't caught in some kind of non-commercial open-source testing phase (or perhaps weren't tested at all).

    Call me paranoid, but I always wait until a break to install my updates. I've chosen to effectively have the same security update frequency as Windows even though I can plainly see when new updates are available. Hopefully I won't get p0wned because of it.

  86. Re:Root Passwords should never be stored ANYWHERE. by Attrition_cp · · Score: 2, Insightful

    Just a question, if the password hash isn't stored anywhere, how do you compare the password you enter to the actual password?

    --
    Touched By His Noodley Appendage.
  87. Heh heh. by zippthorne · · Score: 1

    but.. um.. that got me thinking..

    Is there an easy way to check to see if your password is stored in a plaintext file somewhere in the filesystem?

    --
    Can you be Even More Awesome?!
    1. Re:Heh heh. by Antique+Geekmeister · · Score: 1

      The command "grep -r" can be very useful to look for strings lying around in plain text files: be careful not to use it in such a way as to leave your password lying around in your bash history, or run "history -c" when you're done to clear it.

  88. [easier] Solution by tpgp · · Score: 0, Redundant
    Open a terminal and type:
    sudo grep -r <my password> /var/log
    (if it returns your password, you're vulnerable)
    $ sudo apt-get update
    $ sudo passwd base-config
    (wait)
    $ sudo grep -r <my password> /var/log
    (if it doesn't return your password, you're no longer vulnerable)

    On a side note - this is pretty bad - sure a lot of people are going to say this is local privilige escalation only, but combined with any other exploit, this allows an attacker root access.

    This is the reason I use Debian for anything serious....
    --
    My pics.
    1. Re:[easier] Solution by Filip22012005 · · Score: 2, Informative

      Isn't the password in your bash history now (twice)?

      --
      When the policeman of the tie, rule you violate, hello punishment of the kitty?
    2. Re:[easier] Solution by tpgp · · Score: 3, Informative
      Isn't the password in your bash history now (twice)?

      Whoops! You are of course completely right...

      Just goes to show that you can't be half-assed about password security :-)

      Mod my [easier] solution into the ground mods!

        Open a terminal and type:
      sudo grep -r mypasswd /var/log
      (if it returns your password, you're vulnerable
      sudo apt-get update
      sudo passwd base-config
      (wait)
      sudo grep -r mypasswd /var/log
      (if it doesn't return your password, you're no longer vulnerable)

      The 'mypasswd' string grepped for above will immdiately preceed your primary user password
      --
      My pics.
    3. Re:[easier] Solution by M1FCJ · · Score: 1

      Surely the reeeeaaaal solution is:
      ubuntuuser@ hackedubuntuserver$ sudo passwd
      Password:
      Enter new UNIX password:
      Retype new UNIX password:
      passwd: password updated successfully

    4. Re:[easier] Solution by Wudbaer · · Score: 1

      Use history -c to clear the bash history.

    5. Re:[easier] Solution by Anonymous Coward · · Score: 1, Informative
      Use history -c to clear the bash history.

      Or
      set +o history
      before typing sensitive info, then
      set -o history
      when finished. That way the history file isn't flushed, just the relevant entries.
    6. Re:[easier] Solution by RedACE7500 · · Score: 1

      You'd want to change your password as well. not just root's. As well, any other users on your system with sudo access, just to be safe. Better yet, disable sudo as it isn't needed for single-user systems and only weakens security.

    7. Re:[easier] Solution by Antique+Geekmeister · · Score: 1

      There are related versions of this problem. Mis-typed IMAP and POP and SSH logins, where the user accidentally types their password in the user account line, are a fun way to get other people's passwords on a shared server. You really have to think about what you put in logs and who gets access to them on a login capable server.

    8. Re:[easier] Solution by fimbulvetr · · Score: 2, Informative

      'sudo passwd' doesn't change root's password - the sudo does nothing in this case. It will still change yours.

      If you wish to change root's pass, you need to 'sudo passwd root' or 'sudo su -;passwd'

    9. Re:[easier] Solution by dozer · · Score: 1
      You've still got a problem: your password hits the command line multiple times. Command lines are public knowledge in Unix ("ps -f -u root"). You need to use something like:
      echo PASSWD | grep -rf - /var/log
    10. Re:[easier] Solution by tpgp · · Score: 1
      You've still got a problem: your password hits the command line multiple times. Command lines are public knowledge in Unix ("ps -f -u root"). You need to use something like:

                  echo PASSWD | grep -rf - /var/log


      I'm not so sure that's correct.

      When I say 'mypassword' above, I mean the literal string 'mypassword' - it will return my actual password in plain text true, but so will your command.

      Also, wouldn't your command be a little more like:
      grep -rf `echo $PASSWD` /var/log
      I don't have a linux box handy to check with atm
      --
      My pics.
    11. Re:[easier] Solution by Zwaxy · · Score: 2, Informative

      "sudo passwd" changes root's password in ubuntu 5.04 and 5.10.

      Where does this idea that you need to type "sudo passwd root" come from? I see it repeated in IRC channels and message boards, but it's just not true.

    12. Re:[easier] Solution by norite · · Score: 1
      LMAO.... I just tried that on my SuSE distro, and this is what it returned:

      chameleon@linux:~> sudo grep -r ******* /var/log

      We trust you have received the usual lecture from the local System
      Administrator. It usually boils down to these three things:

      #1) Respect the privacy of others.
      #2) Think before you type.
      #3) With great power comes great responsibility.

      :o)

      --
      -- Fuck Beta
    13. Re:[easier] Solution by barefootgenius · · Score: 1
      To which I got;
      "We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:

      #1) Respect the privacy of others.
      #2) Think before you type.
      #3) With great power comes great responsibility."

      --
      /. bug #926803 - Why I can post.
  89. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  90. first rule by Sfing_ter · · Score: 1

    don't trust anyone elses "Secret Password" just put your own. the first thing i do on u/k/x/buntu is change the root password to my very own :)

    I remember a job i had, where i setup everything for the company and had all the passwords, (50 people yadda yadda), well they fired the guy who was my assistant and had all the passwords handed down to him, and he was not so friendly, he deleted all reference to them from his computer and the original encrypted file was on my computer that the new admin formatted >:) So they call me as they need the password for the isp access, "penis", the boss gets angry, "what the hell kind of password is that?", a pretty damn good one as you didn't guess it :) !!!!!!!

    --
    A computer once beat me at chess, but it was no match for me at kick boxing. Emo Philips
    1. Re:first rule by Vo0k · · Score: 3, Funny

      > So they call me as they need the password for the isp access, "penis",

      If you tried this on my system, it wouldn't work, it would say your password is too short.

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
    2. Re:first rule by jeremyp · · Score: 1

      Your boss was probably angry, not because you used the word penis, but because it is susceptible to a dictionary attack.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    3. Re:first rule by Anonymous Coward · · Score: 0

      Come on, acknowledge the source of your ripped-off jokes too - http://www.bash.org/?136524

    4. Re:first rule by Vo0k · · Score: 1

      Sorry, I just didn't remember the source, honestly!

      (still doesn't beat one on bash.org.pl where a guy was refused shopping service in an online shop because his second name was too short ;)

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
    5. Re:first rule by Sfing_ter · · Score: 1

      Well, this was in the ancient days when AOL was considered a good isp, and my boss would have thought a dictionary attack was someone throwing a book...

      --
      A computer once beat me at chess, but it was no match for me at kick boxing. Emo Philips
  91. Root account not activated during installation by Omega+Blue · · Score: 1

    During installation the root account is not activated. Instead, it gives your account sudo access. However anybody in the right mind will immediately activate the root account right after installation and remove your own account from the sudo list.

    1. Re:Root account not activated during installation by Dan+Farina · · Score: 2, Insightful

      Why is this a right-minded concept, may I ask? I am truly ignorant of the reasoning, so please enlighten me...

  92. Re:Legal before security-the openssl vs netatalk m by cerberusss · · Score: 1
    *laughs*

    It's funny, not flamebait...

    --
    8 of 13 people found this answer helpful. Did you?
  93. lousy performance, filename issues by SuperBanana · · Score: 1
    Okay, but who uses Appletalk now anyway?

    Anybody with a Macintosh and brains. AFP outperforms SMB by a factor of about 5:1 on directory operations, and 1.5:1 on raw file transfer performance. SMB also has very half-assed filename support.

    1. Re:lousy performance, filename issues by lidocaineus · · Score: 1

      Do you have any concrete examples? I did lots of NFS/SMB/AFP testing a few months back (with Debian no less as one of the machines), and SMB can out on top, followed by NFS and then AFP. Note that there wasn't a huge difference in any of them, especially netween NFS and AFP. SMB can be an annoying protocol. but for smaller subnets with only a few hosts, it's not that bad. Also, it's never been accused of being slow (unless configured wrong).

  94. QNX does by 5plicer · · Score: 1
    No modern OS sets up an unpassworded root account by default, especially on a multiuser system.

    Actually, QNX Neutrino 2 initially sets the root password to be an empty string. Granted, version 2 is from a few years back (and I don't know if the current version still behaves this way), but it's certainly a modern OS.

    --
    The bits on the bus go on and off... on and off... on and off...
  95. Got Root? by Anonymous Coward · · Score: 0

    Go Lunix!

  96. Bias Schmias by Makarakalax · · Score: 1

    I'm fed up with people claiming slashdot has some kind of bias. Ever article I read has fanboys and lapdogs bigging up their flavour of the month.

    There's no bias, there's just a bias in which people comment/mod which stories. K?

  97. On bias by Yvanhoe · · Score: 1

    Right, the bias exists. But we all know it and acknowledge it. I'd say it is part of the spirit of /. On the other hand, one must recognize that there is rarely lies in order to preserve this bias, patches from MS and flaws from linux are also reported, and even if the critics are far from balanced, wrong facts remain rare and willfully wrong facts even rarer. I believe this makes Slashdot a factual-objective, opinion-biaised forum. I like it.

    --
    The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
  98. "you should fix it" is elitist bullshit by SuperBanana · · Score: 3, Insightful
    Alternatively you can just switch distributions or upgrade your networking from appletalk (a 1980s protocol, since you were talking about being 10-years backwards).

    Secure password authentication in AFP was introduced at least 10 years ago. We're talking about AppleSHARE here, Mr. Genius. A protocol fully maintained and used extensively on current hardware. I'll switch to SMB when it offers the same level of performance as AFP (it doesn't, not even close, in raw transfer speed or directory operations) and the same filename compatibility.

    Maybe you and any other users of appletalk on unsecure networks ought to band together and fix it.

    So let's get this straight.

    • Linux software authors tell us how wonderful Linux is, how great "open source" is. We won't be locked into anything, blah blah.
    • We switch over. Things are good; it's free, it's fast, it's mostly stable and somewhat bug-free. Until we discover problems.
    • We report the problems- even filing those nice bug reports in Bugzilla.
    • We notice nobody's giving our problems any attention (over the course of years) and we complain about the delay.
    • We get told "it's a matter of principle" and to go fuc...sorry, I mean...fix it ourselves.

    Like many a faithful geek, I was led down the path of "enlightenment" offered. I helped give open-source software market share. I helped sell open-source to my boss, and my boss's boss. I redirected my career to support open-source software.

    And what do I get in return? "Fix it yourself, you dumb user."

    To think I still get asked why I'm not running Linux on my Powerbook. Because IT JUST WORKS; no politics, no "nobody cares about that bug so it won't be fixed". Because I don't have to deal with arrogant blowhard grad students telling me to fix software myself. I have neither the time, ability, knowledge nor inclination necessary to run around fixing complex software. 99.999% of the rest of the world doesn't either. Sad reality of life is that there is an extremely small segment of the population of linux users that have even the slightest qualifications to know how to go about fixing bugs or adding features.

    Like most academics, you have zero comprehension of what matters in the real world. Joe Sixpack doesn't go into Firefox and add features. Jane Officeuser doesn't fix GnuTLS so it works with netatalk. Users don't give a damn about theoretical lawsuit possiblities. They don't give a shit about the finer points of licensing. Nothing impresses a CIO or a Director of IT less than "oh, we have to transmit passwords in clear-text because the license for a system library isn't compatible with the license for the server software."

    Oh, and if you believe the whole Debian kool-aide line about "we have to protect this because we'd ALL BE SUED", I have two bridges in NY I'd just LOVE to sell you. PS: It says "gullible sheep" on the ceiling.

    1. Re:"you should fix it" is elitist bullshit by Chris+Pimlott · · Score: 2, Insightful

      Licenses aren't a technical detail of Linux, it's the core. It's what makes them possible. If we decide to start ignorning them because they are inconvenient in some particur situation, we weaken the entire foundation of open source software.

      And anyway, you may find in this post-SOX world that administrators care a bit more about the legality of their software than you may think.

    2. Re:"you should fix it" is elitist bullshit by Anonymous Coward · · Score: 0

      "no "nobody cares about that bug so it won't be fixed". "

      I'm fascinated, which OS are you running on that PowerBook? It can't be OS X because Apple have said "We don't care" about so many bugs no-one even bothers to keep a list any more.

    3. Re:"you should fix it" is elitist bullshit by Anonymous Coward · · Score: 0

      I helped give open-source software market share. I helped sell open-source to my boss, and my boss's boss.

      Now why should anyone care of marketshare you gave, if you are not willing to give back anything? Comeone, paying someone more competent than you to modify netatalk to link against gnutls would be max 2 workdays.

      Maybe you are the elitist here, willing to take a fat check from you boss for using free software, but not willing to give someone money who actually create the software you use..

    4. Re:"you should fix it" is elitist bullshit by swillden · · Score: 1

      To think I still get asked why I'm not running Linux on my Powerbook. Because IT JUST WORKS

      Except for the lame UI and the very limited supply of free software (yeah, Fink, I know... PITA compared to Debian, and Apple X11 sucks). The menubar on the top of the screen braindamange makes focus-follows-mouse unusable, which is why Apple doesn't even provide it. Don't even get me started on how badly Apple screwed up CUPS... just *try* to get it to deliver postscript to a remote print server.

      Debian Linux is much more usable on my PowerBook than OS X.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:"you should fix it" is elitist bullshit by Anonymous Coward · · Score: 1, Interesting

      I have neither the time, ability, knowledge nor inclination necessary to run around fixing complex software.

      And yet for some reason you think that other people who have bothered to acquire the necessary skills should do the work for you, without being paid.

      Where do you get off on expecting to get stuff you want for free?

      With free software, the answer to your problem is "Go and pay somebody to fix it for you". That wouldn't be difficult, there are loads of people who will do this kind of work and it won't cost very much for simple bugs.

      With proprietary software, the answer to your problem is usually "It is not economically viable for us to fix this bug. Put up with it." - and even if the vendor is willing to fix the bug, it's probably going to cost you a lot more money.

      The point of free software is not that people do stuff you want for free. It's that the stuff you want is actually possible (maybe at some cost), where with proprietary software there is a good chance that the stuff you want is not possible.

      Of course, like most grad student blowhards, you have zero comprehension of any of this.

    6. Re:"you should fix it" is elitist bullshit by codemachine · · Score: 1

      Your CIO or Director of IT may be more worried about cleartext passwords than lawsuits, but I'm betting that most CEOs would be more worried about the word "lawsuit" than some computer talk about "cleartext passwords".

      A couple truths are very relevant:

      1. Companies will go to great lengths to avoid being sued.
      2. Lawyers run the world.

      However I'm not quite sure why Debian's policy is such a hinderance to you if you're not worried about the legality. Just compile netatalk with OpenSSSL yourself, just like every other distro is doing. Or use 'alien' to bring in another distro's package. Or use another distro. That is one benefit of open source - you can thumb your nose at the law all you want if the code is available and you aren't worried about the consequences. You don't have such options with proprietary code.

    7. Re:"you should fix it" is elitist bullshit by Just+Some+Guy · · Score: 1
      just *try* to get it to deliver postscript to a remote print server.

      As far as I know, I do that every day. My wife's iMac prints correctly to the HP LaserJet 1200 attached to my FreeBSD server via CUPS. Did I miss part of your point?

      --
      Dewey, what part of this looks like authorities should be involved?
    8. Re:"you should fix it" is elitist bullshit by swillden · · Score: 1

      Your wife's iMac isn't sending PS, it's sending PCL. That method works just fine as long as a driver for your printer (a) exists for the Mac, (b) supports remote printing and (c) works. I have two printers, and HP LJ4M+ and an HP PhotoSmart 7260. The driver for the LJ mostly works, but it prints the square of the number of pages requested, and the OS X driver HP provides for the PhotoSmart cannot print to a printer that isn't attached directly to the machine. The print server (Debian Linux), however, has excellent drivers for both printers, so all I need to do is get the Mac to leave the damned print job alone and send the PS to the CUPS server. I actually did eventually get it to work, but doing it requires first misconfiguring the printers through the GUI, then modifying CUPS settings directly underneath. AFAICT, you can't even just ignore the GUI and configure the printers through CUPS directly.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    9. Re:"you should fix it" is elitist bullshit by Just+Some+Guy · · Score: 1
      That's interesting, and something I hadn't been aware of.

      AFAICT, you can't even just ignore the GUI and configure the printers through CUPS directly.

      I don't think there's anything keeping you from hacking at /etc/cups/printers.conf or similar. Also, the CUPS web interface is running on port 631 on our machine - have you tried using that instead of the GUI configurator?

      --
      Dewey, what part of this looks like authorities should be involved?
    10. Re:"you should fix it" is elitist bullshit by swillden · · Score: 1

      I don't think there's anything keeping you from hacking at /etc/cups/printers.conf or similar. Also, the CUPS web interface is running on port 631 on our machine - have you tried using that instead of the GUI configurator?

      If you don't use the GUI, apps can't use the printers. The printers show up, but when you try to print, you just get errors. Yes, I have used the CUPS web interface.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  99. If you are security conscious use Tomahawk Desktop by Anonymous Coward · · Score: 0

    If you guys are concerned about security, there is one OS worth looking at, it is Tomahawk Desktop.

    Most dangerous things you can do to a computer is connect to Internet. Using an Unix-like OS doesn't necessarily means you are safe unless otherwise that OS is specifically designed and configured for that.

    Viral and worm attacks are common. Can the Ubuntu save you from a Pharming attack? Can the Ubuntu save you from an avalanche of ssh or ftp attack to crack your password?

  100. Forgive my ignorance... by The+Master+Control+P · · Score: 1

    Why would an OS installer record the root password you enter except properly encrypted in /etc/shadow?

  101. missing the point by BinLadenMyHero · · Score: 0, Troll

    I saw many comments stating that they should not write down the password on any file, etc. Seems that nobody here nor on Ubuntu has any clue..

    First of all, the password shouldn't be read with normal stdin. The 'passwd' program reads the password in a more direct way, not allowing it to be redirected anyware. Just try "ls | head -3 | passwd" and you will see it does not work.

    The installation should use it to enter the passwords, so that it will not even know what the password is, let alone writing it on a log file.

    1. Re:missing the point by Anonymous Coward · · Score: 0

      Nice try, but that doesn't fly. The way passwd reads in the password isn't really all that secure. Ever wonder how you run the passwd program over an SSH connection? Yup, sshd forwards it over the encrypted tunnel to you. I've written programs to emulate pseudoterminals before, it's lot of fun and you can do all sorts of nifty tricks, including tapping into the password program and putting up a fake one to fool users. In fact, I was once asked to create a program that would allow changing passwords from a Web form, and that's how I did it.

  102. Re:Patch mirror for above patch patch by zCyl · · Score: 1

    echo "Why would anyone leave their root password hardcoded in a bash script?"
    rm $0

  103. Re:I believe this is a feature by ashSlash · · Score: 1

    That might reset the root password, but won't deal with the underlying issue that is the fact that the password of the first user (who has sudo access) is in the file.

  104. Did you say little? by Bretai · · Score: 1

    You clearly don't get it. Even the developers say this is huge.

    Ubuntu is poised to become to standard by which Linux distros are judged.

    You mean the standard by which insecure distros are judged. Make no mistake, this will be a memorable embarrassment.

    I downloaded... Dapper Drake 6.04, and was immediately impressed.

    And yet they want to delay release because it's not ready. Maybe you're easily impressed?

    Now, let the script kiddies...

    This has nothing to do with script kiddies.

    blah blah blah Slackware blah blah blah Gentoo...

    Their are more reasons to run Gentoo than the performance increase, which you don't even want to admit to. Some people want to experiment. Others want some unique features and feel it's worth the extra work. Just because you've packed it in doesn't mean you have to scorn those who haven't. Ubuntu may be for human beings, but all humans are different. One size does not fit all.

    I'm almost 40 years old, I just want a quick, stable system to work from.

    Hey you kids! Get off my lawn! ;-)

    --
    Controlling complexity is the essence of computer programming. -Brian Kernigan
  105. It's not fine by matgorb · · Score: 1

    Give me a break. I use Ubuntu and love it, but this is one of the worse security breach I've ever seen, and ironically with an easy fix (for godness sake I'm not a Ubuntu hacker, but a rm /var/whatever is something I can do myself, even a chmod for that matter) Anyway my point is that I'm sure that MS or Apple would have answer quickly (maybe only today...) because it is so simple to fix this oh so critcal hole. No code to write, no nothing, just a file to remove or to chmod. No the real problem is that it was there at the first place, I sure hope that Dapper is pushed 6 weeks now and that they will take the time for some serious QA. Think about school, library etc. if they uses Ubuntu, yesterday might have been judgement day. If OSX, or Apple, had such a hole, people would riot in the street, for days even after a fix, but their, it is Ubuntu, it is Linux, so it seems to be fine, well hell it's not.

    1. Re:It's not fine by sugarmotor · · Score: 1

      The proper fix is to change the root password.

      --
      http://stephan.sugarmotor.org
    2. Re:It's not fine by matgorb · · Score: 1

      Ain't really a "fix" then, more a circumvention. It will always amaze me how since its Linux, it's not big deal, because the fix comes quick...

  106. Elitist is still better than business freeloader by Anonymous Coward · · Score: 1, Interesting

    Sure, free feel to return all the money you paid for the FREE software.

    There is no kool-aid that creates software magically. Either

    a) have competence to fix stuff yourself or
    b) pay someone to fix them

    Yes there is people who do stuff out of goodwill, but like you have found out, they work only on issues they find themsefl interesting, which (this seems to be a suprise for you..) might not be the problem your BUSINESS is seeing.

    I have neither the time, ability, knowledge nor inclination necessary to run around fixing complex software.

    Yet you have no problem making your LIVING using such software. There are people people who have those skills and would be happy to fix those pieces for your company for modest fees.

    You are the only person gullible here, if you really think Free Software is perfect out of box for you specific business needs.

    If you did not have that Asshat attitude, you would have noticed funding netatalk to use gnutls instead of being a license violation, would not cost much, and would give the warm fuzzy feeling of improving OSS world for everyone. But sure, use your worktime to whine slashdot to annoy and demotivate people. It might be as effective..

  107. Tinfoil hat time, but I think it's true by Mike+Savior · · Score: 1

    I remember when Mozilla guys would be so prompt when exploits were found in Firefox. Now it's really just every few releases they patch things. Now I don't keep up on it, but either that's good, or it's their security guys getting lax. I dunno. But I hope it doesn't come to that for Ubuntu.

    --
    space is pretty cool.
  108. Re:Legal before security-the openssl vs netatalk m by SnowZero · · Score: 1

    If you had ever made an install CD set, or an install DVD, you'd have a copy of the "infringing" code. Also, Debian often installs extra packages which another package reccomends; It's quite easy to end up with software you have no personal use for - but you did make a copy. Remember that it's the act of making a copy that affects copyright law, not what you do with it afterward. Just having the software on the DVD is a problem.

    Then there's the secondary issue of guilt by association. The common tactic nowadays is to sue everyone and ask questions later. Those without deep pockets will have to cave in for financial reasons, even if the suit lacks any real merit. It would not be difficult to convince a jury that if Debian was making something illegally, anyone installing Debian must also be breaking the same law. You could try and argue about the way dpkg/apt work, but I doubt you'd get too far.

    In other words, it's a minefield out there, so it makes sense to tread carefully.

  109. open basedir by ali3nxx · · Score: 0

    only with ubuntu, php and curl? ubuntu users use these right?

  110. Re:Legal before security-the openssl vs netatalk m by Jacco+de+Leeuw · · Score: 1
    Or you can ask the netatalk maintainers to slightly change their licence conditions:

    "This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed."

    See the OpenSSL FAQ).

    --
    -------
    Warning: Slashdot may contain traces of nuts.
  111. Motif development by Anonymous Coward · · Score: 0

    That's a weak argument against Ubuntus suitability for development work. I code too (in C++, among others) but have had no problems.

    (Btw, who does Motif dev work any more?)

  112. Re:Elitist is still better than business freeloade by Anonymous Coward · · Score: 0

    Way to prove his point, "asshat".

  113. Botnet Bonanza by ali3nxx · · Score: 0

    IRC h4xbot|dfmejbu: 60 -rw-r--r-- 1 root 60259 Dec 20 00:40 /var/log/installer/cdebconf/questions.dat IRC h4xbot|peowbar: 64 -rw-r--r-- 1 root 59638 Apr 22 2005 /var/log/installer/cdebconf/questions.dat IRC h4xbot|xtoscxj: 68 -rw-r--r-- 1 root 61992 Feb 5 18:17 /var/log/installer/cdebconf/questions.dat Joy?

  114. Re:Legal before security-the openssl vs netatalk by cortana · · Score: 1

    They have NO CHOICE. They simply do not have permission to distribute binaries of metatalk linked against OpenSSL.

    Now, if you think this is not true you are free to set up your own website and provide your own packages. Debian does not want the legal risk.

    Why not complain to the authors of Metatalk and get them to add an exemption to their license that allows linking against OpenSSL?

  115. Re:Legal before security-the openssl vs netatalk m by Kjella · · Score: 1

    Want another example of Debian/Ubuntu idiocy?

    It's idiocy, but not theirs. OpenSSL is not, I repeat NOT compatible with the GPL. Hell, it's easier for Microsoft to include it in Windows than it is for a GPL project. And you know what? This is by design. They have been asked, begged, prodded and poked to release OpenSSL under a GPL-compatible license, and they won't.

    You're allowed to distribute both separately, but when you link them - well it's like linking GPL programs to any "proprietary" library. They just aren't compatible, and I don't think you can get around that by simply shipping it as a finished "do it at the end-users end" script either. If that was the case then source based distros like Gentoo would make the GPL null and void, because then you could just compile in whatever GPL code you needed with proprietary code and never distribute a derived work.

    I think OpenSSL has gotten an excellent deal - usually they get their attribution as per the license, noone can fork it under the GPL or copy any code from it to GPL'd projects, in other words all of the glory with none of the giving back. As far as I can tell there's no reason for them to relicense OpenSSL since it'd give nothing.

    It is the license of the GPL'd projects that are being violated. What do they have to gain by pushing the issue? Oh yeah, they can't actually make secure connections anywhere. It is the GPL projects silently accepting being linked to a non-GPL'd library here that is the issue. It's the same reason very few except RMS is pushing the "can we link GPL to Java" issue. Because if you couldn't, most of them would simply cease to function.

    Debian-legal is very much "by the book". Debian-legal won't let you ignore license incompatibilities, silent acceptance of violations even when the projects themselves want to. Want to be able to link with OpenSSL? Fine, get approval from all copyright holders, relicense and provide the exception. Until then, they're not going to treat the license the way it stands, not the way you'd like it to be, because as project leader you're probably acting on behalf of lots of other copyright holders. This isn't a "majority vote", if one person can't be reached or refuses then the project can't relicense, even if 50%, 90%, 99% of the project want to. End of story.

    --
    Live today, because you never know what tomorrow brings
  116. troll by Anonymous Coward · · Score: 1, Funny

    Are those ubunto folks pretending to have users again?

  117. No problem... by bredk · · Score: 0

    ... I don't use passwords. Saves me for lots of trouble.

    --
    http://slashdot.su/
  118. Re:But Ubuntu has no root account! by embsysdev · · Score: 1

    You can also "sudo su". It's even the same number of keystrokes.

  119. Don't feel bad, this happens to the best by Anonymous Coward · · Score: 0

    Although I wouldn't use Ubuntu for server usage myself (this includes giving people remote access for me) I also don't think its fair to criticize Ubuntu in the way some people do. Lets face it, this kind of stuff can happen to the best. Granted; this Solaris issue doesn't involve the root password, but the basic issue is exactly the same.

  120. What is a breezy badger? by Devir · · Score: 1

    What does Ubunto mean? Is it a software program or an operating system?

    If you wonder why OSS is being considered a "fad" and soon to die there's the answer. How can you take the name "breezy badger" seriously. It sounds more like a cartoon series than it does a software package.

  121. Weak by sirReal.83. · · Score: 1

    My laptop has been running dapper since the branch was opened. Before I got this laptop, my main computer was a desktop running Debian unstable (usually with all of experimental installed, too). I'm a last-semester senior in college (computer engineering) and work 20-40h/wk at the same time, for a sweet Linux company. If stuff breaks, I fix it - it's not impossible. OK, I'm just being a punk, though. You can be safe. Just, do yourself a favor: use a stable release so you can separate out security updates. Don't wait a month for those.

  122. Of course, if this were OpenBSD... by Anonymous Coward · · Score: 0

    ...we'd be hearing about how it still wouldn't count as a remote exploit. Very loudly.

  123. You know, by Inoshiro · · Score: 1

    in the real world, people make mistakes. People don't get fired for making a single mistake. Instead, people try to co-operate in helping them realize the mistake and address the source issue so it doesn't happen again.

    When I read messages like these, where people are ready to draw and quarter people the moment they make a tiny error, it makes me wonder about the motivations. Who are you to judge someone else? When exactly did it become that everyone is perfect, and that we are incapable of error unless being malicious?

    One would think that as a Slashdot reader, there would be a chance of you understanding that people make mistakes (how else could you live with the dupes!). It doesn't mean they're evil or out to get you, they just didn't realize something (or don't read their own website as religiously as you or I).

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:You know, by DNS-and-BIND · · Score: 1

      Leaving the root password in plain text is NOT a "tiny" mistake. It's a huge mistake. Someone who makes an idiot mistake like that - who knows what other screwups they're responsible for, that nobody has discovered yet? I believe that this is known as "gross misconduct" and is a firing offense in just about every company with a policy.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  124. Re:Root Passwords should never be stored ANYWHERE. by MK_CSGuy · · Score: 1

    Maybe I'm being Captain Obvious here, but I think he was trying to be funny but somehow got modded Insightful.

  125. Re:Root Passwords should never be stored ANYWHERE. by fatphil · · Score: 1

    Never store a /hash/ like md5 or SHA*.
    Instead, use the Young-Hammond-Baker Transform (YHBT).

    HTH,
    FP.

    --
    Also FatPhil on SoylentNews, id 863
  126. woah there fella! by SalsaDoom · · Score: 0

    Hold up there my friend, I know your upset with yourself... but comparing yourself to SAP is far too harsh!

    --
    "Computers will never truly be free until the last windows user is strangled with the entrails of the last mac user."
  127. Actually by MK_CSGuy · · Score: 1

    friday's night is peak development time for free software ;)

  128. Re:Legal before security-the openssl vs netatalk m by Anonymous Coward · · Score: 0

    " Does it suck? Yes. It sucks that the OpenSSL people won't change their license, and upstream netatalk doesn't care either. "

    I'd venture to say that it sucks that... wait, let me rephrase that... I'd venture to say that the GPL sucks. Come on, is it really the burdon of the developers of OpenSSL to make their free software compatible with a less-than-free license? BSD-style licensing has been around far longer than the GPL and, imho, is not catered to the likes of M$ whilst specically thwarting the GPL. It seems far more likely that the GPL "Freedom isn't Free" style of licensing just came around to bite it you know where.

    On a side note, when BSD developers want something to be compatible with the BSD license, they write it. I've never heard a serious complaint from the BSD community about people not being willing to change their GPL'd software licenses. The same is possible for the GPLers, if they want to take the time.

    I'm sure I've opened myself up to lots of flamage, and yes, I do use gpl'ed software, but I also use windows... I guess they are both necessary evils.

  129. Problem is... by Junta · · Score: 1

    If you RTFA, it also applies to the user password that gets unlimited sudo access. Which means, by default, you still get screwed.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  130. OS X has a very similar problem! by noseplug · · Score: 1

    Type the following in terminal to view contents of the swapfile, which is in PLAIN TEXT!

    sudo strings -8 /var/vm/swapfile0 |grep -A 4 -i longname

    (The "longname" being your user ID name)

    1. Re:OS X has a very similar problem! by thesman · · Score: 1

      System Preferences -> Security: Enable "Use secure virtual memory"

      I guess thats what that option is for, never tried though.

    2. Re:OS X has a very similar problem! by Anonymous Coward · · Score: 0

      Thanks for the tip! In all honesty I discovered this on version 10.2.6. So perhaps this issue has been addressed with the later versions, which I have not upgraded to.

  131. oh great, another hole ;) by freaker_TuC · · Score: 1

    not to be nitpicking but now your password moved in cleartext into the .bash_history file ...

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
    1. Re:oh great, another hole ;) by tpgp · · Score: 1

      Please read the whole thread.

      --
      My pics.
  132. That's what you get when... by Anonymous Coward · · Score: 0

    you use a distro with a gay name like UBUNTU

    and it has even GAYER release names like BREEZY BADGER.

    If having GAY names starts to become a trend in the GNU/Linux community - I will go back to using Microsoft OS's.

  133. Unclear on the concept by Anonymous Coward · · Score: 0

    Obviously you don't understand why sudo is useful. Especially in a multi admin environment or where power users need to do a few privledged commands (e.g. bounce Apache).

    Nobody has root access. So you no longer see those log entries where "root" logged in just before somebody crapped in a system file, crashing the system. You now see that joeadmin logged in and now you have Joe baby sit the restore and can kid him for years to come.

    I'm betting (BSD person) that while the root account is not "activated", it probably has a "*" in the shadow file, so it's not open, either.

    In a single user environment sudo may not be as useful. Although it does force you to think about doing root work, because you have to prepend sudo to every command.

    Those who do everything as root need not apply.

    1. Re:Unclear on the concept by Dan+Farina · · Score: 1

      This is not true, since one simply has to type `sudo -s` to spawn a root shell.

      This is actually (in some ways) better than switching users since your environment is not that of the root user (eg "cd" will still take you to the home directory of the user, not the root home directory).

      It also means my .emacs will work for root work while using relative pathing.

  134. More FUD from Zonk by Anonymous Coward · · Score: 0

    sure enough, the bad PR for open source is delivered to you by Zonk the Microsoft lover.

  135. Why sudo by Anonymous Coward · · Score: 0

    In a one user environment, sudo can seem worthless. You could set it up to restrict what you can do "accidentally". You can also use it to make you think twice about doing root stuff (i.e. you have to type sudo). Ultimately you'll still have to pay attention that you don't rm -rf after cd /. You can accomplish the same thing by dissallowing root logins and forcing yourself to su each time.

    For an OS designed to go on desktops, you'll likely have owner/users that aren't unix gurus, so anything you can do to help them not shoot themselved in the foot is probably worth doing. For what it's worth, MacOSX does the locked root, use sudo, configuration as well.

    In a multi admin environement, sudo should be mandatory. Handing out the root password to all the admins is just asking for total deniability when one of them makes a mistake. sudo forces them to login as their accountable user first, which gets logged. Then their sudo command is also logged You can also set up sudo to give a subset of privleges to users. For instance let the DB or web admin bounce their apps as root, but not do anything else in sudo. Or the backup monkey only gets to run the backup commands. You could probably prevent lazy admins from "sudo sh", too.

  136. Re:ubuntu sucks!!! by Anonymous Coward · · Score: 0

    You need to put http:/// before all absolute URLs.

    This is basic common knowledge that applies to the entire web, not just Slashdot.

  137. Re:ubuntu sucks!!! by Anonymous Coward · · Score: 0

    Whoops, only two slashes, not three. For some reason Slash inserted a third slash even though I only put two in my post.

  138. WTF? by smash · · Score: 1
    WTF is the password being logged for in any case??

    Seriously... why?

    It's not like you can't boot from CD and re-set the thing anyway - I can see no legitimate reason to log it at all...

    If you don't log it, you don't need to worry about "cleaning" the log up...

    smash.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  139. Re:Legal before security-the openssl vs netatalk m by niXcamiC · · Score: 1

    Why the heck did the netatalk creators provide the ablilty to link to OpenSSL if they don't allow you to in their licence?

    --
    Chances are any disscution on Slashdot will degrade into a flamewar about ID/Christianity within 14 posts.
  140. Don't forget to check your loghost, too by csoto · · Score: 1

    If you employ any kind of log server (syslog-ng, for example), then these log files may also be sitting somewhere besides the Ubuntu hosts. This also illustrates the benefit of wrapping syslog traffic in some kind of encyrption (good article at http://www.samag.com/articles/2005/0506/ - dead tree only, unfortunately).

    Charles

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  141. OH My! by Viriatus · · Score: 0

    And they say that Windows has problems with security....

  142. Re:Patch mirror for above patch patch by zcat_NZ · · Score: 1

    OK, but;

        The root password is hard-coded in plaintext in this bash script
        The root password is visible to all users via 'w' the entire time the script runs.

    This is _much_ worse than the original issue.

    --
    455fe10422ca29c4933f95052b792ab2
  143. Well... by danpsmith · · Score: 1

    My root password is "go", and I use Ubuntu at home. By my tally most people using Ubuntu are home users probably, and so they probably know their own root password. If you are letting random strangers in your house to poke around your files and try to gain root, this is probably an issue. The way I see it, is if someone somehow got in my house and into my room to use my computer, I think I'd notice. Most Windows users run as administrators too anyway.

    Maybe this is just a sting to your egos that linux systems have issues too.

    If you wanted a secure corporate environment linux distro, I don't know why you'd be using Ubuntu anyway.

    To quote it in brick's words "I DONT KNOW WHAT WE'RE YELLING ABOUT"

    --
    Judges and senates have been bought for gold; Esteem and love were never to be sold.
    1. Re:Well... by necro2607 · · Score: 1

      My root password is "go"

      Dude. Not only is your root password two characters long, you just posted it on slashdot??!? /me thinks we won't hear from danpsmith for a while... but he'll be back with a longer root password! ;)

    2. Re:Well... by danpsmith · · Score: 1

      Wow, people are way too paranoid. Sides, hack my box, you get to look at a whole big nothing. Nothing is even on my linux box of any importance. That's probably why it's running linux =P

      --
      Judges and senates have been bought for gold; Esteem and love were never to be sold.
    3. Re:Well... by /dev/trash · · Score: 1

      So when I start getting spammed by your machine, it's really just you?

    4. Re:Well... by g00p · · Score: 1

      Hah - cheers! another bounce!

      /me uninstalls Ubuntu.

      --
      g00p.
  144. What's the big deal? by Anonymous Coward · · Score: 0

    i hear about 40% of people are illiterate, so there's a 40% chance the person viewing your password won't be able to use it.

    seriously, major gaff. glad to see it is fixed.

    i use mepis, but may be kubuntu a spin on its next release.

  145. Re:Legal before security-the openssl vs netatalk m by runderwo · · Score: 1
    They politely suggested that GnuTLS, which isn't even remotely drop-in, be used instead.
    If you spent as much time looking into the matter as you have spent throwing a tantrum about it, you would realize that GnuTLS has an OpenSSL compatibility module
  146. Re:ubuntu sucks!!! by Anonymous Coward · · Score: 0

    no you don't what are you talking about. your browser adds that shit itself. but hyperlinks don't need it. and that still doesn't explain why slashdot adds itself to the begginning or as the link(like it did for your http:/// link)

  147. Re:ubuntu sucks!!! by Mahou · · Score: 1

    i can make a link, but that doesn't mean slashdot doesn't fuck up links when you put without the http:///

    shit faced mother fucker!

    --
    if i'm not immortal, what's the point of living?
    ...te?
  148. Re:But Ubuntu has no root account! by Anonymous Coward · · Score: 0

    The problem isn't your ability to "screw something up on accident". It's the fact that if an application has a vulnerability that is remotely exploitable, if run as a regular user, the attacker has to increase their privilages (see privilage escalation) in order to access juicier files. That's the whole reason behind the security of multi-user system and having a single user with superuser abilities.

  149. can only enter password once in kubuntu/ub install by Anonymous Coward · · Score: 0
    This may have something to do with the plaintext issue..

    The point where you enter a root password ..after the ubuntu installer prompts you to enter it again, IF you forget it there and you're a newb you have to start over. I'm not kidding. When I was tired and did that on my P4 the menu kept flashing re-try password. I went in and mounted a fresh /etc/passwd and /etc/shadow over the default files but my point is that was bad system design which lead to bad behavior and performance.

  150. ROOTPASSWORD.COM by Anonymous Coward · · Score: 0

    HP / Casio ship calculator OS's with no password. So what? Who cares? Ubuntu is like totall insignifigant as an OS.

    I tell you what kind of OS is needed, where there is a huge vacuum. A Copilot OS to run on a computer instaled in a car, that is verbally controlled and gives verbal feedback. The market is huge. There is no OS driven that way. You can't operate a computer via keyboard, mouse, or screen while driving a car. I myself am hacking up a box to go in my car, to control the entire cars feedback and control system verbally (as opposed to doing something stupid, like controlling video / mp3 player playback) and its a daunting task...

    einstein

    http://rootpassword.com/

    root@rootpassword.com

  151. what have the romans done for us? by 1800maxim · · Score: 1

    Oh, yeah, obviously you. I mean you did, that goes without saying, doesn't it? But apart from you...

    ;)

  152. Ream 'em! by Anonymous Coward · · Score: 0

    We've already been assured by previous posts that if MS made such a mistake, they'd be "thoroughly reamed". So consider yourself reamed, MS. Oh, you still have the same income as you did pre-reaming? Hmm. I guess I'm almost as toothless as the Bush administration in administering justice.

  153. ubuntu user by Anonymous Coward · · Score: 0
    -quote-> I hope the "patch" deletes the log file, and doesn't just fix the installer.

    It doesn't delete the log fileS, it edits them.

    -quote-> Ubuntu users, delete the log file, since I doubt you will ever set the root password w/your installer again. Or, change the root pw--then the one in the log file won't match.

    "Or"? Everyone affected should change their password(s) (user _and_ root, if a root account was created during an expert install) at the minimum, because just deleting the logs doesn't remove the possibility that someone has already read them.
  154. Re:Patch mirror for above patch patch by Anonymous Coward · · Score: 0

    rm $(which w) ;)

  155. Can someone unerase an earlier Ubuntu log file? by justthinkit · · Score: 1

    Can someone unerase an earlier Ubuntu log file? Does this bug in the current release inadvertently threaten the security of all versions of *ubuntu? Even if file unerase is not possible, sectors could be searched through...

    --
    I come here for the love
  156. Re:Patch mirror for above patch patch by cortana · · Score: 1

    I hope you're not being serious. The root password is visible in /proc/$pid_of_rm/args the whole time that rm is running. w(1) is merely one of many ways for the user to access that information. :)