As for the home directory, it is yours, you can do anything you want to it. For Ubuntu, running a command as a user will not destroy the system only the users files. Running as root is a different story.
Windows can be destroyed with one command easily,orCode:format C:I do not think posting these commands here is dangerous, because users familiar with the Windows command line know what these do, and if not, they don't use the command line.Code:del c:\*
Regarding the coreutils change, wasn't that just a change to the default behavior? The latest manpage from GNU shows that they've just switched around the default behavior. The option to not respect the root directory is still there and anybody intent on using rm maliciously could simply start instructing people to use (otherwise harmless command + no respecting root option).
Last edited by Iandefor; November 25th, 2007 at 07:58 AM.
This space intentionally left blank.
Couldn't we have the default Ubuntu user's .bashrc file have rm aliased to rm -i? Anyone who doesn't like that could change it, and it makes things a little safer (admittedly it doesn't solve the problem)
May the FOSS be with you!
Does this sig give the right message or do you interpret something else from it?
Code::twisted: [*URL="http://ubuntuforums.org/showthread.php?t=618822"]( [*COLOR="Red"]rm -rf[/COLOR] ) = ( [*COLOR="Red"]format C:[/COLOR] ) [/URL] :cry:
Last edited by jingo811; November 25th, 2007 at 12:14 PM.
May the FOSS be with you!
I'll support this cause. It's just as bad as "hey, press F10 to get free guns" in Counter-Strike >.>
orCode:rm --helpAlmost every command has a short help page, that can get you started in understanding the command. Some commands also have a manual page. You can get to the manual page by typingCode:rm -hin the terminal window (to get out of the manual, hit the [q] button).Code:man rm
You cannot get into trouble if you always choose education as your defense against bad advise. You may have to ask 2 or 3 people and triangulate a useful path from a mixture of all they say.
Most installations work pretty well, just out of the box and do not need to be "helped." How many million users of Ubuntu are there, and how many thousand users are there on this forum?? When you are looking at a support forum, it makes you feel like the darned thing NEVER EVER works. I used to do warranty repairs, and for quite a while, I felt that HP, Compaq, Dell and EMachines, oh and Sony, too, were all crap and then I realized I was spending all my time with the tiny percentage that needed warranty repairs. Then I felt better about all those companies. The problem with this statistical approach is this: though maybe 1 in 10,000 users have problems, if you are a user with a problem, you feel like you have 100% of the problem. You might have been working with it for 5 hours, are frustrated and annoyed (not emotions that improve problem-solving ability) and ready to toss the whole thing, and when somebody who sounds like they know more than you says to do something, you might just do it without a thought. Personally, I have not always needed bad advise to do risky things, but it certainly makes things easier - takes me off the hook for having done whatever I did.
The thing is, you cannot defend against yourself, even when given bad advise by mean-spirited trolls. The people who might use the commands without understanding them need time to learn. Maybe the sig line ought to read "What some people don't want you to know about Linux" and link that to the article about malicious advice, which could then point to a short tutorial. There are almost always 1 or 2 options that are commonly used and 10 others that are occasionally used, so there is always something more to learn about almost all commands, but I agree with you that people will desensitize, after a while from the "Don't run commands" sig lines.
They don't know what they don't know, and they don't know that there are things that they don't know that can help (or hurt) them.
Last edited by saphil; November 25th, 2007 at 03:39 PM.