No Featured Image

Enable ssh root login on Cobalt RAQs

To enable root logins via SSH on a Cobalt RAQ, edit /etc/ssh/sshd_config and change “PermitRootLogin” to “yes”.
I needed to do this to allow Plesk to login to our old servers during the big migration, as it can’t login as admin, then su to root 🙁

No Featured Image

SpamAssassin: Can’t locate Mail/SPF/Query.pm

If you have SpamAssassin installed and see “Can’t locate Mail/SPF/Query.pm in @INC…” in your error logs, you need to install Mail::SPF::Query.
SpamAssassin uses SPF to detect header and email-source forgery – very important in determining … Read more »

No Featured Image

SpamAssassin: Can’t locate Mail/SPF/Query.pm

If you have SpamAssassin installed and see “Can’t locate Mail/SPF/Query.pm in @INC…” in your error logs, you need to install Mail::SPF::Query.
SpamAssassin uses SPF to detect header and email-source forgery – very important in determining … Read more »

No Featured Image

GPG: There is no assurance this key belongs to the named user

In GnuPG, if you get an error saying “There is no assurance this key belongs to the named user” when trying to encrypt, you need to sign the public key.
You can sign the key by typing “gpg –sign-key user-id” at the command prompt.
Footnote: I came across this whilst migrating our e-commerce system to a … Read more »

No Featured Image

Change default language in bash

To change the default language in the bash console (shell, terminal, command line – whatever you want to call it), go to your user home (e.g. /home/username/) edit or make a .bash_profile, and add this line to it:
export LANG=en
For some bizarre reason, our new dedicated server from 1and1 defaults to German feedback, which is really … Read more »