Results 1 to 2 of 2

Thread: Obtaining zimbra user command line access in the ZCA

  1. #1
    zelthian's Avatar
    zelthian is offline Trained Alumni
    Join Date
    Dec 2010
    Posts
    10
    Rep Power
    4

    Default Obtaining zimbra user command line access in the ZCA

    Note: I used the .vmx version of the Zimbra Appliance in VMware Fusion. I assume you have the appliance up and running before you try this.

    Prep: Enable ssh access

    1) Log into the console as the vmware user
    2) Type: sudo ufw disable
    3) Type in the vmware user password when prompted
    4) edit the /var/lib/ufw/user.rules file (using sudo), adding a line under "### RULES ###" identical to the other lines but indicating port 22
    5) Once the file is saved, type: sudo ufw enable
    6) Log out of the console


    Getting access to the zimbra user

    1) SSH to the zimbra server (or log into the console) as the vmware user
    2) Type: sudo passwd zimbra
    3) Type in the vmware user password when prompted
    4) Type in the password you want for the zimbra user (prompted twice)
    5) You can now use "su - zimbra" to get command line access to the zimbra user


    This will allow you to configure the zimbra appliance for functions that aren't available in the gui and require the command line tools (run as the zimbra user) to configure. What you are doing is allowing tcp port 22 (ssh) in UFW (Uncomplicated FireWall), then using the passwd command with sudo to reset the zimbra user password. Don't just use "sudo ufw allow 22"; this will overwrite the user.rules file (for some reason) and when you reboot, only port 22 will be open.

  2. #2
    foodandbikes is offline Junior Member
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    3

    Thumbs up

    This post is a GOLD NUGGET!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  4. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •