OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: A. Mälzer (amaelzerBSDHESSEN.DE)
Date: Thu Apr 05 2001 - 05:49:11 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello,

    Microsoft did it.
    Did You try 'cacls.exe' from any command prompt, which comes with
    WinNT/W2K.

    May be, You can get it only with an "extended" shell.

    Try: cmd.exe /x

         When You see the shell prompt, type 'cacls' and it shows the
         commandline-options.

    There are 2 main modes of operation.
    The replace-Mode, where You replace the permissions and the 'edit'-mode.
    'edit'-mode allows You to change the permissions of just ONE or MORE
    users without affecting the permissions of theese users not mentioned
    in the command line.

    A.Maelzer

    ----------------------------------------------------------------------
    Albrecht Maelzer (Albrecht Mälzer)
    Arzt, Medizinische Informatik

    Arbeitsgebiet: Systemplanung, Qualitaetssicherung und Controlling in der EDV

    Organisation: Blutspendedienst Hessen des Deutschen Roten Kreuzes gGmbH
                   EDV-Abteilung

    Adresse: Sandhofstr. 1 Postfach 73 03 67
                   60528 Frankfurt 60505 Frankfurt am Main

    Email: amaelzerbsdhessen.de

    Telefon: +49 (0)69 6782 149
    Fax: +49 (0)69 6782 136

    -----Original Message-----
    From: Focus on Microsoft Mailing List
    [mailto:FOCUS-MSSECURITYFOCUS.COM]On Behalf Of Derek Kwan
    Sent: Wednesday, April 04, 2001 10:20 PM
    To: FOCUS-MSSECURITYFOCUS.COM
    Subject: Re: Setting NTFS permissions through CLI?

    Also does anyone know if tehre is a command line interface (CLI) to list
    all users and/or permissions on a WinXP/Win2k/WinNT Box?

     \|/ _____ \|/ ***************************************************
     "'/ , . \`" This e-mail is send with 100% recyclable electrons.
     /_| \___/ |__\ ***************************************************
        \___U_/ DerekKWAN.ca /|\
                                      |
                                      +--- I'm glad to read that! A.M.

    On Wed, 4 Apr 2001, H Carvey wrote:

    >
    > > anybody an idea how to put ntfs permissions in
    > cli?
    >
    > Have you considered using Perl, and the
    > Win32::Perms module? You can update permissions
    > on remote systems...
    >
    > Carv
    >