Quote:
Originally Posted by peterro When I look at the messages file I see the following error when I attempt to view the mail queues:
Mar 15 11:05:09 mail1 sshd[5545]: User zimbra not allowed because account is locked
Mar 15 11:05:09 mail1 sshd[5545]: Failed none for invalid user zimbra from 172.16.32.8 port 39941 ssh2. |
User zimbra not allowed because account is locked..
To verify this, as root check /etc/shadow. Locate the zimbra account. If the account has one or more*! in the line then the account is locked. zimbra:!!:13634:0:99999:7:::
Use this command to unlock the zimbra account (or you can edit the shadow file directly and remove them).
usermod -U zimbra
Then check /etc/shadow again, there should be no*! for the zimbra account. You may need to do this multiple times to remove the*! and unlock the account.
Once the account is unlocked, this command should work (it did for us!).
ssh -i .ssh/zimbra_identity -o strictHostKeyChecking=no
zimbra@MAIL.DOMAIN.COM Mail Queue Monitoring - Zimbra :: Wiki