Here's a nice suggestion, anyone got an idea on how easy (or otherwise) it'd
be to implement ...
We all know you should never log on as root unless you're doing system
maintenance etc ...., we are also (sometimes painfully) aware of what can
happen when we mistype a command, hit enter, and then read it, realise, and
proceed to lart ourselves ...
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 !!)
Proinnsias
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!