+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
*nix Thread, Ways to break Linux... in Technical; Originally Posted by kirchie So it's safe to say that Linux assumes that you know what you're doing, hence the ...
  1. #16


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by kirchie View Post
    So it's safe to say that Linux assumes that you know what you're doing, hence the lack of pop ups every other minute asking if you're sure you want to delete/do something?
    Absolutely. On the plus side - rebuilding a *nix server takes a fraction of the time than a windows machine -its literally copying config files and occasionally changing permissions.
    Just document as you go along.

  2. #17

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    9,033
    Thank Post
    591
    Thanked 1,945 Times in 1,345 Posts
    Blog Entries
    19
    Rep Power
    813
    Quote Originally Posted by bladedanny View Post
    I'm sure this has been posted on here before but it's relevant to the thread.

    How Pixar Almost Deleted Toy Story 2 | Software Testing Blog
    I forgot about "rm -i" [Mentioned in the comments section.]

    I think I may need to use "alias rm='rm -i'" as part of my standard user setup.

  3. #18

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,071
    Thank Post
    853
    Thanked 2,676 Times in 2,270 Posts
    Blog Entries
    9
    Rep Power
    769
    Quote Originally Posted by kirchie View Post
    I'm having a play around with various different flavours of Linux in VM form, and we were wondering in the office, is there an equivalent in Linux of deleting system32 from Terminal? Just want to see what happens!
    Installing it usually leaves it at least partially broken, depending on the hardware. You could also install it on Hyper-V, some (openBSD - I know not really Linux) will happily crash every hour on the hour for fun.

  4. #19

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Quote Originally Posted by X-13 View Post
    I forgot about "rm -i" [Mentioned in the comments section.]

    I think I may need to use "alias rm='rm -i'" as part of my standard user setup.
    I think CentOS/Redhat does this out the box. It also sets some reasonable defaults for /etc/security/limits.conf too.

  5. #20
    CAM
    CAM is offline

    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath, Surrey
    Posts
    4,075
    Thank Post
    812
    Thanked 353 Times in 277 Posts
    Blog Entries
    60
    Rep Power
    280
    Quote Originally Posted by X-13 View Post
    I forgot about "rm -i" [Mentioned in the comments section.]

    I think I may need to use "alias rm='rm -i'" as part of my standard user setup.
    Downside is Linux goes to the other extreme and asks you for confirmation for every bloody file. >.<

  6. #21

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    No, it did exactly what you asked it to do. Not it's fault if you didn't think things through.

  7. #22

    unixman_again's Avatar
    Join Date
    Nov 2011
    Posts
    685
    Thank Post
    26
    Thanked 138 Times in 105 Posts
    Rep Power
    134
    If you use -I with the rm command, the system only asks you once.

  8. Thanks to unixman_again from:

    CAM (30th November 2012)

  9. #23

    Join Date
    Jan 2009
    Location
    upstate New York
    Posts
    23
    Thank Post
    0
    Thanked 12 Times in 7 Posts
    Rep Power
    14
    Well, there are many ways to hose Linux -- as root.

    But if you routinely run things as root, you deserve what you will eventually get. You're basically saying "Yes, I know the gun is loaded, but I want to muck about with it anyway just to see what happens."

    That's why sudo was invented. If you have to sudo the command, you'd best understand what you are doing.

    If you are operating as a standard user on a well-managed system (i.e. one with quotas, limits, etc), there's little you can do to screw up anyone save yourself.

    As root ? You can delete the entire file system, destroy the volume manager information, reformat hard-drives, just about anything.

  10. #24
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    795
    Thank Post
    81
    Thanked 130 Times in 113 Posts
    Blog Entries
    8
    Rep Power
    31
    My favorite way to hose a Linux system is this: Doom



    Original Doom on Linux modified to attach the process ID to each monster. Kill the monster, kill the process. Walk into a crowded room with the BFG-9000 and let it rip.

  11. #25

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Quote Originally Posted by kirchie View Post
    Ways to break Linux...
    Install Windows?

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. best way to run windows apps on ubuntu linux?
    By misterfriendly in forum Thin Client and Virtual Machines
    Replies: 14
    Last Post: 9th June 2011, 06:12 PM
  2. Best way to install .exe accross the network through GPO
    By tosca925 in forum How do you do....it?
    Replies: 2
    Last Post: 12th December 2005, 09:45 PM
  3. Replies: 24
    Last Post: 6th September 2005, 12:26 PM
  4. Five reasons NOT to use Linux. :)
    By Geoff in forum *nix
    Replies: 2
    Last Post: 31st August 2005, 07:38 AM
  5. STS-114: Discovery - Way To Go
    By zippy in forum General Chat
    Replies: 1
    Last Post: 26th July 2005, 08:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •