WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Software

Software Rat & Tat bei Softwareproblemen

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 11.10.2001, 02:16   #1
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

Nachdem die Berechtigungen and den SIDs häengen, Du aber die Accounts neu anlegst, wird Dir so ein Tool (vorher Namen auslesen, nacher ACl setzen) nicht erspart bleiben.

Eventuell hilft Dir Perl weiter: http://www.roth.net/perl/perms/

Zitat:
In this example we will be placing read only permissions for cartman and full permissions for administrator on the file c:\test.txt and removing all references for guest from and then explicitly denying joel access to the c:\temp directory.

Apply permissions on a file.

use Win32::Perms;

# Create an empty Security Descriptor
$::ThisPage = new Win32::Perms || die;

# One of two ways to add an ACE
$::ThisPage->Allow('cartman', READ);

# The second way to add an ACE
$::ThisPage->Add( {Account=>'administrator', Mask=>FULL } );

# Set the file's permissions
$::ThisPage->Set('c:/test.txt');
HTH
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 10:45 Uhr.


Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag