{"id":48,"date":"2007-08-03T00:20:00","date_gmt":"2007-08-02T22:20:00","guid":{"rendered":"http:\/\/self.mestrona.net\/wp\/wordpress\/?p=48"},"modified":"2007-08-03T00:20:00","modified_gmt":"2007-08-02T22:20:00","slug":"windows-rechtesystem","status":"publish","type":"post","link":"https:\/\/s3lf.de\/blog\/2007\/windows-rechtesystem\/","title":{"rendered":"Windows Rechtesystem"},"content":{"rendered":"<p>Ich habe ein interessantes Tool entdeckt, mit dem man unter Windows Zugriffsberechtigungen relativ komfortabel <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&#038;displaylang=en\">per Befehlszeile setzen<\/a> kann. Also das &#196;quivalent zum chmod der Unixwelt.<\/p>\n<p>Das Problem ist wohl einfach, dass die Windows ACLs einfach unn&#246;tig kompliziert sind: Sprich in der Praxis werden Sie seltenst voll ausgereizt und die Gefahr, dass ein unbedarfter Hobby-Administrator v&#246;llig an der Komplexit&#228;t verzweifelt und einfach nur noch &#8222;jedem &#252;berall&#8220; Zugriff gibt, ist gro&#223;.<\/p>\n<p>Hier mal die Zugriffsberechtigungen auf einem Standard-XP-System auf die Datei C:\\boot.ini<\/p>\n<p><code><\/p>\n<p>C:\\Programme\\Windows Resource Kits\\Tools>subinacl \/file c:\\boot.ini<\/p>\n<p>==================<br \/>+File c:\\boot.ini<br \/>==================<br \/>\/control=0x1400 SE_DACL_AUTO_INHERITED-0x0400 SE_DACL_PROTECTED-0x1000<br \/>\/owner             =vordefiniert\\administratoren<br \/>\/primary group     =system<br \/>\/audit ace count   =0<br \/>\/perm. ace count   =3<br \/>\/pace =vordefiniert\\hauptbenutzer       ACCESS_ALLOWED_ACE_TYPE-0x0<br \/>    Type of access:<br \/>        Read<br \/>    Detailed Access Flags :<br \/>        FILE_READ_DATA-0x1          FILE_READ_EA-0x8            FILE_EXECUTE-0x2<br \/>0<br \/>        FILE_READ_ATTRIBUTES-0x80   READ_CONTROL-0x20000        SYNCHRONIZE-0x10<br \/>0000<br \/>\/pace =vordefiniert\\administratoren     ACCESS_ALLOWED_ACE_TYPE-0x0<br \/>    Type of access:<br \/>        Full Control<br \/>    Detailed Access Flags :<br \/>        FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA<br \/>-0x4<br \/>        FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2<br \/>0            FILE_DELETE_CHILD-0x40<br \/>        FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000<br \/>            READ_CONTROL-0x20000<br \/>        WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10<br \/>0000<br \/>\/pace =system   ACCESS_ALLOWED_ACE_TYPE-0x0<br \/>    Type of access:<br \/>        Full Control<br \/>    Detailed Access Flags :<br \/>        FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA<br \/>-0x4<br \/>        FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2<br \/>0            FILE_DELETE_CHILD-0x40<br \/>        FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000<br \/>            READ_CONTROL-0x20000<br \/>        WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10<br \/>0000<\/p>\n<p>Elapsed Time: 00 00:00:00<br \/>Done:        1, Modified        0, Failed        0, Syntax errors        0<br \/>Last Done  : c:\\boot.ini<br \/><\/code><\/p>\n<p>Zum Vergleich die Linux Dateiberechtigungen:<\/p>\n<p><code><br \/>self@self-laptop:~$ ls -al \/boot\/grub\/menu.lst<br \/>-rw-r--r-- 1 root root 6146 2007-06-17 19:39 \/boot\/grub\/menu.lst<br \/><\/code><\/p>\n<p>damit kann man doch meist auch ganz gut leben?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich habe ein interessantes Tool entdeckt, mit dem man unter Windows Zugriffsberechtigungen relativ komfortabel per Befehlszeile setzen kann. Also das &#196;quivalent zum chmod der Unixwelt. Das Problem ist wohl einfach, dass die Windows ACLs einfach unn&#246;tig kompliziert sind: Sprich in der Praxis werden Sie seltenst voll ausgereizt und die Gefahr, dass ein unbedarfter Hobby-Administrator v&#246;llig [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-linux","category-windows"],"_links":{"self":[{"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":0,"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/s3lf.de\/blog\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}