
nachdem ich gerade Samba auf meinem Ubuntu-Server installiert hatte, erhielt ich Warnungen (vom Samba-Installer) über seltsame Eigentümer- und Berechtigungseinstellungen für meine /etc
und /usr
Ordner. Ich habe nachgeprüft und tatsächlich gehören /etc
und /usr
derzeit dem Benutzer „5640“ und der Gruppe „13023“. Weder dieser Benutzer noch diese Gruppe existieren auf meinem System (überprüft /etc/passwd
und /etc/group
).
so sieht mein Stammordner aus:
drwxr-xr-x 24 root root 4096 Jun 26 06:54 .
drwxr-xr-x 24 root root 4096 Jun 26 06:54 ..
drwxr-xr-x 2 root root 4096 May 20 08:27 bin
drwxr-xr-x 4 root root 4096 Jun 27 06:54 boot
drwxr-xr-x 2 root root 4096 Nov 20 2019 cdrom
drwxr-xr-x 20 root root 4020 Jun 18 13:43 dev
drwxrwxr-x 159 5640 13023 12288 Jun 30 12:36 etc
drwxr-xr-x 14 root root 4096 May 29 11:34 home
lrwxrwxrwx 1 root root 34 Jun 26 06:54 initrd.img -> boot/initrd.img-4.15.0-108-generic
lrwxrwxrwx 1 root root 34 Jun 26 06:54 initrd.img.old -> boot/initrd.img-4.15.0-106-generic
-rw-r--r-- 1 root root 8114876 Nov 25 2019 jkweb.a
drwxr-xr-x 25 root root 4096 Apr 8 16:58 lib
drwxr-xr-x 2 root root 4096 Aug 5 2019 lib64
drwx------ 2 root root 16384 Nov 20 2019 lost+found
drwxr-xr-x 2 root root 4096 Aug 5 2019 media
drwxr-xr-x 2 root root 4096 Aug 5 2019 mnt
drwxr-xr-x 8 root root 4096 Apr 8 16:58 opt
dr-xr-xr-x 843 root root 0 Nov 20 2019 proc
drwx------ 7 root root 4096 Mar 18 19:49 root
drwxr-xr-x 36 root root 1360 Jun 30 12:36 run
drwxr-xr-x 2 root root 12288 Jun 23 06:41 sbin
drwxr-xr-x 4 root root 4096 Nov 20 2019 snap
drwxr-xr-x 2 root root 4096 Aug 5 2019 srv
dr-xr-xr-x 13 root root 0 Dec 4 2019 sys
drwxrwxrwt 338 root root 262144 Jun 30 12:47 tmp
drwxrwxr-x 10 5640 13023 4096 May 21 20:16 usr
drwxr-xr-x 14 root root 4096 Nov 20 2019 var
lrwxrwxrwx 1 root root 31 Jun 26 06:54 vmlinuz -> boot/vmlinuz-4.15.0-108-generic
lrwxrwxrwx 1 root root 31 Jun 26 06:54 vmlinuz.old -> boot/vmlinuz-4.15.0-106-generic
Wie kann das passieren? Muss ich mir Sorgen machen? Kann ich den Eigentümer einfach wieder auf „root“ ändern und die Schreibberechtigung für die Gruppe widerrufen, oder sind diese Eigentümer aus einem wichtigen Grund so festgelegt?