Rm (Unix) - Protection of The Filesystem Root

Protection of The Filesystem Root

Sun Microsystems introduced "rm -rf /" protection in Solaris 10, first released in 2005. Upon executing the command, the system now reports that the removal of / is not allowed. Shortly after, the same functionality was introduced into FreeBSD version of rm utility. GNU rm refuses to execute rm -rf / if the --preserve-root option is given, which has been the default since version 6.4 of GNU Core Utilities was released in 2006.

Read more about this topic:  Rm (Unix)

Famous quotes containing the words protection of the, protection of, protection and/or root:

    “Take away from the courts, if it could be taken away, the power to issue injunctions in labor disputes, and it would create a privileged class among the laborers and save the lawless among their number from a most needful remedy available to all men for the protection of their business interests against unlawful invasion.... The secondary boycott is an instrument of tyranny, and ought not to be made legitimate.”
    —William Howard Taft (1857–1930)

    “We’re for statehood. We want statehood because statehood means the protection of our farms and our fences; and it means schools for our children; and it means progress for the future.”
    —Willis Goldbeck (1900–1979)

    “Freedom of religion, freedom of the press, and freedom of person under the protection of habeas corpus, and trial by juries impartially selected. These principles form the bright constellation which has gone before us, and guided our steps through an age of revolution and reformation.”
    —Thomas Jefferson (1743–1826)

    “A radical generally meant a man who thought he could somehow pull up the root without affecting the flower. A conservative generally meant a man who wanted to conserve everything except his own reason for conserving anything.”
    —Gilbert Keith Chesterton (1874–1936)