What I would prefer to see is a shell that used regex to match a command
before it was run and require the root password to be re-entered before
the command would execute. It's very easy to make stupid typos that
can screw you royally. E.g. rm -f * .jpg
On Fri, Mar 30, 2001 at 11:46:41AM +0100, Breathnach, Proinnsias (Dublin) wrote:
> Suggestion:
> A shell that implements a configurable timer delay before
> implementing the command, during which time you can cancel the command with
> a keystroke (^C). The shell could also (as an option) log all tty output.
> This would function as a get-out-of-jail-free-card and a reminder of what
> you've done ...
>> Obviously any root worth his salt won't need it, and can just open a bash
> shell, but for those of us with brains ("rm -rf / my home dir" anyone ?) it
> could just save what's left of our sanity / jobs.
>> (And no, the only time I "rm-rf / "'d was when I meant it, honest !!)
--
Martin
--
Bother! said Pooh, and deleted 35 AOLer `Me Too' posts.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!