Linux Know-How provides a collection of introductory texts on often needed Linux skills. |
Home Newbie Guide Before Linux Installation Crashing Linux | ||
See also: Device Files, Hanged Programs | ||
Search the VIAS Library | Index | ||
Crashing LinuxAs root, you can do whatever you want, including an accelarated system crash. Try this command, as root (reconsider if you really want to crash): cp /dev/zero /dev/mem As root, you can even erase all the files on your system with a similarly innocuously looking one-liner (don't do it): rm -fr /
Conclusion: do not use the root account for routine work. Add a regular-user account as your first administrative task and use this account for your experimenting with Linux and regular work. Here is how to do it (as root): adduser johnbrown passwd johnbrown [enter a good long password with a number in the middle] [reenter the same password without a mistake] exit [login as johnbrown] The root account is for administration and setup only. As root, I would not do things/run programs that I do not exactly understand what they do. At least not on a computer that I plan to use for real work. Really. I would definitely not browse the net as root (that is an absolute security no-no).
Once properly installed on good hardware, command-line Linux is legendarly stable--it can run for months or even years. As a newbie, you can almost bet that a funny system behaviour results from either your actions as root, or from flakey hardware.
|
||
Home Newbie Guide Before Linux Installation Crashing Linux |