Browsed by
Tag: 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

Kubuntu Jaunty on Samsung NC10

Kubuntu Jaunty on Samsung NC10

A while ago I posted about how one can install Kubuntu on a netbook without cd-rom device. Although there were some issues on the NC10 still it worked pretty neat. Two days ago Kubuntu Jaunty (9.10) was released. I updated my NC10 with this version and this is what I discovered:

  • Video artifacts in KDE login screen disappeared
  • Speakers are muted when plugging in earphones
  • Getting Wifi to work is a lot harder than the old Kubuntu version (especially 802.1x). I have to use knetworkmanager to make it work (sometimes it does not work at all).
  • The screen brightness can be set with the slider of the energy widget.
The new Kubuntu
The new Kubuntu
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

Sync folders between linux servers using rsync

Sync folders between linux servers using rsync

I have my netbook, and I have a server. Now I want to sync files between these machines in order to keep a backup of all the documents of my netbook on the server. I found a page which explains how to sync between two servers. With a little tweak I created the command which I needed in order to sync the two folders.

$ rsync -avrR --links --rsh=/usr/bin/ssh ~/Documents/ home.basvandijk.eu:

In this command Documents/ is the documents folder in my home dir, home.basvandijk.eu is the server containing a Documents folder as well which is used to sync to.

  • -a enables archive mode
  • -v enables verbose mode
  • -r means recursive
  • -R means use relative paths
  • –links means copy symlinks as symlinks
  • -rsh specifies which remote shell to use