Setting global roles via command line

I have lots of global roles defined. today I use the admin console to create them
leaving room for typo errors, missing one or more roles. Is there a way to use
a command line tool to accomplish this just like I can set the autheticator provider
parameters ?
please help
premS

"Satya Ghattu" <[email protected]> wrote in message
news:[email protected]..
Cross posting to security newsgroup.
premS wrote:
I have lots of global roles defined. today I use the admin console to
create them
leaving room for typo errors, missing one or more roles. Is there a wayto use
a command line tool to accomplish this just like I can set theautheticator provider
parameters ?
Unfortunately, the expression language is not public so that makes it
difficult. There have
been a fair amount of requests for this functionality. We will probably look
to do something
with XACML in the long term.

Similar Messages

  • Setting IIS W3C Extended Log File settings via command line, registry or configuration file

    I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file.  More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default. 
    If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.

    I believe I have found a valid solution. You must have the WebAdministration module loaded.  I hope this helps someone.
    Use the following syntax to view current W3C fields:
    Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
    Use the following syntax to set W3C fields:
    Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"}

  • Set global roles

    Hi,
    Is there a way to set global roles through weblogic ant tasks or command line utilities ?
    I am using weblogic 8.1SP5
    Thanks,
    Manish
    Edited by manish25 at 02/02/2007 1:24 PM

    Hi,
    There certain things you need to check
    1. Did you do user comparsion?
    2. Did you check the SCUL log?
    SCUL  ->choose (error,unconfirmed & warning)  user / roles / profiles execute -> you will get list of users
    Priority of resolving would be the same order   1. Error (red) 2. Unconfirmed (Gray) and 3. Warnings.(Yellow).
    based on the error you can re distrubute the idoc.
    Procedure :
    Select the user which you would like to re-distribute for a particular system -> it will display user  / roles / profile ->
    Let stay roles  are Grayed -> highlight on the role -> click on F7 button or  cross mark(Distrbution)  . You will receive new window with selection of IDOC type. Select appropriate IDOC type -> choose roles -> continue.
    3. Text comparsion
    To get a newly created role to a system quickly avoiding  Text Comparison to all systems i.e from CUA. Instead you can do text comparsion from child systems.
    Finallly your SCUM settings are correct.
    Thanks,
    Sri

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

  • Turn on "Real-time preotection" via command line

    Hello!
    We have a cient without networking resources and I need to turn on the "Real-time protection" which is currently in OFF state.
    How can I do that via command line?
    I tried to review the "mpcmdrun" command but did not found proper switch to turning on this service.
    Regards, 
    Tamas

    You could do a regedit command to silently import a .reg file with the setting in it:
    create a .reg file from the following key:
    HKLM\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection
    Name: DisableRealtimeMonitoring
    Type: REG_DWORD
    Data: 0
    Then import it silently with this command:
    regedit /s C:\ExamplePath\Example.reg
    You could also do a PowerShell command:
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection' -Name DisableRealtimeMonitoring -Value 0

  • Can't rename the lap1041 hostname via command line

    We have lots of new lap1041 need be set static IP Adress, hostname, Controller Adress via command line, but when use command (capwap ap hostname) to set hostname , always give us cammand disabled, we used command:clear capwap private-config, but it does not work, why?

    Thanks for your reply.
    The Lap  is new and has not join the WLC( the WLC has not connect to the network), we can set the LAP IP address, Controller IP address via command line, but can not set host name, even though we power the lap via AC.
    LAP version 15.2(2)JA
    following is the error message:
    APacf2.c594.0137#capwap ap hostname test
    ERROR!!! Command is disabled.
    Further more, how to set the location?

  • Submit --Title via command line.

    So I'm submitting files via command line. All is working well but I need to set the Title and description on the fly from a script. so I'm attempting to use the --title and --description options. But the submission fails when I do. Anybody out there make this work on 10.6.4? Example below.
    podcast -s my.server.com -u user -p password --submit --file /path/to/file --workflow "Workflowname" --title "my new podcast --description "This is the Description"

    Well that's a start
    Looking at man podcast, there is not any '--title' or '--description' options on the command line, which could explain why they don't work
    It looks like podcast expects this data to be passed in via a metadata .plist file.
    Here's the example from man podcast:
    podcast --server myserver.example.com --user username --pass password
    --submit --file /path/to/file --workflow 'Workflow1' --metadata
    /path/to/metadata.plist
    where the file /path/to/metadata.plist should look something like (again, taken from man podcast:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>Author</key>
        <string>Professor Rick Hathaway</string>
        <key>Comment</key>
        <string>Strangely, things fall together. Sorry Yeats.</string>
        <key>Copyright</key>
        <string>Copyright (c) 2007 Vox Clamantis College</string>
        <key>Description</key>
        <string>Gravitation is a phenomenon through which all objects attract each other.</string>
        <key>Keywords</key>
        <string>gravitation phys13</string>
        <key>Title</key>
        <string>Lecture 4 -- The theory of gravitation</string>
      </dict>
    </plist>

  • Automate RAID 5 on Xserve via Command Line

    Is there a way to automate via command line the Xserve to have RAID 5?

    Hi
    Assuming you have an Apple RAID Card installed and if I've understood you correctly, possibly:
    http://www.manpagez.com/man/8/raidutil/
    Something like:
    raidutil create raidset -n set1 -d 1,2,3 -r 5
    Should create a Raid Set called set1 using drives 1, 2, 3 as a raid 5.
    Tony

  • Error -402 upon installing an extension via Command Line

    When I try to install my extension via command line, i receive the following error message:
    "Failed to install, status = -402!"
    What does this error code -402 mean?
    I found someone with a similar problem in the forums: Re: Extension Manager CC failed to install extension
    He/She had file names containing non-ASCII characters. But i couldn't find any non-ASCII characters in my project or extension.
    Thanks in advance,
    Andreas

    Hi Carl,
    unfortunately unchecking the option did not work. This is what I found in the logs:
    ExManCoreLibrary.log:
    [Debug] Thu Oct 09 09:01:03.891 2014 (SignatureValidator.cpp, 48) -CSignatureValidator::verifySignature: Begin to validate signature /var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa
    [Debug] Thu Oct 09 09:01:03.924 2014 (SignatureValidator.cpp, 68) -CSignatureValidator::verifySignature: End to validate signature /var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa
    [Error] Thu Oct 09 09:01:03.924 2014 (SignatureValidator.cpp, 105) -CSignatureValidator::verifySignature: ZXPSign_verify() failed for "/var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa", sign_status is 50!
    [Error] Thu Oct 09 09:01:03.924 2014 (ExtensionBase.cpp, 170) -CExtensionManager::validateExtension: CSignatureValidator::verifySignature() failed for "/var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa", status is -402!
    [Error] Thu Oct 09 09:01:03.924 2014 (ExtensionBase.cpp, 607) -CExtensionBase::install: validateExtension() failed for zxp /Users/******/Desktop/plugin.zxp, status = -402!
    log0.log:
    10/9/2014 09:01:03.622 [INFO] com.adobe.exman.controller.InstallExtensionCommand execute(), InstallExtensionCommand is executed.
    10/9/2014 09:01:03.624 [INFO] com.adobe.exman.controller.session.composite.CompositeUpdateSession initiate()
    10/9/2014 09:01:03.624 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,29,install,1,0
    10/9/2014 09:01:03.625 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_ACTION_BEGIN
    notification body: [object ActionBeginParameter]
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_ACTION_BEGIN
    10/9/2014 09:01:03.625 [INFO] com.adobe.exman.ExManGUI canAcceptUIInput(), set to: false
    10/9/2014 09:01:03.626 [INFO] com.adobe.exman.controller.AppWinOperationCommand execute(), AppWinOperationCommand is executed. notification=APPWIN_MODALDIALOG_POPUP
    10/9/2014 09:01:03.626 [INFO] com.adobe.exman.controller.gateway.ExternalGateway ###appWinOperate(), sessionId: 30, opCode=10, mouseX=0, mouseY=0
    10/9/2014 09:01:03.626 [DEBUG] com.adobe.exman.controller.session.composite.CompositeRollBackSession CompositeRollBackSession: executeNextSession()+++
    10/9/2014 09:01:03.627 [DEBUG] com.adobe.exman.controller.session.composite.CompositeRollBackSession CompositeRollBackSession: supper.executeNextSession
    10/9/2014 09:01:03.627 [DEBUG] com.adobe.exman.controller.session.composite.CompositeSession executeNextSession: run a frontend session
    10/9/2014 09:01:03.628 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession initiate()
    10/9/2014 09:01:03.628 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.628 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,31,install,1,0
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.controller.session.composite.CompositeRollBackSession onChildSessionProgress() session total: 1 session lenght: 0 progress: 0 calculatedProgress: 0
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_PROGRESS
    notification body: 0
    10/9/2014 09:01:03.629 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.629 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_PROGRESS
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.view.ExManApp app got progress: 0
    10/9/2014 09:01:03.633 [DEBUG] com.adobe.exman.controller.session.backend.InstallExtensionSession initiate
    10/9/2014 09:01:03.633 [INFO] com.adobe.exman.controller.gateway.ExternalGateway installExtension(), the params to external install: sessionid=28, sourcepath= /Users/*******/Desktop/plugin.zxp
    10/9/2014 09:01:03.633 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr externalInstallExtension,28,/Users/*******/Desktop/plugin.zxp
    10/9/2014 09:01:03.634 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.644 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_RESET_SEARCH_BOX
    10/9/2014 09:01:03.890 [INFO] com.adobe.exman.controller.gateway.Application ###Receive airCallBack Message28,9,30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.gateway.ExternalGateway handleResponse(), parameters of handleResponse:
    sessionId= 28
    responseType= 9
    responseBody=30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.backend.BackendSession com.adobe.exman.controller.session.backend::InstallExtensionSession got parameters in handleResponse:
    responseType= 9
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 0 :30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession onBackendSessionProgress(), 30
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.controller.session.composite.CompositeRollBackSession onChildSessionProgress() session total: 1 session lenght: 0 progress: 30 calculatedProgress: 30
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_PROGRESS
    notification body: 30
    10/9/2014 09:01:03.892 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.892 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_PROGRESS
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.view.ExManApp app got progress: 30
    10/9/2014 09:01:03.933 [INFO] com.adobe.exman.controller.gateway.Application ###Receive airCallBack Message28,1,-402,com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.gateway.ExternalGateway handleResponse(), parameters of handleResponse:
    sessionId= 28
    responseType= 1
    responseBody=-402,com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession com.adobe.exman.controller.session.backend::InstallExtensionSession got parameters in handleResponse:
    responseType= 1
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 0 :-402
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 1 :com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.937 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession onBackendSessionFail()
    10/9/2014 09:01:03.938 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.938 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,32,install,0,0
    10/9/2014 09:01:03.938 [DEBUG] com.adobe.exman.controller.session.composite.CompositeSession notifySuperSessionFail: set LASTSESSION FAILED
    10/9/2014 09:01:03.938 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_ACTION_FAIL_WITH_PARENT_SESSION
    notification body: [object SessionCompleteParameter]
    10/9/2014 09:01:03.939 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.939 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_ACTION_FAIL_WITH_PARENT_SESSION
    10/9/2014 09:01:03.939 [ERROR] com.adobe.exman.view.ExManApp null extension!
    10/9/2014 09:01:03.939 [INFO] com.adobe.exman.view.ExManApp onSessionCompleteFail()
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.view.ExManApp onActionFailHelper()
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.ExManGUI canAcceptUIInput(), set to: false
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.controller.AppWinOperationCommand execute(), AppWinOperationCommand is executed. notification=APPWIN_MODALDIALOG_POPUP
    10/9/2014 09:01:03.941 [INFO] com.adobe.exman.controller.gateway.ExternalGateway ###appWinOperate(), sessionId: 33, opCode=10, mouseX=0, mouseY=0

  • How can I install on Windows remotely via command line?

    Hello Folks.
    I want to install an application on Windows remotely and via command line, For example, I need a tool like Psexec or WMIC but I don't like the user understand it. Any idea? 

    Hi,
    Please also refer to following FAQ article and check if those four general ways will meet your requirement.
    [Forum FAQ] How to deploy applications remotely
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to merge multiple documents via command line (Adobe Acrobat Pro 9.3.2)?

    I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
    Is there a way to do this?
    Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
    Thanks for answer!

    If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
    Lots of examples on the Web.
    Hope this helps

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • [svn:bz-trunk] 17010: Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line

    Revision: 17010
    Revision: 17010
    Author:   [email protected]
    Date:     2010-07-22 02:52:41 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line
    QA: Yes
    Doc: Yes - in custom tokens section, talk about the new token.file option
    Checkintests: Pass
    Details: Changed TokenReplacer to look for a token.file JVM option. If it's specified (eg. -Dtoken.file=/User/matamel/Desktop/token.properties), then TokenReplacer looks for a properties file where token name and values are specified. This allows someone to specify a file for custom tokens. Custom tokens can still be specified as straight JVM option and in case where a token is defined both as a JVM option and in a token properties file, JVM option takes precedence.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/TokenReplacer.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

  • How do I get LR2 to "load from device" via command line?

    Hi,
    how do I get LR2 to "load from device" via command line?
    I've got XP to load LR2 when a "camera" (and only a camera) is connected but really cool would be if LR2 would also import the pictures.
    cu,
    Michael

    1. Make sure you are using IOS 7.
    2. Make sure your iPad is register in My Support Profile.
    https://supportprofile.apple.com/
    3. Try downloading again; it should be free.

Maybe you are looking for

  • Change the name of custom tab in me51n / me52n / me53n

    Hi, I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fie

  • Read variables from an XML file

    Hi all, I'm trying to query valuables in an xml document which is structured quite differently from the examples I've seen around here, and I can't get my head around what to do. The XML document I've got looks like this; <universalproperties> <prope

  • The size of iPhoto

    I clicked open "applications" and noticed my iPhoto is taking up 430 MB, if I transfer all the photos onto a CD, how much room would I gain in my laptop? Thank you in advance for your help.

  • G5 loses one core

    I have had a whale of a time trying to work out what was up with my dual core 1.8 g5. Have done just about everything imaginable from AHD, memtest, ASD 2.5.8. Disk utility,Diskwarrior. Reseated everything, changed bios battery, pram etc. etc. The sym

  • TS3899 problems with tiscali and ipad 3 email settings

    We recently bought my mother-in-law an ipad 3. She has a tiscali account through talktalk. We are having problems with the email settings. Any advice appreciated.