Set local password with secure startup script

Since CPassword has been deprecated by MSFT, I need a secure method to set the password of the local administrator on all workstations. The workaround script that MSFT provided in
the kb article won't work because I have no control over when a computer is on or off. Hence my desire to use a startup script. I logon script would be fine too, but I suspect that wouldn't work since the
end users don't have access to set these passwords.
I can set the password with these commands:
$objUser = [ADSI]"WinNT://./LocalAdmin"
$objUser.SetPassword("NewPassword")
but that exposes the password in the script in plain text, which is worse than the CPassword problem that MSFT "fixed."
So, how can I do this same thing and use a predetermined password without putting it into a logon/startup script in plain text?
Thanks in advance!
Blog /
Facebook / Twitter

Ha, that's also what I'm doing right now.  The simplest way to eliminate most of the threats, in my opinion, is:
1) move the script to a separate file share (since Domain\NetLogon is definitely a main target for hackers), and
2) set the permissions to allow Domain Computers Read Only.  This will eliminate most of the threats.
If you're still not comfortable having the password in plain text, use the native PS Encryption (Convertto-SecureString and
Convertfrom-SecureString) and use your own key.
Dave Wyatt has a very informative post on this topic:
http://powershell.org/wp/2014/02/01/revisited-powershell-and-encryption/comment-page-1/
Remember this is not a 100% hacker proof solution, but should be good enough to keep away the novices.

