Rechte-Frage

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
 

Rechte-Frage

Post by theomega »

Hallo Leute,
habe heute mal folgende Ã?berlegung angestellt: Theoretisch haben ganz normale User ja Zugriff auf diverse "sicherheitsrelevante" Dateien. Als Beispiel möchte ich hier nur mal anführen:
das gesamte Root-Verzeichnis
Apache-Grundverzeichniss (/etc/apache)
alle Homeverzeichnisse (wobei natürlich am Anlegen liegT)

jetzt meine Frage: eigentlich würde ich gerne ein chmod XX0 für diese Verzeichnisse machen, spricht da was dagegen? Und: welche Verzeichnisse gilt es zu beachten?

Grüße
TO
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Rechte-Frage

Post by Joe User »

Ich würde es per ACL lösen, da es für die meisten Programme (mangels ACL-Unterstützung) transparent ist und somit keine Probleme auftreten, wenn ein solches Programm (z.B. suexec) die Dateirechte prüft.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
 

Re: Rechte-Frage

Post by theomega »

was ist den acl? Nie gehört!
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Rechte-Frage

Post by Joe User »

PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
 

Re: Rechte-Frage

Post by theomega »

kannste das mal ein bischen beschreiben, ich werde da nicht schlau draus, was tut das?
thorsten
Posts: 561
Joined: 2003-02-01 13:14
Location: Fuldatal
 

Re: Rechte-Frage

Post by thorsten »

Für eine Ã?bersicht reicht dir evtl. dieser alte Artikel:
http://www.linux-magazin.de/Artikel/aus ... /lids.html