| The ConfigMe page,
to better understand
the Configuration. |
| Paragraphs
in this page are: Introduction Q: How can I be root for a while? Configuration Files |
|
Introduction In this page, travelling through configuration files, we will get additional learning. Read carefully. You can see everything stated here with less, edit it with pico or nano. vi and emacs are major projects, so use them instead of pico as soon as you can! Examples: less /etc/inittab , pico -w /etc/inittab from now on <enter> will be omitted. For changes in the /etc dir you will have to be root. |
|
Q: How can I be root for a while? A: This can be done in many ways. 1) Either login as root in a new terminal (tty, xterm, remote ssh)
2) Be a superuser for a while: su password: <type the root password> -- do the necessary commands-- logout or exit or ctrl d 3) Or be a superuser for the command only: su -c 'command parameters' <Password will be asked, don't forget> 4)Or be a sudoer NEVER EDIT SYSTEM CONFIGURATION UNLESS PERFECTLY SURE! |
|
Configuration files: a) The /etc/inittab b) The /etc/fstab c) The /etc/lilo.conf d) The /etc/hosts e) The /etc/resolv.conf f) The /etc/samba/smb.conf g) The /etc/exports h) The /etc/default/cdrecord i) The /etc/dhcpd.conf |
|
| ----------
to be continued
------------------- The /etc/inetd.conf The /etc/profile The /etc/bashrc The /etc/DIR_COLORS The /etc/printcap The /etc/modules.conf The /etc/X11/xorg.conf |