Browsed by
Category: Linux

Fixing Cyrus SASL(-13): authentication failure: checkpass failed error

Fixing Cyrus SASL(-13): authentication failure: checkpass failed error

The last few days I keep having trouble connecting to my imap server running Cyrus. I started to view my syslog when trying to authenticate to the Cyrus server, there was one line interesting:

Cyrus SASL(-13): authentication failure: checkpass failed error

I thought it should have something to do with the passwords so I tried to enter the Cyrus server with:

# cyradm localhost

When I entered my password I could not connect. This was weird since I was 100% sure about the correctness. To be sure I resetted all my imap box passwords using:

# saslpasswd2 username

This didn’t fix it either. Then I read on a website about the saslauthd daemon not running. I restarted the service and everything worked as normal 🙂 My guess is that an Ubuntu update stopped the saslauthd daemon but did not restart it.

Readout sensors of an EEE Box running Ubuntu server

Readout sensors of an EEE Box running Ubuntu server

Quintin, a friend of mine, showed me a way to readout the sensors of my EEE Box in Ubuntu server.

The first step is to install the lm-sensors package

$ sudo apt-get install lm-sensors

Then you need to load the w83627ehf kernel module using

$ sudo modprobe w83627ehf

In order to have your sensors detected launch the command below and follow the steps shown (basically you can just press [enter] to each question).

$ sudo sensors-detect

Now you can readout your sensors by using the command

$ sensors

Remember if you want to load the w83627ehf module every time the sysem reboots, you need to update your /etc/rc.local with the line:

modprobe w83627ehf
readout of my sensors
readout of my sensors
Set Xubuntu splash

Set Xubuntu splash

I wanted to switch from Kubutu to Xubuntu, this all went fine except the splash screen. The startup splash still was the Kubuntu one. In order to change this to the following:

$ sudo update-alternatives –config usplash-artwork.so

Select the option of your Xubuntu splash screen. Reload the spash with:

$ sudo dpkg-reconfigure usplash

Picture 4

Disable root login for ssh server in Kubuntu

Disable root login for ssh server in Kubuntu

If you are a hacker, what is the thing you want to be on a Linux System? Root. You can try to access a ssh server with the root user. There is an option in the ssh server configuration which prevents a remote root login. This does not mean you can not become root, it means no one can directly login as the root user. So if you are logged in as Alice you can simple enter the “su” command to become root.

How we can prevent the remote root login is described below.

root

Read More Read More

Samsung NC10’s Kubuntu finally mutes speakers when using headphone

Samsung NC10’s Kubuntu finally mutes speakers when using headphone

When I bought my Samsung NC10, I noticed some weird behaviour of the sound card; when I plugged in my headphone the speakers still played sound as well. This morning I updated my Kubuntu running Samsung NC10 with a new kernel: 2.6.27-11-generic. After a reboot  I noticed I finally had a headphone slider in KMixer.

kmixer
KMixer

Read More Read More

Howto install OpenVPN on Ubuntu server tutorial (and connect from OSX clients)

Howto install OpenVPN on Ubuntu server tutorial (and connect from OSX clients)

I have three computers: MacBook Pro, Netbook and a PC. They all have their own data. It would be very nice if I had all my files on just one location (e.g. my server). The only problem is: how do I access these files in a secure way. SSH is an option, but does not quite fit my needs. The solution: NFS over a VPN. NFS fulfilled all my needs, but I do not want to open NFS to whole world through my router.

A VPN, gives me access to my home network and makes it possible for me to access all my files in a secure way. My server (an Asus EEE Box) runs Ubuntu Server, and there is a Linux version of OpenVPN! I thought installing OpenVPN should not be that hard; I just need to find the right tutorial.

openvpn_logo

Read More Read More

Samsung NC10’s webcam works on Kubuntu!

Samsung NC10’s webcam works on Kubuntu!

Lately I was wondering if my Samsung NC10’s webcam worked under Kubuntu 8.10. I found this website which shows a tool called luvcview in order to show your webcam video. In order to install luvcview execute the following command:

# apt-get install luvcview

When the installation is done simply execute:

$ luvcview

Smile! 🙂

Webcam works!
Webcam works!