zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Usermod command

March 22, 2011 by Igor Drobot Leave a Comment

Manpages are great!
Disable ssh login:

1
usermod -s /bin/false username

usermod -s /bin/false username

Change home directory:

1
usermod -d /home/users/newpath/ username

usermod -d /home/users/newpath/ username

Filed Under: Bash, Debian, Linux Tagged With: usermod change home, usermod change shell

Ubuntu: freenx server installation

March 16, 2011 by Igor Drobot Leave a Comment

Next Generation Remote Display – NX is an exciting new technology for remote display. It provides near local speed application responsiveness over high latency, low bandwidth links.

Was tested on Ubuntu 10.10 Codenamed “Maverick Meerkat”. Works on Debian 6 too;)

Edit your source list or create a new one:

1
vim /etc/apt/sources.list.d/freenx.list

vim /etc/apt/sources.list.d/freenx.list

[Read more…]

Filed Under: Debian, Linux, Ubuntu Tagged With: freenx, Nomachine, nx-server

DRBD set sync speed

March 15, 2011 by Igor Drobot 1 Comment

The default sync rate is normally defined in your drbd configuration (mostly /etc/drbd.conf)

1
2
3
syncer {
    rate 100M; 
}

syncer { rate 100M; }

If you are setting up a virtual machine on drbd cluster you need to produce more I/O and your physical machines are under heavy load. You can stop some services or you can reduce the sync rate.

Set temporary sync rate:
You need to issue this command only on one of your nodes!

1
root@drbd-node1:~# drbdsetup /dev/drbd0 syncer -r 10M

root@drbd-node1:~# drbdsetup /dev/drbd0 syncer -r 10M

Enjoy the easy solution;)

Filed Under: Debian, Linux Tagged With: DRBD, drbd speed, drbd syncer

How to reset KWallet password

February 18, 2011 by Igor Drobot 3 Comments

The problem: you start a typical KDE application like Kmail and it requires your kwallet master password.

You forgot it?! – No problem!
The solution is very easy: To reset your KWallet password, delete the kwalllet PW-database.

1
rm ~/.kde/share/apps/kwallet/kdewallet.kwl

rm ~/.kde/share/apps/kwallet/kdewallet.kwl

Filed Under: Debian, Linux Tagged With: KDE, Kwallet, password

tty1: input overrun

February 14, 2011 by Igor Drobot 2 Comments

Some days ago I get logcheck System Events.

It was a remote Debian Lenny Server with some strange messages:

Feb 9 09:16:51 server getty[27096]: tty1: input overrun
This message means that someone is tipyng on the keyboard.

Stupid cat. Stay off my keyboard! :D

There was a USB keyboard, all keyboard and mice devices are listed here:
/dev/input/

Filed Under: Debian, Kernel Tagged With: Debian, input overrun

  • « Previous Page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 17
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok