/ Im Besitz von postfix:root nach der Installation von iRedMail

/ Im Besitz von postfix:root nach der Installation von iRedMail

Ich habe dieses Tutorial befolgt, um iRedMail auf meinem CentOS 7 x64-System zu installieren:https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64

Warum *"$@*3 /jetzt ?? gehört postfix:root, verstehe ich nicht... Nachdem das Installationsskript fertig war, ging wegen falscher Berechtigungen gar nichts mehr:

[root:~]# ls -ald /
drwx------ 18 postfix root 4096 20. Jun 21:08 /

[root:~]# ls -al /
insgesamt 56
drwx------ 18 postfix root 4096 20. Jun 21:08 .
drwx------ 18 postfix root 4096 20. Jun 21:08 ..
lrwxrwxrwx  1 root    root   39 20. Jun 21:08 aquota.group -> /proc/vz/vzaquota/000092ef/aquota.group
lrwxrwxrwx  1 root    root   38 20. Jun 21:08 aquota.user -> /proc/vz/vzaquota/000092ef/aquota.user
-rw-r--r--  1 root    root    0 17. Jun 12:22 .autorelabel
lrwxrwxrwx  1 root    root    7 17. Jun 12:14 bin -> usr/bin
dr-xr-xr-x  3 root    root  160 17. Jun 12:15 boot
drwxr-xr-x  6 root    root  700 20. Jun 21:08 dev
drwxr-xr-x 86 root    root 4096 20. Jun 21:08 etc
drwxr-xr-x  6 root    root 4096 20. Jun 21:04 home
lrwxrwxrwx  1 root    root    7 17. Jun 12:14 lib -> usr/lib
lrwxrwxrwx  1 root    root    9 17. Jun 12:14 lib64 -> usr/lib64
drwxr-xr-x  2 root    root 4096 12. Aug 2015  media
drwxr-xr-x  2 root    root 4096 12. Aug 2015  mnt
drwxr-xr-x  3 root    root 4096 20. Jun 21:05 opt
drwxr-xr-x  2 root    root 4096  5. Okt 2007  private-backup
dr-xr-xr-x 64 root    root    0 20. Jun 21:08 proc
dr-xr-x--- 11 root    root 4096 20. Jun 21:13 root
drwxr-xr-x 29 root    root  760 20. Jun 21:08 run
lrwxrwxrwx  1 root    root    8 17. Jun 12:14 sbin -> usr/sbin
drwxr-xr-x  2 root    root 4096 12. Aug 2015  srv
drwxr-xr-x  7 root    root    0 20. Jun 21:08 sys
drwxrwxrwt 19 root    root 4096 20. Jun 21:08 tmp
drwxr-xr-x 13 root    root 1392 17. Jun 12:15 usr
drwxr-xr-x 21 root    root 4096 20. Jun 21:04 var
-rw-r--r--  1 root    root    0 20. Jun 21:08 .vzfifo
[root:~]# 

Ist jetzt mein komplettes System hinüber? Oder lässt sich das reparieren? Und vor allem: Wie kann ich iRedMail das nächste Mal installieren?ohnemein System zerstören?

Antwort1

Dies ist ein weiterer Beweis dafür, dass man verliert, wenn man beliebige Skripte aus dem Internet ausführt.

Wer hat dieses Tutorial geschrieben? Und noch wichtiger: Wer hat dieses „iRedMail“-Ding geschrieben? (noch nie davon gehört). Haben Sie das Skript überprüft, damit Sie sicher sind, dass es sonst nichts falsch gemacht hat?

Im besten Fall hat dieses Skript (ich habe es nicht überprüft) einfach einen Fehler, der dazu führte, dass es Berechtigungen für eine leere Variable festlegte, der es ein "/" voranstellte. Im schlimmsten Fall ist Ihr Server jetzt verpfändet und Sie sollten ihn neu installieren.

verwandte Informationen