Unterscheidung
- Benutzerspezifischen Dateien (im Home-Verzeichnis ~)
- Systemweiten Dateien (meist unter /etc)
- Dienst- und Daemon-Konfigurationen
- Shell-Startskripten
- Scheduler- und Automatisierungsdateien
Systemweite Shell-Konfiguration
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| profile | /etc/profile | systemweite Login-Shell-Konfiguration |
| bashrc | /etc/bash.bashrc oder /etc/bashrc | systemweite Bash-Konfiguration, für alle User |
| .bashrc | ~/.bashrc | Liste von Anpassungsoptionen für die Bash-Shell, wird immer bei shellstart ausgeführt |
| .bash_profile | /etc/profile | Liste von Anpassungsoptionen für die Bash-Shell, wird nur einmal während der Anmeldung für alle User ausgeführt |
| .bash_profile | ~/.bash_profile | Liste von Anpassungsoptionen für die Bash-Shell, wird nur einmal während der Anmeldung für den akt. User ausgeführt |
| profile.d/*.sh | /etc/profile.d/ | zusätzliche Shell-Skripte für alle Benutzer |
| environment | /etc/environment | globale Umgebungsvariablen |
| shells | /etc/shells | Liste erlaubter Shells |
Benutzer- und Gruppenverwaltung
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| passwd | /etc/passwd | Benutzerkonten |
| shadow | /etc/shadow | Passwort-Hashes |
| group | /etc/group | Gruppeninformationen |
| gshadow | /etc/gshadow | Gruppenpasswörter |
| sudoers | /etc/sudoers | sudo-Berechtigungen |
| sudoers.d/* | /etc/sudoers.d/ | zusätzliche sudo-Regeln |
Netzwerk
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| hosts | /etc/hosts | lokale Namensauflösung |
| hostname | /etc/hostname | Rechnername |
| resolv.conf | /etc/resolv.conf | DNS-Server |
| netplan/*.yaml | /etc/netplan/ | Netzwerk-Konfiguration (Ubuntu) |
| interfaces | /etc/network/interfaces | Netzwerk-Konfiguration (Debian klassisch) |
| NetworkManager.conf | /etc/NetworkManager/ | Konfiguration des NetworkManager |
Dienste und Prozesse
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| *.service | /etc/systemd/system/ | eigene systemd-Services |
| *.service | /usr/lib/systemd/system/ | installierte Services |
| journald.conf | /etc/systemd/ | Journal-Konfiguration |
| logind.conf | /etc/systemd/ | Login-Manager-Konfiguration |
| sysctl.conf | /etc/sysctl.conf | Kernel-Parameter |
| modules-load.d/*.conf | /etc/modules-load.d/ | zu ladende Kernelmodule |
Geplante Aufgaben
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| crontab | /etc/crontab | systemweiter Cronjob-Planer |
| cron.d/* | /etc/cron.d/ | zusätzliche Cronjobs |
| cron.daily/* | /etc/cron.daily/ | täglich auszuführende Skripte |
| cron.hourly/* | /etc/cron.hourly/ | stündliche Jobs |
| cron.weekly/* | /etc/cron.weekly/ | wöchentliche Jobs |
| cron.monthly/* | /etc/cron.monthly/ | monatliche Jobs |
| Benutzer-Crontab | crontab -e → /var/spool/cron/ | benutzerdefinierte Cronjobs |
Logging
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| rsyslog.conf | /etc/rsyslog.conf | Syslog-Konfiguration |
| logrotate.conf | /etc/logrotate.conf | Logrotation |
| *.conf | /etc/logrotate.d/ | Rotationsregeln einzelner Dienste |
| Logdateien | /var/log/ | System- und Anwendungslogs |
Software- und Paketverwaltung
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| sources.list | /etc/apt/sources.list | Paketquellen Debian/Ubuntu |
| *.list | /etc/apt/sources.list.d/ | Zusätzliche Repositories |
| dnf.conf | /etc/dnf/ | DNF-Konfiguration (RHEL/Fedora) |
| yum.conf | /etc/yum.conf | YUM-Konfiguration |
Startskripte und Boot
| Datei | Verzeichnis | Bedeutung |
|---|---|---|
| fstab | /etc/fstab | Dateisysteme beim Start mounten |
| grub.cfg | /boot/grub*/grub.cfg | Bootloader-Konfiguration |
| default/grub | /etc/default/grub | GRUB-Einstellungen |
| initramfs.conf | /etc/initramfs-tools/ | Initramfs-Konfiguration |
