Re: [Off Topic] Re: Linux security
- From: Derek Broughton <news@xxxxxxxxxxxxxx>
- Date: Sat, 06 May 2006 12:53:51 -0300
Jim Richardson wrote:
On Sat, 2006-05-06 at 11:50 +0800, Michael Richter wrote:The -f flag is not necessary for this example. rm -r as root will do plenty
On 05/05/06, Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx> wrote:
On Fri, 5 May 2006 13:42:52 +0800
"Michael Richter" <ttmrichter@xxxxxxxxx> wrote:
> cd /
> <enter a string of commands here and, in the process, forget
where you are>
> rm -fR * .old
>
> What was that about "sane defaults" and "graceful error
recovery" that
> someone else was blathering on about again? There's not so
much as a "are
> you sure you want to kill your system?"-style error message
there. The
> "sane default" is to trash your whole file system. From a
moment's
> inattention.
Quite true. Of course if the user concerned is using Ubuntu,
and has not
enabled a root password, it becomes less likely (not
impossible by any
means, just less likely).
sudo -s
<enter password>
cd /
<do a lot of stuff>
rm -fR * .old
Or, for that matter, as you pointed out, just do it in your home
directory as yourself. As was pointed out before users don't care
about system files (which are semi-trivial to replace). They care
about user files. And the "sane default" and "graceful failure" of
UNIX systems is to trash everything without so much as a "are you sure
about this?" -- something that DOS did in its first incarnation!
That's not the default, if it was the default, you wouldn't need the -f
flag. you *told* it to not bother you with questions, to just do it.
of damage.
--
derek
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: [Off Topic] Re: Linux security
- From: Adriano Varoli Piazza
- Re: [Off Topic] Re: Linux security
- References:
- Re: [Off Topic] Re: Linux security
- From: Michael T. Richter
- Re: [Off Topic] Re: Linux security
- From: Daniel Carrera
- Re: [Off Topic] Re: Linux security
- From: Alan McKinnon
- Re: [Off Topic] Re: Linux security
- From: Michael T. Richter
- Re: [Off Topic] Re: Linux security
- From: Jim Richardson
- Re: [Off Topic] Re: Linux security
- From: Michael Richter
- Re: [Off Topic] Re: Linux security
- From: Peter Garrett
- Re: [Off Topic] Re: Linux security
- From: Michael Richter
- Re: [Off Topic] Re: Linux security
- From: Jim Richardson
- Re: [Off Topic] Re: Linux security
- Prev by Date: Re: [Off Topic] Re: Linux security
- Next by Date: Re: Ubuntu Dial up settings
- Previous by thread: Re: [Off Topic] Re: Linux security
- Next by thread: Re: [Off Topic] Re: Linux security
- Index(es):
Relevant Pages
|