Sonntag, 24. Oktober 2010

Root User mit "su root" aktivieren

Um mit "su root" anmelden zu können, muss man den Benutzer in Wheel-Group eintragen. Dazu erst als Administrator in Shell anmelden. Bevor man sich in die Wheel-Gruppe eingetragen hat, geht das mit:

MacBookPro:~ user$ su [adminuser]

Admin-Passwort eintragen

MacBookPro:~ user$ sudo bash

Wieder Admin-Passwort eintragen.
Jetzt können wir uns in die Wheel-Gruppe eintragen. Dazu

bash-3.2# sudo /usr/bin/dscl . -append /groups/wheel GroupMembership [Benutzername]

Nun kann man als Nicht-Admin-User als root direkt anmelden, indem man

su root

ausführt. Das Passwort für root-User kann man übrigens nach dieser Anleitung unter Mac einlegen.

Samstag, 4. September 2010

How to uninstall McAfee SiteAdvisor Addon in Firefox on Mac

Recently I installed, for some testing issues, the add-on by McAffe, called SiteAdvisor. This add-on supposed to be a help for someone who wants to find out if a site he's visiting is safe. It is running in the background and check a site for some parameters such as downloadable files, pop-ups, advertising stuff, malware etc.

After some test I wanted to uninstall it and found out that the uninstalling button in the menu Add-ons is enabled:

After some recherché I found the application in my Applications folder. Thus to uninstall this add-on please follow these steps:

1. Close your Firefox Browser either by using the hot key cmd+Q or go to Firefox and click on "Quit Firefox" or "Firefox beenden" (for German)
2. Go to /Applications/SiteAdvisor . Double click on Uninstall.app
3. Follow the steps to uninstall the app, enter your admin password
4. Open your Firefox and make sure the addon is now uninstalled by clicking on Extras --> Add-ons

Ready!

Donnerstag, 21. Mai 2009

Unitex Install trick

For all computational linguists who want to use the tool Unitex 1.2 and install it on Mac OS X 10.5.7:
I don't know why the developers do not give informations about an error message on Mac OS X if you install it using the install instructions on the official website? This instructions seem to be useless for Mac users. Here is the right commando for install:

make install USE_TRE_LIBRARY=no install

Just use it instead of normal make install and Unitex 1.2 will run on your system properly :)

Donnerstag, 12. März 2009

UTF-8 for Term.app

defaults write com.apple.mail NSPreferredMailCharset "UTF-8"

Montag, 16. Februar 2009

Mittwoch, 11. Februar 2009

Give Your Best To Relationships



A boy and a girl were playing together. The boy had a collection of marbles. The girl had some sweets with her.
The boy told the girl that he will give her all his marbles in exchange for her sweets. The girl agreed. The boy kept the biggest and the most beautiful marble aside and gave the rest to the girl. The girl gave him all her sweets as she had promised.

That night, the girl slept peacefully. But the boy couldn’t sleep as he kept wondering if the girl had hidden some sweets from him the way he had hidden his best marble.

Moral of the story:
If you don’t give your hundred percent in a relationship, you’ll always keep doubting if the other person has given his/her hundred percent..

This is applicable for any relationship like love, employer-employee relationship etc., Give your hundred percent to everything you do and sleep peacefully.