Home     About Us     RSSRSS

Zimbra: How to Reset an User or Administrator password

October 4, 2016 by @HKw@! | No Comments | Filed in Email

zimbra_identity_color_highres-png-440pxUser forgot their email password is a very common IT Support case. In Zimbra mail server, changing email password can be easily done with Admin Console. How about email administrator lost their administrator password? Without Administrator password, you unable to login to Admin Console to reset password. So, is there any way to reset it?

The answer is yes. Below are the few steps show you how to change password for  user or Administrator using CLI.

A) SSH to your email server

B) login as zimbra user

su - zimbra

C) Use command line utility (CLI) zmprov setpassword to reset password


zmprov sp <admin email address> <new password>


zmprov sp adminname@domain.com password

After changed, try to access Admin Console with new password, it should work now 🙂

Cpanel: Website show 403 Forbidden Error

April 16, 2016 by @HKw@! | No Comments | Filed in centos, Control Panel, Cpanel, Linux

I just received a complain from my customer said that he unable to view his website from the web browser. It show Error 403 Forbidden.

403 Forbidden Error

As mention by my customer, he created the account vis cPanel and restored the backup file from
previous hosting. All files are owned by user terminal and group terminal. Directory and file
permission should be correct as they’re carried over from the previous hosting.

I tried to check logon to the server to do further checking. I notice that the ownership of the public_html folder is not set correctly

[19:23:22 cpanel root@7520653 /home/terminal]cPs# ll |grep public_html
drwxr-x---   6 terminal terminal 4.0K Apr 15 18:01 public_html/

Permission for public_html were set to user.user instead of user.nobody. I proceed to change the ownership to terminal.nobody

[19:26:00 cpanel root@7520653 /home/terminal]cPs# ll |grep public_html

drwxr-x---   6 terminal nobody   4.0K Apr 15 18:01 public_html/

After did the changed, the website able to load.

As summary, public_html ownership and permission should set to 0750 and username.nobody. Subfolder inside public_html no need to do any change.




April 2, 2016 by @HKw@! | No Comments | Filed in centos, Debian, Fedora, Linux, RedHat, Ubuntu

When i transfer my private key file to my new Mac OS X, i got an error message below:-

lims-air:~ techkaki$ ssh techkaki@ns1.test.my
Permissions 0755 for ‘/Users/techkaki/.ssh/id_rsa’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /Users/techkaki/.ssh/id_rsa
techkaki@ns1.test.my’s password:

If you are getting this error then you probably reset the permissions on your hidden .ssh directory in your user folder.

So, the solution for this is, make that file(id_rsa) readable or writable only for the owner with private key. Below is the command

sudo chmod 600 ~/.ssh/id_rsa

After change the permission, my problem is solved.