Results 1 to 5 of 5

Thread: Admin password choice

  1. #1
    Join Date
    Oct 2005
    Posts
    2
    Rep Power
    9

    Default Admin password choice

    Just installed Zimbra and found that the zimbra does not like the character "(" in the password string. Has anyone seen this problem?

    Following is the install log:

    COMMAND: zmprov ca admin@mailbox.iron-const.com ******)* zimbraIsAdminAccount TRUE
    -bash: -c: line 0: syntax error near unexpected token `)'
    -bash: -c: line 0: `zmprov ca admin@mailbox.iron-const.com ******)* zimbraIsAdminAccount TRUE'
    COMMAND: zmprov aaa admin@mailbox.iron-const.com postmaster@mailbox.iron-const.com
    ERROR: account.NO_SUCH_ACCOUNT (no such account: admin@mailbox.iron-const.com)
    COMMAND: zmprov ms mailbox.iron-const.com zimbraSmtpHostname mailbox.iron-const.com

    Note I have replaced much of the password with * except for the "(" character. The password is 8 characters long.

    Thanks in advance for any help on this!

  2. #2
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    9

    Default

    Quote Originally Posted by cliodaddy
    Just installed Zimbra and found that the zimbra does not like the character "(" in the password string. Has anyone seen this problem?

    ...

    Note I have replaced much of the password with * except for the "(" character. The password is 8 characters long.
    Yeah, it looks like the installer doesn't like that so much...

    You can set the admin password to contain a ')' after the installation is complete.

    It looks like the admin account didn't get added. Probably the simplest way to move forward would just reinstall (or add the admin account manually if you want, but reinstalling would ensure this is done correctly :-)

    During the installation, pick a simple password... perhaps "123456" (what an idiot would use on his luggage).

    When the installation is complete, go ahead and change it. You can log into your Linux box as root, then type "su - zimbra". at that point, type the following command:

    zmprov SetPassword admin@mailbox.iron-const.com '1234567)'

    Substituting the password you want for what I put in above... but the key here is that you have to put the password within "ticks" (apostrophes). The ticks do not become part of the password, they simply prevent bash from trying to do anything funky with your password.

    That should work for you.

    Have a good one,
    -Eric

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Bug 4318 filed

  4. #4
    Join Date
    Oct 2005
    Posts
    2
    Rep Power
    9

    Default

    I ended up re-installing and using a different password. It worked fine this time around.

    Thanks for showing me the command to modify admin password though, it will come in handy. Quick question, does this command also create the admin account if the install process did not?

    Thanks!

  5. #5
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by cliodaddy
    I ended up re-installing and using a different password. It worked fine this time around.

    Thanks for showing me the command to modify admin password though, it will come in handy. Quick question, does this command also create the admin account if the install process did not?

    Thanks!
    You can use zmprov ca to create the account. The set password command only works if the account already is created.

Similar Threads

  1. Change admin password
    By tgx in forum Installation
    Replies: 1
    Last Post: 01-11-2007, 06:26 PM
  2. Zimbra Admin Account Password Recovery
    By nberlanga in forum Administrators
    Replies: 8
    Last Post: 11-28-2006, 02:52 PM
  3. How do I set Admin password?
    By sjames in forum Installation
    Replies: 4
    Last Post: 07-24-2006, 04:01 PM
  4. Installation OK...No Admin password or zmprov?
    By vangundypw in forum Installation
    Replies: 2
    Last Post: 07-05-2006, 06:45 PM
  5. change admin password
    By jakebriems in forum Installation
    Replies: 1
    Last Post: 03-31-2006, 05:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •