Results 1 to 4 of 4

Thread: "zimbra" user password change

  1. #1
    Join Date
    Mar 2011
    Location
    Gloucestershire, England
    Posts
    70
    Rep Power
    4

    Default "zimbra" user password change

    Hi

    I've searched the forums for an answer to this but all the threads I've found say you don't need to change/know the 'zimbra' user password.

    So, here is my problem. I've just upgraded my ZCS OSE 7.0 installation to ZCS OSE 7.1.1 and wanted to run the commands to recreate my self signed certs. In the release notes is says use the commands:
    Code:
    sudo zmcertmgr createca -new
    sudo zmcertmgr deployca
    sudo zmcertmgr deploycrt self -new
    I've used sudo -s to get to root and then su - zimbra to get to the zimbra user but the problem is when you use sudo it prompts for the password of the zimbra user which I don't know. If you try to run the commands without sudo it says "This command needs to be run as user root".

    The release notes say "After you upgrade, the following commands run as the zimbra user will regenerate the self-signed SSL certificates".

    Can someone help me out here please? I'd like to know if it's OK to change the zimbra user password and if I do change it what is it going to break?

    Thanks in anticipation.
    Bryn

  2. #2
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by ukturtle View Post
    Hi

    I've searched the forums for an answer to this but all the threads I've found say you don't need to change/know the 'zimbra' user password.

    So, here is my problem. I've just upgraded my ZCS OSE 7.0 installation to ZCS OSE 7.1.1 and wanted to run the commands to recreate my self signed certs. In the release notes is says use the commands:
    Code:
    sudo zmcertmgr createca -new
    sudo zmcertmgr deployca
    sudo zmcertmgr deploycrt self -new
    I've used sudo -s to get to root and then su - zimbra to get to the zimbra user but the problem is when you use sudo it prompts for the password of the zimbra user which I don't know. If you try to run the commands without sudo it says "This command needs to be run as user root".

    The release notes say "After you upgrade, the following commands run as the zimbra user will regenerate the self-signed SSL certificates".

    Can someone help me out here please? I'd like to know if it's OK to change the zimbra user password and if I do change it what is it going to break?

    Thanks in anticipation.
    Bryn

    Hi,

    you can try running the following command as root:
    Code:
    /opt/zimbra/bin/zmcertmgr createca -new
    /opt/zimbra/bin/zmcertmgr deployca
    /opt/zimbra/bin/zmcertmgr deploycrt self -new
    Could this solve your issue?

    Regards

  3. #3
    Join Date
    Jul 2011
    Posts
    24
    Rep Power
    4

    Default

    I don't get prompted for a password for the zimbra account when I do an su - zimbra.

  4. #4
    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    3

    Default prompted for zimbra password on upgrade

    I keep getting prompted for zimbra password whenever I try to run the install script.

    I have run these commands as sudo (root) and and from an sudo su - zimbra shell.(zimbra)
    [root@zimdev-mbox ~]# zmcertmgr createca -new
    ** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done
    ** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done.
    ** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done.
    [root@zimdev-mbox ~]# zmcertmgr deployca
    ** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done.
    ** Saving global config key zimbraCertAuthorityCertSelfSigned...failed.
    ** Saving global config key zimbraCertAuthorityKeySelfSigned...failed.
    ** Copying CA to /opt/zimbra/conf/ca...done.
    [root@zimdev-mbox ~]# sudo su - zimbra
    [zimbra@zimdev-mbox ~]$ zmcertmgr deployca
    /opt/zimbra/bin/zmcertmgr must be run as user root
    [zimbra@zimdev-mbox ~]$ exit
    logout
    [root@zimdev-mbox ~]# zmcertmgr deploycrt self -new
    Can't deploy cert for -new. Unknown service.
    [root@zimdev-mbox ~]# sudo su - zimbra
    [zimbra@zimdev-mbox ~]$ zmcertmgr deploycrt self -new
    /opt/zimbra/bin/zmcertmgr must be run as user root
    [zimbra@zimdev-mbox ~]$ exit
    logout
    [root@zimdev-mbox ~]# ps
    PID TTY TIME CMD
    6134 pts/0 00:00:00 ps
    25659 pts/0 00:00:00 bash
    [root@zimdev-mbox ~]# whoami
    root

    Why does this "zmcertmgr deployca" fail when run as root?

    Can anybody suggest something else?
    {I am very new at this and I am playing on a single server sandbox trying to upgrade from 6.0.14 to 6.0.15 }

    Thanks in advance for any help or suggestions you can offer?
    Do I just need the password for zimbra?

Similar Threads

  1. Cannot change user password by any method
    By ptakers in forum Administrators
    Replies: 1
    Last Post: 06-27-2011, 09:07 AM
  2. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  3. Change User Password
    By tharangamu in forum Administrators
    Replies: 3
    Last Post: 03-05-2008, 06:49 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. SSH Zimbra User Password - need to change
    By FastEddy760 in forum Administrators
    Replies: 2
    Last Post: 05-25-2006, 10:34 AM

Posting Permissions

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