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.

Similar Messages

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to enable root on mac on 10.9.2 and how to set the password for the same ?

    how to enable root on mac on 10.9.2 and how to set the password for the same ?

    http://support.apple.com/kb/ht1528
    Follow the steps for Lion.
    But, why are you doing this? I've never found the need to do that.

  • How to set the password to folder

    Hi,
    iam using Windows98 operating system but we want set password to folder using java. if any possiblities? pls
    help me.

    netcom_ wrote:
    Hello, I have the same problem of you "set the password to folder" but I don't understand the solution from the discussion can you help me how can I get this solution.please I need this urgent.thank youDon't resurrect old threads. This thread is about 8 years old, I'm locking it.
    Kaj

  • 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?

  • I have NDS 4.16, and I have iMS 5.1 running on Sun, Solaris 8. I want to know how can I add users using the command line instead of the console. My problem is how to set the password to this user?

     

    You can use ldapmodify found in <ServerRoot>/shared/bin
    for example
    ./ldapmodify -h ldaphost -D "cn=directory manager" -w password -f <name of LDIF file>
    Here's an example LDIF file
    dn: uid=cms,ou=people,o=balius.com,o=Universe
    changetype: add
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: inetUser
    objectClass: ipUser
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    objectClass: nsManagedPerson
    objectClass: userPresenceProfile
    cn: Chad M. Stewart
    sn: Stewart
    initials: CMS
    givenName: Chad
    pabURI: ldap://host:389/ou=cms,ou=people,o=balius.com,o=Universe,o=pab
    mail: [email protected]
    mailDeliveryOption: mailbox
    mailHost: my.mailhost.com
    uid: cms
    dataSource: Chad by hand
    userPassword: users-password-here
    inetUserStatus: active
    mailUserStatus: active
    mailQuota: -1
    on a subsequent search you'd see something like
    userpassword: {SHA}S3e+L/K6

  • 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.

  • How to set a password's user in active directorywith jndi?

    hi,
    please, i want to see how to set the password of a user, and i want to ask about ssl if i must use it if want to change the password, please can you give a code example.
    thank you.

    Hi,
    Check the second post at
    http://forum.java.sun.com/thread.jsp?forum=51&thread=229192&start=15&range=15&hilite=false&q=
    -Amol

  • Set the password for zip file in unix

    Hi All,
    I have used the below command to zip the file and it is working fine.
    cd /YYYY;zip -r ZZZZ.zip ZZZZ.TXT
    While using the below command to set the password on zip file , I am getting error like "zip error: Invalid command arguments (encryption not supported)
    zip -P password -r ZZZZ.zip ZZZZ.TXT
    Can you please help me how to set the password for zip file in UNIX.
    Thanks,

    Do you use any characters in the password that might confuse the zip command? (like '-' or ';'?)
    If I use the command in RHEL4:
    cd /tmp
    zip -P password -r tt.zip gconfd-oracle
    adding: gconfd-oracle/ (stored 0%)
    adding: gconfd-oracle/lock/ (stored 0%)
    adding: gconfd-oracle/lock/ior (deflated 67%)

  • I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining. so i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password.

    I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining.
    So i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password please.
    I am currently in safe mode, otherwise I can't log on to mymac
    Please help, anyone

    thank you to all who responded. the final line was that I had to reboot and loss all of my info.
    this was per apple store intelligence.

  • How does one set a password a start-up?

    My mac book pro with retina display is operating on OS X Version 10.9.2 and it was built in 12/2012.  How do I set a password at start-up?  The answers I find on line are for older mac book pros and haven't helped me.  Thanks in advance.

    Have you tried going to System Preferences > Users and Groups and set a password for each user on the system?
    Did you setup this MacBook Pro out of the box without any user accounts or passwords?

  • ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    The jewish calendar does not have names for the days of the week. The week ends with the holy Sabbath (Saturday) and therefore the Sunday is the first days after Sabbath (Yom Rishon), the Monday the second day after Sabbath (Yom Sheini), etc.
    The Christians believe that Christ was raised on the first days of the week (Mathew 28:1, et al) AFTER the Sabbath was over. So their holy day is the Sunday and the working week starts on a Monday.
    The business days in the western world are numbered starting with the Monday as day number 1 (Timetables of Airlines, Calendars, even Microsoft Windows...).
    Unfortunately in the United States religious freedom extends to a level which is not understood easily by the rest of the world. Since the MAC OS X allows to change the first day from a Sunday to a Monday, one might wonder why Apple decided to give the iPhone a jewish touch.
    It could be supposed that this is the way of the least resistance. Only few complain about this issue, but if it were the other way around a lot of people would complain...
    PS: I agree with the others here: It is very, very annoying and more than once I entered an appointment into the wrong day...;-)

  • How to set the domain of a cookie in localhost environment

    in some scenario i have to set the domain of cookie on my local environment,
    how can be done?????????????
    i.e http://localhost:7001/myapp/testservlet
    how to set the cookie domain for "myapp"

    Hi
    After Some googling I could find out this for you. I think it is a bug with IE.
    http://www.webmasterworld.com/forum21/11530.htm
    The idea is to use a virutal host.
    HTH
    VJ

  • Firefox 4.01. I wish to have "Mozila Firefox S tart Page" as Start Page. I have used "How to set the home page" (tools, options, general, restory to default) but no result.

    # Numbered list item

    The part you are probably missing is
    When Firefox starts: "Start my Home page" (in the dropdown)
    the installed default home page is about:home in Firefox 4, but simply choose the "Restore to Default",
    then click on the "OK".
    see [https://support.mozilla.com/kb/How%20to%20set%20the%20home%20page How to set the home page | How to | Firefox Help]
    If that is not working then try instructions , and following the instructions suggest taking a picture of your toolbars first, so that you will be able to recustomize your toolbars afterwards, see [http://kb.mozillazine.org/Corrupt_localstore.rdf Corrupt localstore.rdf - MozillaZine Knowledge Base]
    After resetting, continue with [http://kb.mozillazine.org/Toolbar_customization Toolbar customization - MozillaZine Knowledge Base] and if you used small icons -- don't forget the checkmark for that in the dialog.

  • A friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as yahoo address is no longer valid. Erasing the phone doesn't solve the issue. How to register the phone with Apple?

    A computer illiterate friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as his yahoo address is no longer valid. Erasing the phone doesn't solve the issue as the Apple server identifies the hardware as registered. How to register the phone with Apple?
    I helped him create a new email address and new iCloud account on my Mac but when we try to register the phone with Apple it says: Maximim accounts limit reached for this device. How can he register the phone? I read different threads and found out that only Apple care can do that. We're in Romania and don't know where to call. Any suggestions on how we fix this?

    When I checked the support site for Romania, you apparently don't have an Apple Care contact center.  You "may" try calling the US Apple care number to verify the account and have the password reset sent to a different email address.  800-694-7466

Maybe you are looking for