Similar Messages

  • Check for libraries with a startup script

    Is it possible to check for open libraries with a startup script?  Currently, i'm trying like this:
    try{
         app.libraries.item("Marks.indl").name
    catch(e){
         app.open(File("/Support/InDesign/Lib/Marks.indl"))
    If InDesign is already open, this code works correctly (that is, if the library is open, nothing happens, otherwise it opens the library).  However, if I place this in the startup script folder, it will open a second (third, fourth, etc.) copy of the library, even if the library is already open.
    I think this happens because the library files are opened later in the startup sequence then the startup scripts are run.  Is there any way to work around this?
    Thanks,
    /dan

    Is your script supposed to work in ID CS3, or later?
    Anyway, InDesign CS4 seems to reopen the libraries before launching startup scripts, so the following code works for me:
    // Startup Script
    const libName = "Marks.indl",
      libPath = "/Support/InDesign/Lib/";
    var libFile = libPath + libName;
    if( !app.libraries.itemByName(libName).isValid )
      try {app.open(File(libFile))}
      catch(_){alert("Unable to open the library:\r"+libFile);}
    @+
    Marc

  • My pc is down and I'm trying to put a wep for this router so no one can use my internet but me. Is there anyway I can set a password with an iPad as I don't have a desktop or laptop?

    My pc is down and I'm trying to put a wep for this router so no one can use my internet but me. Is there anyway I can set a password with an iPad as I don't have a desktop or a laptop. Please help.

    The AirPorts, unlike routers provided by other manufacturers, do not provide a web-based administration interface ... so the PS3 or any browser would not work.

  • GPO with a startup script is not working.

    I have a GPO that I have added a ".bat" script to the "Computer Configuration\Windows Settings\scripts\startup/shutdown" section. The batch file is located in the netlogon folder. This script was part of another Old GPO
    that I want to consolidate into this new GPO. So I am taking the exact settings from the old GPO and  applying it to the new GPO.
    The script does not run at startup and when I go into Group Policy Management, highlight the GPO then on the right pane click the settings tab it doesn't display the startup script as being set. It's just not there. If I select edit and go to the
    "Computer Configuration\Windows Settings\scripts\startup/shutdown\startup" section the .bat script is present though.
    Also if I do a gpresult it also shows that it isn't running the script but all other settings in the GPO are being applied.
    This GPO has the User Config. side disabled
    Why isn't the GPO applying the script or even acknowledging that it is present in the settings tab?

    Hi,
    I could not see any report in the above link. I would like to know that did you follow the below path:
    http://technet.microsoft.com/en-us/magazine/dd630947.aspx
    In addition, logon script could only be applied to users. If want to apply to computers, we should use startup script.
    Regards,
    Yan Li
    If you have any feedback on our support, please click
    here
    Cataleya Li
    TechNet Community Support

  • Help with a startup script for monitorix

    How can I deal with a perl script that doesn't acknowledge a query for pidof?
    $ ps aux | grep monitorix
    root 1089 0.0 1.2 16280 6556 ? Ss 09:54 0:00 /usr/bin/monitorix -c /etc/monitorix.conf
    So it's running... but I can't find it with pidof:
    $ pidof /usr/bin/monitorix
    Here is the /etc/rc.d/monitorix I've been using but that doesn't stop the program (since it has no PID).
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    PID=`pidof -o %PPID /usr/bin/monitorix`
    MARGS="-c /etc/monitorix.conf"
    case "$1" in
    start)
    stat_busy "Starting Monitorix"
    if [ -z "$PID" ]; then
    /usr/bin/monitorix $MARGS
    fi
    if [ ! -z "$PID" -o $? -gt 0 ]; then
    stat_fail
    else
    PID=`pidof -o %PPID /usr/bin/monitorix`
    echo $PID > /var/run/monitorix.pid
    add_daemon monitorix
    stat_done
    fi
    stop)
    stat_busy "Stopping Monitorix"
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    rm_daemon monitorix
    else
    rm_daemon monitorix
    stat_done
    fi
    restart)
    $0 stop
    sleep 1
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac

    According to the man page, the -p flag will let you generate a PID file.
    You have a few logical errors in your rc.d script and a syntax error (double else in stop). I've been using a template similar to the below in cleaning up a few of the packages I maintain...
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    pidfile=/run/monitorix.pid
    if [[ -r $pidfile ]]; then
    read -r PID < "$pidfile"
    if [[ ! -d /proc/$PID ]]; then
    # stale pidfile
    unset PID
    rm -f "$pidfile"
    fi
    fi
    args=(-c /etc/monitorix.conf -p "$pidfile")
    case "$1" in
    start)
    stat_busy "Starting Monitorix"
    if [[ -z $PID ]] && /usr/bin/monitorix "${args[@]}"; then
    add_daemon monitorix
    stat_done
    else
    stat_fail
    exit 1
    fi
    stop)
    stat_busy "Stopping Monitorix"
    if [[ $PID ]] && kill $PID &> /dev/null; then
    rm_daemon monitorix
    stat_done
    else
    stat_fail
    exit 1
    fi
    restart)
    $0 stop
    sleep 1
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    please also fix the PKGBUILD:
    install=('readme.install')
    This is not valid, and pacman 4 will not let you declare install as an array.
    Last edited by falconindy (2011-09-25 15:05:02)

  • How to set the password with start-domain instruction in AS 8

    Hello,
    I am trying to add an instruction in /etc/init.d to start a domain automatically every time the server reboots but I have not found a way to set the master password of this domain. I know there is a --passwordfile option but it only has the choice of setting the adminpassword AS_ADMIN_PASSWORD.
    asadmin start-domain --passwordfile /var/SUNWapp/password.txt application
    cat /var/SUNWapp/password.txt
    AS_ADMIN_PASSWORD=xxx // It does not work to start the domain. I need to set the master password
    Is there any way to start the domain automatically??? how can I set the password without prompt?
    Thank you,
    Regards

    You can also have AS_ADMIN_MASTERPASSWORD in the password file.
    "asadmin start-domain" will not prompt for the masterpassword.

  • How to set local radius with AP 1240AG series

    Hi,
    I have been trying to set up a AP with AIR-AP1242AG-Ak9 as a local authenticator radius but with no success. I have followed the steps from a lot of posts but no go, even with the most simple and understanable post like this one: 
    https://supportforums.cisco.com/document/101121/configuring-autonomous-ap-local-radius-authentication
    The guy at the end of the post says:
    Configuring AP
    1. Go to Security>Encryption Manager
    2. Specify Encryption (can be WEP or WPA)
    3. Specify that WEP is Mandatory
    4. Specify the key accordingly
    5. Click Apply
    6. Go to Security>SSID Manage
    7. Select the desired SSID
    But when I go via GUI fist of all:
    I dont understand why it says it can be WEP o WPA because if I select WEP and follow the rest of the steps, I got an error message: WPA mandatory is supported only with Cipher TKIP or AES CCMP or AES CCMP +TKIP <see encryption managerpage>
    Besides WEP, as far as I kknow it only works with a password only and I want the PC clients to aunthenticate with the AP itself as a Radius local server so it should ask for a username and password defined in the AP.
    Second of all, the steps from the guy states on item 4, specfy the key acordinly? what this means? I only see keys filed in hexa.
    third of all, if I do the steps in the error above, it allows me to set WPA with key management Mandatory but only by selecting the Cipher drop down menu, so which item should I pick ?there are a lot like AES CCMP, AES CCMP+TKIP, etc
    But whenever another PC tries to login, it asks for the username and password, but it never get passed just saying error on the network.
    I include the debug for the local radius below
    I also included the config of the AP
    All I want is the AP ask for a username and password, login successfully and thats it.
    anybody else or someone that has a function config to share with me? I would appreciate it, cause I have been more than 12 hours in a row trying to set it up but no go 

    Here is a one of my post related to this topic,see if that helps,
    http://mrncciew.com/2013/03/03/autonomous-ap-as-local-radius-server/
    If supported use WPA2 with AES as that is most secure. Do not use WEP. If WPA2/AES is not supported then try to use WAP with TKIP.
    Here is other useful configuration example on the same topic
    https://rscciew.wordpress.com/2014/07/24/autonomous-ap-with-local-radius-server-eap-fast/
    HTH
    Rasika
    **** Pls rate all useful responses ***

  • How to set event name with a apple script

    I use a script to import my photos in iphoto. It's a action folder script.
    This script automatically create albums with the folder's names.
    With the latest version of iphoto and ranking per event, I can not initialize the name events with the names of albums.

    The device has to be set up with the same Wi-Fi network that the iOS device is connected to. The printer cannot be physically connected to the computer. Then select something to print in the iOS device and it will look for a printer and should select yours. See this support document for more help. http://www.apple.com/support/iphone/assistant/airprint/

  • 3 year old set BBID password and security question and answer, i have 4 attempts left, what can i do??

     i cannot purchase any thing as i have  to log in usind BBID, my young son does not remember the password or the security question or the answer.please help

    How to change or reset a BlackBerry ID password
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How to set up password with netgear DG834G

    Hi
    I want to set up a password to get onto the internet via my Netgear router.
    How?
    I don't get all this WEP, WPA or SSID business.
    Please can someone give me beginners help?
    I'm on Netgear settings page at mo...........

    thanks for that.
    i've been connected for about 3 years. no problems. so it's not a connect or set up problem.
    but feel the need to have a password incase dodgy people want to log on and take over my life
    am on netgear now and not sure where to go from here?
    anyone?

  • Managed server startup script not reading login info from boot.properties

    To encrypt the username and password in weblogic admin server, I used a boot.properties file and setting some properties like StoreBootIdentity=true. This works as expected.
    Now, I have a weblogic managed server within the same folder i.e.
    under /bea/user_projects/domains/mydomain
    To get the similar behaviour on this managed server, I created a boot1.properties file and set the following in the startup script
    java -Djava.compiler=NONE -ms200m -mx200m $HOTSPOT_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=mydomain -Dweblogic.Name=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/server/lib/weblogic.policy -DRCP_PROPS=/data/css/adixit/samsung/scc612/server/cfg/RCP.props -Dlog4j.configuration=log4j.xml -Dweblogic.system.BootIdentityFile=/bea/user_projects/domains/mydomain/boot1.properties -Dweblogic.RootDirectory=/bea/user_projects/domains/mydomain weblogic.Server
    When I run the script I get the following :-
    <Jan 24, 2005 3:41:44 PM GMT+05:30> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:
    Why is it not able to pick the username and password from the boot1.properties file ? Any clues ? What settings can I change to make it work ?
    Thanks in advance.

    Being that you posted this problem a few months ago, I am assuming you found the cause of your problem. I too experienced this same symptom (boot.properties not being read) when trying to start a managed server on a different server than the admin JVM. I found the resolution in the following documentation:
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html#BootIdentityFiles
    Basically, you have to copy the SerializedSystemIni.dat from the server that the admin JVM is on to the secondary server where the managed JVM is going to run. I was able to do as the link says (add the boot.properties file with plain text passwords and have it encrypted). Hope this helps you or someone else down the road.

  • How to deal with security when migrating application from weblogic 5.1 to weblogic 6.1?

    Dear All,
    I have one statement int weblogic 5.1 weblogic.propertis as follow,
    weblogic.security.realmClass=com.tbcn.security.realm.TestRealm
    but after converting to weblogic 6.1 there are no corresponding statement in
    the file config.xml. And when i start the new application, error occured.
    what should I do?
    The error message is:
    <2001/8/27 am 11:33:42> <Notice> <Management> <Loading configuration file
    .\config\tbcn\config.xml
    <2001/8/27 am 11:33:49> <Emergency> <Server> <Unable to initialize the
    server: 'Fatal initializatio
    Throwable: java.lang.NullPointerException
    java.lang.NullPointerException
    at
    weblogic.security.SecurityService.initializeRealm(SecurityService.java:261)
    at
    weblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:385)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:197)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.NullPointerException
    java.lang.NullPointerException
    at
    weblogic.security.SecurityService.initializeRealm(SecurityService.java:261)
    at
    weblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:385)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:197)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception

    Dear Satya,
    My weblogic propertis file as follow,
    # CORE PROPERTIES
    # You should set these before you start the WebLogic Server the first time.
    # If you need more instructions on individual properties in this
    # section, check the same section in the Optional Properties, where
    # we've left the long explanations. Or, better yet, go to our
    # website and read all about properties, at:
    # http://www.weblogic.com/docs51/admindocs/properties.html
    # CORE SYSTEM PROPERTIES
    # TCP/IP port number at which the WebLogic Server listens for connections
    weblogic.system.listenPort=7001
    # CORE SECURITY-RELATED PROPERTIES
    # Read important information about security at:
    # http://www.weblogic.com/docs51/admindocs/properties.html
    # REQUIRED: The system password MUST be set in order to start the
    # WebLogic Server. This password is case-sensitive, at least 8 characters.
    # The username for the privileged user is ALWAYS "system".
    # This username and password also includes httpd access (see
    # HTTPD properties below).
    weblogic.password.system=12345678
    # RECOMMEND Set to 'everyone' if HTTPD is enabled
    weblogic.allow.execute.weblogic.servlet=everyone
    # Set individual ACLs to restrict access to HTTP-related resources,
    # such as the Administration servlets.
    # To make your own servlets generally available, follow this
    # pattern (provide a weblogic.allow.execute) for your packages and
    # set ACLs as appropriate.
    # CORE SECURITY-RELATED PROPERTIES FOR SSL
    # Read important information about SSL at:
    # http://www.weblogic.com/docs51/classdocs/API_secure.html
    # Enable SSL
    # (default if property not defined is false)
    weblogic.security.ssl.enable=true
    # SSL listen port
    weblogic.system.SSLListenPort=7002
    # Servlets for SSL
    # Authentication servlet for creating tokens for applets
    weblogic.httpd.register.authenticated=weblogic.t3.srvr.ClientAuthenticationS
    ervlet
    # Limits number of unclaimed stored tokens
    weblogic.security.certificateCacheSize=3
    # Capture CA root of client servlet
    weblogic.httpd.register.AdminCaptureRootCA=admin.AdminCaptureRootCA
    # Certificates for SSL
    # Name of acceptable CA roots
    # For client authentication change value to a valid .pem file
    #weblogic.security.clientRootCA=SecureServerCA.pem
    # Server certificates for SSL
    weblogic.security.certificate.server=democert.pem
    weblogic.security.key.server=demokey.pem
    weblogic.security.certificate.authority=ca.pem
    # registration for certificate generator servlet
    weblogic.httpd.register.Certificate=utils.certificate
    weblogic.allow.execute.weblogic.servlet.Certificate=system
    # CORE HTTPD ADMINISTRATIVE PROPERTIES
    # True permits the HTTPD to run (default)
    # Uncomment this property to disable HTTPD
    #weblogic.httpd.enable=false
    # If authentication is required, add username/password for each user
    # who will be included in an ACL, as in this commented-out example:
    #weblogic.password.peter=#8gjsL4*
    # SYSTEM PROPERTIES
    # System properties in this section are set to system defaults
    # Performance pack. The shared library must be accessible from your
    # PATH (NT) or from your shared library path (UNIX; the name of the
    # variable varies: LD_LIBRARY_PATH, SHLIB_PATH, etc.)
    weblogic.system.nativeIO.enable=true
    # Outputs logging information to the console as well as to the log file
    weblogic.system.enableConsole=true
    # Sets the directory or URL for the WebLogic Admin help pages
    # The help pages are shipped in the "docs/adminhelp" directory, in the
    # default document root in public_html
    weblogic.system.helpPageURL=/weblogic/myserver/public_html/docs51/adminhelp/
    # If you prefer to access the most recent help pages, you can do so online
    # by commenting out the previous property and uncommenting this one:
    #weblogic.system.helpPageURL=http://www.weblogic.com/docs51/adminhelp/
    # Properties for tuning the server's performance
    # Number of WebLogic Server execute threads.
    weblogic.system.executeThreadCount=15
    # Other optional system properties
    # Limits size of weblogic.log (in K) and versions old log
    weblogic.system.maxLogFileSize=1024
    # Adjust minimum length of password
    weblogic.system.minPasswordLen=8
    # UNIX only: If running on port 80 on UNIX, enable the setUID program
    #weblogic.system.enableSetUID=false
    # UNIX only: Unprivileged user to setUID to after starting up
    # WebLogic Server on port 80
    #weblogic.system.nonPrivUser=nobody
    # CLUSTER-SPECIFIC PROPERTIES
    # Cluster-specific properties in this section are set to system defaults.
    # CLUSTER USERS: Note that ALL Cluster-specific properties should be set
    # in the per-cluster properties file ONLY.
    # Time-to-live (number of hops) for the cluster's multicast messages
    # (default 1, range 1-255).
    #weblogic.cluster.multicastTTL=1
    # Sets the load-balancing algorithm to be used between
    # replicated services if none is specified. If not specified,
    # round-robin is used.
    #weblogic.cluster.defaultLoadAlgorithm=round-robin
    # SERVER-SPECIFIC CLUSTER PROPERTIES
    # Cluster-related properties in this section are set to system defaults.
    # CLUSTER USERS: Note that these server-specific cluster-related properties
    # should be set in the per-server properties file ONLY.
    # Sets the weight of the individual server for the weight-based
    load-balancing.
    # Range is 0 - 100.
    # Larger numbers increase the amount of traffic routed to this server.
    #weblogic.system.weight=100
    # SYSTEM STARTUP FILES - Examples
    # CLUSTER USERS: Note that ONLY startup registrations for pinned RMI
    # objects should be registered in the per-server properties file.
    # All other startup classes should be registered in the per-cluster
    # properties file.
    # For more info on writing and using startup file, see the
    # Developers Guide "Writing a WebLogic Client application," at
    # http://www.weblogic.com/docs51/classdocs/API_t3.html
    # Register a startup class by giving it a virtual name and
    # supplying its full pathname.
    #weblogic.system.startupClass.[virtual_name]=[full_pathname]
    # Add arguments for the startup class
    #weblogic.system.startupArgs.[virtual_name]={argname]=[argvalue]
    # This example shows the entry for examples/t3client/StartupQuery.java
    #weblogic.system.startupClass.doquery=examples.t3client.StartupQuery
    #weblogic.system.startupArgs.doquery=\
    # query=select * from emp,\
    # db=jdbc:weblogic:pool:demoPool
    # SYSTEM SHUTDOWN FILES - Examples
    # For more info on writing and using shutdown file, see the
    # Developers Guide "Writing a WebLogic Client application," at
    # http://www.weblogic.com/docs51/classdocs/API_t3.html
    # Register a shutdown class by giving it a virtual name and
    # supplying its full pathname.
    #weblogic.system.shutdownClass.[virtual_name]=[full_pathname]
    # Add arguments for the shutdown class
    #weblogic.system.shutdownArgs.[virtualName]={argname]=[argvalue]
    # This example shows the entry for examples/t3client/ShutdownTest.java
    #weblogic.system.shutdownClass.ShutdownTest=examples.t3client.ShutdownTest
    #weblogic.system.shutdownArgs.ShutdownTest=\
    # outfile=c:/temp/shutdown.log
    # SECURITY-RELATED PROPERTIES FOR WORKSPACES
    # For backward compatibility, the following entries disable Access
    # Control on Workspaces
    weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    # JOLT FOR WEBLOGIC PROPERTIES
    # These properties configure a BEA Jolt connection pool for use with
    # the simpapp and bankapp examples, and register a servlet for use with
    # with the simpapp example. The default server address provided here
    # points to a public TUXEDO server that is hosted by BEA for use with
    # this example.
    # Servlet registration for simpapp example:
    #weblogic.httpd.register.simpapp=examples.jolt.servlet.simpapp.SimpAppServle
    t
    # Pool creation and cleanup
    # note this example is set up to work with the public
    # demo TUXEDO server available from BEA's website:
    #weblogic.system.startupClass.demojoltpoolStart=\
    # bea.jolt.pool.servlet.weblogic.PoolManagerStartUp
    #weblogic.system.startupArgs.demojoltpoolStart=\
    # poolname=demojoltpool,\
    # appaddrlist=//beademo1.beasys.com:8000,\
    # failoverlist=//beademo1.beasys.com:8000,\
    # minpoolsize=1,\
    # maxpoolsize=3
    #weblogic.system.shutdownClass.demojoltpoolStop=\
    # bea.jolt.pool.servlet.weblogic.PoolManagerShutDown
    #weblogic.system.shutdownArgs.demojoltpoolStop=\
    # poolname=demojoltpool
    # WEBLOGIC ENTERPRISE CONNECTIVITY PROPERTIES
    # The registrations enable a BEA IIOP connection pool and
    # register servlets for use with the simpapp and university examples.
    # Configure for your environment and uncomment to use.
    # Uncommenting these properties requires WebLogic Enterprise Connectivity
    # and an operating WebLogic Enterprise Server.
    # Servlet registration for simpapp servlet example
    #weblogic.httpd.register.SimpappServlet=\
    # examples.wlec.servlets.simpapp.SimpappServlet
    #weblogic.allow.execute.weblogic.servlet.SimpappServlet=everyone
    # Servlet registration for simpapp EJB example
    # (You'll need to add the wlec_ejb_simpapp.jar to the
    # weblogic.ejb.deploy property in this file.)
    #weblogic.httpd.register.ejbSimpappServlet=\
    # examples.wlec.ejb.simpapp.ejbSimpappServlet
    #weblogic.allow.execute.weblogic.servlet.ejbSimpappServlet=everyone
    # Pool creation and cleanup for the simpapp example
    #weblogic.CORBA.connectionPool.simplepool=\
    # appaddrlist=//wlehost:2468,\
    # failoverlist=//wlehost:2468,\
    # minpoolsize=2,\
    # maxpoolsize=3,\
    # username=wleuser,\
    # userrole=developer,\
    # domainname=simpapp
    # Servlet registration for university Servlet example:
    #weblogic.httpd.register.UniversityServlet=\
    # examples.wlec.servlets.university.UniversityServlet
    #weblogic.allow.execute.weblogic.servlet.UniversityServlet=everyone
    # Pool creation and cleanup for the University example:
    #weblogic.CORBA.connectionPool.Univpool=\
    # appaddrlist=//wlehost:2498,\
    # failoverlist=//wlehost:2498,\
    # minpoolsize=2,\
    # maxpoolsize=3,\
    # username=wleuser,\
    # userrole=developer,\
    # apppassword=wlepassword,\
    # domainname=university
    # WEBLOGIC FILE PROPERTIES
    # Maps a volume name to a path, for client file read/write
    #weblogic.io.fileSystem.[volumeName]=[fullPathName]
    # WEBLOGIC JMS DEMO PROPERTIES
    # CLUSTER USERS: Note that ALL JMS deployment should be done in the
    # per-cluster properties file ONLY.
    # You set up a JDBC connection pool if you want persistent messages
    # (including durable subscriptions). To use JMS and EJBs in the same
    # transaction, both must use the same JDBC connection pool. Uncomment
    # the following property to use the default JDBC connection pool
    # 'demo', which is defined in the Demo connection pool section of this file.
    #weblogic.jms.connectionPool=demoPool
    # The JMS Webshare example demonstrates how the ClientID for a
    # durable subscriber is configured in the connection factory:
    #weblogic.jms.topic.webshareTopic=jms.topic.webshareTopic
    #weblogic.jms.connectionFactoryName.webshare=jms.connection.webshareFactory
    #weblogic.jms.connectionFactoryArgs.webshare=ClientID=webshareUser
    #weblogic.httpd.register.webshare=examples.jms.webshare.WebshareServlet
    # The JMS trader example shows how to use JMS with an EJB. In addition
    # to uncommenting the following properties, you must also set up and
    # deploy the EJB example examples.ejb.basic.statelessSession.Trader in
    # ejb_basic_statelessSession.jar to try out this JMS example:
    #weblogic.jms.topic.exampleTopic=javax.jms.exampleTopic
    #weblogic.jms.connectionFactoryName.trader=jms.connection.traderFactory
    #weblogic.jms.connectionFactoryArgs.trader=ClientID=traderReceive
    #weblogic.httpd.register.jmstrader=examples.jms.trader.TraderServlet
    # Registers the underlying servlet
    #weblogic.httpd.register.jmssender=examples.jms.sender.SenderServlet
    # These properties are used with the ServerReceive JMS example,
    # which demonstrates how to establish a JMS message consumer
    # in a startup class:
    #weblogic.system.startupClass.serverReceive=\
    # examples.jms.startup.ServerReceive
    #weblogic.system.startupArgs.serverReceive=\
    # connectionFactory=javax.jms.TopicConnectionFactory,\
    # topic=javax.jms.exampleTopic
    # These properties are used with the PoolReceive JMS example,
    # which demonstrates how to establish a pool of JMS message consumers
    # in a startup class:
    #weblogic.system.startupClass.poolReceive=\
    # examples.jms.startup.PoolReceive
    #weblogic.system.startupArgs.poolReceive=\
    # connectionFactory=javax.jms.TopicConnectionFactory,\
    # topic=javax.jms.exampleTopic
    #weblogic.allow.create.weblogic.jms.ServerSessionPool=everyone
    # WEBLOGIC RMI DEMO PROPERTIES
    # CLUSTER USERS: Note that pinned RMI objects should be registered
    # in the per-server properties file ONLY. All other RMI startup
    # classes should be registered in the per-cluster properties file.
    # Remote classes registered at startup after the pattern:
    #weblogic.system.startupClass.[virtualName]=[fullPackageName]
    # These examples can be compiled to see RMI in action. Uncomment to use:
    #weblogic.system.startupClass.hello=examples.rmi.hello.HelloImpl
    #weblogic.system.startupClass.multihello=examples.rmi.multihello.HelloImpl
    #weblogic.system.startupClass.stock=examples.rmi.stock.StockServer
    # WEBLOGIC EJB DEMO PROPERTIES
    # CLUSTER USERS: Note that ALL EJB deployment should be done in the
    # per-cluster properties file ONLY.
    # See WebLogic Demo Connection Pool below for a connection pool
    # to use with these examples.
    # Deploys EJBeans. Uncomment the appropriate lines below and
    # modify DBMS-related info and paths to match your particular installation:
    # TBCN EJB PROPERTIES
    weblogic.ejb.deploy=\
    C:/weblogic/myserver/AccountSB.jar, \
    C:/weblogic/myserver/AddressEntryDet.jar, \
    C:/weblogic/myserver/AddressEntry.jar, \
    C:/weblogic/myserver/Affiliate.jar, \
    C:/weblogic/myserver/ContactPerson.jar, \
    C:/weblogic/myserver/ContactSB.jar, \
    C:/weblogic/myserver/Factory.jar, \
    C:/weblogic/myserver/FactorySups.jar, \
    c:/weblogic/myserver/LoginUsers.jar, \
    c:/weblogic/myserver/Member.jar, \
    c:/weblogic/myserver/MemberQuotaUsage.jar,\
    c:/weblogic/myserver/MemberToCategory.jar,\
    c:/weblogic/myserver/Organization.jar, \
    c:/weblogic/myserver/Person.jar, \
    c:/weblogic/myserver/QuotaType.jar,\
    c:/weblogic/myserver/Registration.jar, \
    c:/weblogic/myserver/TempAccounts.jar, \
    c:/weblogic/myserver/TempDomain.jar, \
    c:/weblogic/myserver/UserAccount.jar, \
    c:/weblogic/myserver/UserRole.jar, \
    c:/weblogic/myserver/BuyerProducts.jar, \
    c:/weblogic/myserver/Catalog.jar, \
    c:/weblogic/myserver/Categories.jar, \
    c:/weblogic/myserver/CategoryToCategory.jar, \
    c:/weblogic/myserver/CountryToCategory.jar, \
    c:/weblogic/myserver/InvitedMember.jar, \
    c:/weblogic/myserver/ProductOrigin.jar, \
    c:/weblogic/myserver/ProductOtherFee.jar,\
    c:/weblogic/myserver/ProductSups.jar, \
    c:/weblogic/myserver/Products.jar,\
    c:/weblogic/myserver/ProductToCategory.jar, \
    c:/weblogic/myserver/SecondaryQcEntry.jar, \
    c:/weblogic/myserver/CodeClass.jar,\
    c:/weblogic/myserver/ConfirmationSB.jar, \
    c:/weblogic/myserver/PurchasedPackage.jar,\
    c:/weblogic/myserver/RejectReasonCode.jar, \
    c:/weblogic/myserver/ServiceOrder.jar,\
    c:/weblogic/myserver/ServiceOrderLog.jar,\
    c:/weblogic/myserver/ServiceOrderState.jar,\
    c:/weblogic/myserver/ServiceOrderType.jar,\
    c:/weblogic/myserver/ServicePackageDetails.jar, \
    c:/weblogic/myserver/ServicePackage.jar, \
    c:/weblogic/myserver/ServicePayment.jar, \
    c:/weblogic/myserver/ServiceReqSB.jar, \
    c:/weblogic/myserver/TAM.jar, \
    c:/weblogic/myserver/SubscriptionEB.jar, \
    c:/weblogic/myserver/PostingCategoryEB.jar, \
    c:/weblogic/myserver/PostingBrowsedEB.jar, \
    c:/weblogic/myserver/PostingInfoEB.jar, \
    c:/weblogic/myserver/TransactionLogEB.jar, \
    c:/weblogic/myserver/PostingSB.jar
    #weblogic.ejb.deploy=\
    # d:/weblogic/myserver/ejb_basic_beanManaged.jar, \
    # d:/weblogic/myserver/ejb_basic_containerManaged.jar, \
    # d:/weblogic/myserver/ejb_basic_statefulSession.jar, \
    # d:/weblogic/myserver/ejb_basic_statelessSession.jar, \
    # d:/weblogic/myserver/ejb_extensions_finderEnumeration.jar, \
    # d:/weblogic/myserver/ejb_extensions_readMostly.jar, \
    # d:/weblogic/myserver/ejb_subclass.jar, \
    # d:/weblogic/myserver/jolt_ejb_bankapp.jar
    # Servlet used by the EJB basic beanManaged example
    # Uncomment to use:
    weblogic.httpd.register.beanManaged=\
    examples.ejb.basic.beanManaged.Servlet
    # Add a list of users (set the password with
    weblogic.password.[username]=XXX)
    # to set an ACL for this servlet:
    #weblogic.allow.execute.weblogic.servlet.beanManaged=user1,user2,etc
    #weblogic.password.user1=user1Password
    #weblogic.password.user2=user2Password
    # WEBLOGIC XML DEMO PROPERTIES
    # These properties are required to run the XML examples.
    # Uncomment to use.
    # CLUSTER USERS: Note that ALL servlets should be set up
    # in the per-cluster properties file ONLY.
    #weblogic.httpd.register.StockServlet=examples.xml.http.StockServlet
    # BizTalk example properties
    #weblogic.jms.queue.tradeIncoming=biztalk.jms.tradeIncoming
    #weblogic.jms.queue.tradeError=biztalk.jms.tradeError
    #weblogic.httpd.register.BizTalkServer=examples.xml.biztalk.BizHttpProtocolA
    dapter
    #weblogic.httpd.initArgs.BizTalkServer=bizQueue=biztalk.jms.tradeIncoming
    # WEBLOGIC ZAC DEMO PROPERTIES
    # These registrations enable the ZAC Publish Wizard.
    weblogic.zac.enable=true
    # Set the publish root for a WebLogic Server. Edit and
    # uncomment to use.
    #weblogic.zac.publishRoot=d:/weblogic/zac
    # Set an ACL for each package you publish. The [name] is
    # the "Package name" you assign in the ZAC Publish Wizard.
    # Publish a package, edit this property, and uncomment to use.
    #weblogic.allow.read.weblogic.zac.[name]=[user list]
    #weblogic.allow.write.weblogic.zac.[name]=system
    # HTTPD ADMINISTRATIVE PROPERTIES
    # Enables logging of HTTPD info in common log format and
    # sets the log file name (default is "access.log" in "myserver")
    weblogic.httpd.enableLogFile=true
    weblogic.httpd.logFileName=access.log
    # Tracks HTTPD requests with events delivered to WEBLOGIC.LOG.HTTPD
    weblogic.httpd.enableEvents=false
    # Enables HTTP sessions
    weblogic.httpd.session.enable=true
    # Sets an optional cookie name. The default name is "WebLogicSession".
    # Prior to version 4.0, the default was "TengahSession". To make
    # this backward compatible with cookies generated from previous
    # installations, you should set this property to "TengahSession".
    # Uncomment this line and set this to any string of your choice,
    # or comment out this property to use the default.
    #weblogic.httpd.session.cookie.name=WebLogicSession
    # MIME types
    weblogic.httpd.mimeType.text/html=html,htm
    weblogic.httpd.mimeType.image/gif=gif
    weblogic.httpd.mimeType.image/jpeg=jpeg,jpg
    weblogic.httpd.mimeType.application/pdf=pdf
    weblogic.httpd.mimeType.application/zip=zip
    weblogic.httpd.mimeType.application/x-java-vm=class
    weblogic.httpd.mimeType.application/x-java-archive=jar
    weblogic.httpd.mimeType.application/x-java-serialized-object=ser
    weblogic.httpd.mimeType.application/octet-stream=exe
    weblogic.httpd.mimeType.text/vnd.wap.wml=wml
    weblogic.httpd.mimeType.text/vnd.wap.wmlscript=wmls
    weblogic.httpd.mimeType.application/vnd.wap.wmlc=wmlc
    weblogic.httpd.mimeType.application/vnd.wap.wmlscriptc=wmlsc
    weblogic.httpd.mimeType.image/vnd.wap.wbmp=wbmp
    # In seconds, the keep-alive for HTTP and HTTPS requests
    weblogic.httpd.http.keepAliveSecs=60
    weblogic.httpd.https.keepAliveSecs=120
    # WEBLOGIC JDBC DRIVER PROPERTIES
    # Enables JDBC driver logging and sets the file name for the log
    # The weblogic.jdbc.logFile is placed in the per-server
    # directory (default is "myserver")
    weblogic.jdbc.enableLogFile=false
    weblogic.jdbc.logFileName=jdbc.log
    # WEBLOGIC JDBC CONNECTION POOL MANAGEMENT
    # CLUSTER USERS: Note that ALL JDBC connection pools should be set up
    # in the per-cluster properties file ONLY.
    # For creating JDBC connection pools. This example shows a connection
    # pool called "oraclePool" that allows 3 T3Users "guest," "joe," and "jill"
    # to use 4 JDBC connections (with a potential for up to 10 connections,
    # incremented by two at a time, with a delay of 1 second between each
    # attempt to connect to the database), to an Oracle database server called
    # "DEMO." If more than 4 connections are opened, after 15 minutes, unused
    # connections are dropped from the pool until only 4 connections remain
    open.
    # Every 10 minutes, any unused connections in the pool are tested and
    # refreshed if they are not viable.
    #weblogic.jdbc.connectionPool.oraclePool=\
    # url=jdbc:weblogic:oracle,\
    # driver=weblogic.jdbc.oci.Driver,\
    # loginDelaySecs=1,\
    # initialCapacity=4,\
    # maxCapacity=10,\
    # capacityIncrement=2,\
    # allowShrinking=true,\
    # shrinkPeriodMins=15,\
    # refreshMinutes=10,\
    # testTable=dual,\
    # props=user=SCOTT;password=tiger;server=DEMO
    # Get more details on each argument for this property in the
    # Administrators Guide on setting properties at:
    # http://www.weblogic.com/docs51/admindocs/properties.html
    # Set up ACLs for this connection pool with the following:
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=everyone
    # guest,joe,jill
    #weblogic.allow.reset.weblogic.jdbc.connectionPool.oraclePool=\
    # joe,jill
    #weblogic.allow.shrink.weblogic.jdbc.connectionPool.oraclePool=\
    # joe,jill
    # This property is an ACL that specifies the users who can
    # create dynamic connection pools:
    #weblogic.jdbc.connectionPoolcreate.admin=joe,jill
    # Read more about setting up and using connection pools in the
    # developers guide for WebLogic JDBC at:
    # http://www.weblogic.com/docs51/classdocs/API_jdbct3.html#T5a
    # TBCN JDBC CONNECTION POOL MANAGEMENT
    weblogic.jdbc.connectionPool.oraclePool=\
    url=jdbc:oracle:thin:@202.109.102.151:1521:tbcn,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=2,\
    maxCapacity=10,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=tbcn;password=ca91768
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=everyone
    weblogic.jdbc.TXDataSource.oracleDataSource=oraclePool
    weblogic.jdbc.DataSource.oracleReadOnlyDataSource=oraclePool
    # WEBLOGIC DEMO CONNECTION POOL PROPERTIES
    # CLUSTER USERS: Note that ALL JDBC connection pools should be set up
    # in the per-cluster properties file ONLY.
    # This connection pool uses the sample Cloudscape database shipped
    # with WebLogic. Used by the EJBean, JHTML, JSP and JMS examples.
    # Uncomment to use:
    #weblogic.jdbc.connectionPool.demoPool=\
    # url=jdbc:cloudscape:demo,\
    # driver=COM.cloudscape.core.JDBCDriver,\
    # initialCapacity=1,\
    # maxCapacity=2,\
    # capacityIncrement=1,\
    # props=user=none;password=none;server=none
    # Add a TXDataSource for the connection pool:
    #weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.demoPool=demoPool
    # Add an ACL for the connection pool:
    #weblogic.allow.reserve.weblogic.jdbc.connectionPool.demoPool=everyone
    # WEBLOGIC HTTP SERVLET PROPERTIES
    # CLUSTER USERS: Note that ALL servlets should be set up
    # in the per-cluster properties file ONLY.
    # WebLogic offers different types of servlets for various uses.
    # Classpath servlet registration
    # The ClasspathServlet is used to serve classes from
    # the system CLASSPATH. It is used by applets to load
    # classes they depend upon, and is registered against
    # the virtual name 'classes' here by default. This means
    # you should set your applet codebase to "/classes".
    # You can register multiple virtual names for this servlet.
    # Note that it can also be used to serve other
    # resources/files from the system CLASSPATH.
    # Don't confuse the ClasspathServlet with the ServletServlet. The
    # ClasspathServlet is used for serving classes for client-side Java only.
    # The ServletServlet is used to invoke unregistered servlets.
    # See the Administrators Guide "Setting up WebLogic as an HTTP server"
    # http://www.weblogic.com/docs51/admindocs/http.html#classfile for more
    info.
    weblogic.httpd.register.classes=weblogic.servlet.ClasspathServlet
    # We also set an open ACL for everyone to call the ClasspathServlet
    # so that applets work without requiring further changes.
    weblogic.allow.execute.weblogic.servlet.classes=everyone
    # File servlet registration
    # FileServlet searches below the documentRoot for the requested file
    # and serves it if found. If the requested file is a directory,
    # FileServlet will append the defaultFilename to the requested path
    # and serve that file if found.
    weblogic.httpd.register.file=weblogic.servlet.FileServlet
    weblogic.httpd.initArgs.file=defaultFilename=index.html
    weblogic.httpd.indexFiles=zh_TW/index.htm
    # ServerSideInclude servlet registration
    # SSIServlet searches below the documentRoot for the
    # requested .shtml file and serves it if found.
    weblogic.httpd.register.*.shtml=weblogic.servlet.ServerSideIncludeServlet
    # Example URL: http://localhost:7001/portside/welcome.shtml
    # for the file /weblogic/myserver/public_html/portside/welcome.shtml
    # PageCompileServlet (used by JHTML)
    # See the information below under WebLogic JHTML
    # JSPServlet (used by JSP)
    # See the information below under WebLogic JSP
    # ServletServlet registration
    # Allows unregistered servlets in the servlet classpath (see Servlet
    # reload properties below) to be r

  • HOW TO SET RESCETRSION PASSWORD FORGET

    hOW TO SET RESCETRSION PASSWORD FORGET

    Try:
    security passwords min-length
    I'm not positive if it's supported in your version of IOS-XE but it is in some.

  • Need to set a password for safari

    I would appreciate any assistance in setting a password with Safari.
    thank you

    Actually you can set a password, but the way to do it is a bit awkward.
    Set up a separate user account and then using parental controls, set limitations for Safari.
    We did this for my son(teenager) so he could only be on the internet while we are home.
    When he tried to access Safari and a few other applications, it prompts for the Administrator name and password to allow access.
    I hope this has helped.
    Adam

  • Oracle11r2/Solaris10 Problem startup script "insufficient privileges"

    Hi,
    I have a problem with my startup script. i think that is the permissions but i dont know.
    When i run the script as oracle user, the script runs ok. But when i reboot the system the log showme error with "insufficient privileges".
    This is my script.
    +# more dbora+
    +#!/usr/bin/bash -x+
    +#/bin/sh -x+
    +#+
    +# Change the value of ORACLE_HOME to specify the correct Oracle home+
    +# directory for your installation.+
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    +#+
    +# Change the value of ORACLE to the login name of the+
    +# oracle owner at your site.+
    +#+
    ORACLE=oracle
    +PATH=${PATH}:$ORACLE_HOME/bin+
    HOST=`hostname`
    PLATFORM=`uname`
    ORACLE_SID="orcl"
    export ORACLE_HOME PATH ORACLE_SID
    case $1 in
    +'start')+
    sleep 3
    +# rsh $HOST -l $ORACLE -n "$ORACLE_HOME/bin/dbstart $ORACLE_HOME &"+
    +# su - oracle -c "$ORACLE_HOME/bin/dbstart"+
    +# $ORACLE_HOME/bin/dbstart "+
    +$ORACLE_HOME/bin/dbstart $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl start &+
    +$ORACLE_HOME/bin/emctl start dbconsole &+
    +;;+
    +'stop')+
    +$ORACLE_HOME/bin/dbshut $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl stop &+
    +$ORACLE_HOME/bin/emctl stop dbconsole &+
    +;;+
    +*)+
    +echo "usage: $0 start"+
    +exit+
    +;;+
    +esac+
    +exit+
    +#+
    +# ll /etc/init.d/dbora+
    +-rwxr-x--- 1 root dba 1185 Apr 20 10:33 /etc/init.d/dbora+
    +#+
    +# ll /etc/rc3.d/+
    +total 42+
    +...+
    +...+
    +lrwxrwxrwx 1 root root 17 Apr 20 10:30 K01dbora -> /etc/init.d/dbora+
    +lrwxrwxrwx 1 root root 17 Apr 19 17:04 S99dbora -> /etc/init.d/dbora+
    +#+
    +# more /var/opt/oracle/oratab+
    +orcl:/u01/app/oracle/product/11.2.0/db_1:Y+
    +other:/u01/app/oracle/product/11.2.0/db_1:Y+
    +#+
    +# more /etc/group+
    +...+
    +...+
    +oinstall::100:oracle+
    +dba::101:oracle+
    +#+
    I try with su - oracle -c "command" in the script but doesnt work (the oracle doesnt startup and startup log dont show nothing).
    I dont know whats the problem. I will thank you for your help.
    Thanks.
    ========
    startup log from the init.d:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:25 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:26 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> + export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:27 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:27 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> ERROR:+
    +ORA-01031: insufficient privileges+
    +SQL> ORA-01031: insufficient privileges+
    +SQL> + '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+
    =============
    if i run the script as oracle user this is the log:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/opt/csw/bin:/usr/openwin/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:39:17 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:39:17 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> Connected to an idle instance.+
    +SQL> ORACLE instance started.+
    +Total System Global Area 3374866432 bytes+
    +Fixed Size 2152768 bytes+
    +Variable Size 1845495488 bytes+
    +Database Buffers 1493172224 bytes+
    +Redo Buffers 34045952 bytes+
    +Database mounted.+
    +Database opened.+
    +SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production+
    +With the Partitioning, OLAP, Data Mining and Real Application Testing options+
    ++ '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+

    Hi,
    thanks for your reply.
    I found the problem.
    In my script, i change this:
    # su - oracle -c "$ORACLE_HOME/bin/dbstart"
    by this and its work (without "-")
    # su oracle -c "$ORACLE_HOME/bin/dbstart"
    Thanks...

Maybe you are looking for