Welcome to the most active Linux Forum on the web.
Go Back > Blogs > zhjim
User Name


Uncategorized Entries with no category

Writing a thread and finding the answer before actually posting it.

Posted 08-13-2012 at 07:16 AM by zhjim

I was about to start a thread about a problem I had with a "account" inside cyrus imap software. But like it sometimes is when you tell some your problem the solution just becomes obvious. This is one of those days. Just for anyone actually reading this heres the story.

This is the post I had written.

Hi folks,

I am trying to delete a user within cyradm to now availe. I know that I have to give me the appropriate right as the admin user of
Senior Member
Posted in Uncategorized
Views 436 Comments 0 zhjim is offline


Posted 06-25-2012 at 03:38 AM by zhjim
Updated 07-08-2013 at 08:55 AM by zhjim

Some reminders what can be done with ssh

Use password also we have a key login
ssh -o 'PubkeyAuthentication no' user@host
Notes for sshd:
Keybased login counts as one Authtry. Even when no key is used. That means when using MaxAuthTries 1 in sshd_config one needs to use -o 'pub...' with ssh client to even get to the password prompt. Or use PreferredAuthentication Password option for the client. This way it starts right away with password prompt. (No need...
Senior Member
Posted in Uncategorized
Views 511 Comments 0 zhjim is offline

Merging two log files

Posted 11-14-2011 at 05:52 AM by zhjim

Today I needed to merge two log files in cronological together. Heres my way about.

copy the two files to one host. (scp file name@server:~userhome
get the hostname infront of each line. (sed -i s/^/hostname/g first_file; ...)
cat ./first_file ./second_file | sort -k 3 > ./new_log

-k in sort stands for key. In my turn the datetime was the third field.

Get some color into the diffrence hostsnames.
Senior Member
Posted in Uncategorized
Views 527 Comments 0 zhjim is offline

Script to create a modified xen domU

Posted 02-04-2010 at 04:06 AM by zhjim

Just for me and all that can use it. Heres a script I wrote to create a domU filesystem from a directory. All values are taken from the xen config script for the domU and are later sed'ed.

if [ $# -ne 1 ]; then
        echo "Usage: $0 /path/to/domU_config " #/dev/name | /path/to/dir"
        exit -1


#HOSTNAME=$(grep "name" $CONF)
Senior Member
Posted in Uncategorized
Views 791 Comments 0 zhjim is offline

Apache2.2 ab with ssl

Posted 08-24-2009 at 04:54 AM by zhjim

For all of you who wonder why ab (a.k.a apachebenchmark) gives an error like this
SSL not compiled in; no https support
I finally found out how to enable ssl support in ab.

Here are two minimal configuration options for the httpd-2.2.13 from

With working ssl-ab
./configure --with-ssl --enable-ssl --with-mpm=prefork --prefix=/home/ase/non/install --with-mods-shared=most
Without working ssl-ab
./configure --with-ssl
Senior Member
Posted in Uncategorized
Views 3759 Comments 0 zhjim is offline


All times are GMT -5. The time now is 10:07 PM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration