Better openerp-server init.d script, for ennhanced Monit/d behavior

simple

December 6, 2012

Linux

No Comment

This script was taken from the default distributions openerp-server init.d script and mainly modified for improved Monit/d behavior. The main problem was that sometimes the openerp-server could not be reliable shutdown – as a result a manual kill had been necessary. This should be now addressed with the following script: [crayon-59eb03e821f02324088964/]

Read More

VirtualBox: VMDK and VDI conversion and resize

Since VirtualBox 4.0 it is possible to resize vdi disk images, that is quit simple using the following command: [crayon-59eb03e822d1f581380670/] SIZE_IN_MB reflects the new disk size so if you want to increase your image to 25GB, just use: [crayon-59eb03e822d26241593855/] Sometimes it happens that you do not use a vdi with VirutalBox, but a VMWare Image […]

Read More

UNIX: Jailkit – jk_init, jk_chrootsh

simple

January 25, 2012

Linux

No Comment

Sometimes you do not want to have users bugging around with your server, but only set up a shell environment where they can work. The answer for Solaris, many Linux distributions, OpenBSD, FreeBSD and MacOSX is plain and simple JailKit. Install it using the package manager of your favorite distribution or download the source from: […]

Read More

ISPConfig3: Mail aliases for login to Dovecot

If you knew ISPConfig2 you probably remember the user login approach which was done there: [crayon-59eb03e822f50257903451/] Now with ISPConfig3 this has changed to the better by using the users email address – sounds cool – it is! But what about migration from ispconfig 2 to ispconfig 3 – you do not want to drive around […]

Read More

Mac OS X: Ever wanted to integrate your Macs in a Active Directory environment with Two-factor authentication (Part 1)?

Simple AD Integration using knowledge as authentication key, is for some data to protect not enough. So if you want to raise the bar you add ownership (Smartcard, USB Dongle, e.g.) to the knowledge only authentication system. So first stone on your way if you use Snow Leopard, you have to be aware that the […]

Read More

Terminal: Search and Replace text in all files in a folder and its subfolders

I just stumbled across a neat idea using perl to replace the content in files To replace all occurances of a string: find ./ -name “*.txt” | xargs perl -pi -e ‘s/stringtoreplace/replacementstring/g’ for every of these examples you can also use sed find ./ -name “*.txt” | xargs sed -i ‘s/stringtoreplace/replacementstring/’ or rpl rpl stringtoreplace […]

Read More

Fix Unknown User ACL

simple

January 23, 2008

Mac OS X

No Comment

Log in as an administrator. Open Terminal (in /Applications/Utilities). Type the following commands, each on a single line and followed by Return (enter an admin password when prompted): sudo dscl . create /Groups/username GroupMembership username sudo dscl . change /Groups/username RecordName username _username Replace the italicized “username” with your account username (which is also the […]

Read More

Terminal: Dealing with Immutable Files and Folders

If you have followed all the advice in the Knowledge Base articles “Mac OS X: About Trash, Deleting Locked Files – Article ID:106272” and “Mac OS X: Troubleshooting Permissions Issues” and are still unable to empty the Trash, or move an item to the Trash, you may have an immutable flag set on one of […]

Read More

Terminal: Secure Terminal.app

Some month ago I added a post to heise.de, how to secure the Mac OS X terminal.app. Now I found it mentioned on macosxhints.com – wao how amazing the internet is 😉 http://www.macosxhints.com/article.php?story=20060222011953661

Read More

Mac OS X: Screensaver crashes – lookupd problem?

Seems to be that sometimes lookupd crashes and thus the Mac OS X System becomes unresponsive. This bug is around for years now – funny thing is that I never ever ran into it – but after my girl is now using the system for vb.net development – she ran into it four times.So good […]

Read More

RSS RSS Feed

  • An error has occurred, which probably means the feed is down. Try again later.

Categories

Tags