+ 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,155
    Thank Post
    598
    Thanked 1,976 Times in 1,363 Posts
    Blog Entries
    19
    Rep Power
    835
    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,224
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    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,804
    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,185
    Thank Post
    839
    Thanked 372 Times in 288 Posts
    Blog Entries
    60
    Rep Power
    284
    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,804
    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
    754
    Thank Post
    30
    Thanked 151 Times in 114 Posts
    Rep Power
    137
    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
    807
    Thank Post
    83
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    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,675
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    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
  •