Sunday, November 11, 2007

Open* on my macBook Pro

I recently configured Glassfish v2, Sun AM 7.1 , Sun IDM 7.1 / MySql 5.2 and Open DS on my macBook Pro. The configuration was fairly straight forward, after doing this many times on other platforms. I'm impressed how easy openDS was to setup and integrate with AM/IDM servers.

I wish I googled Jonathan Gershater's blog entry on Sun IDM setup on Mac before attempting it myself but with a little patience I managed to get through it myself.

Eduardo writes some instructions on setting up Glassfish on mac.

Friday, November 02, 2007

Upgrading from my G4 to macBook Pro

I recently upgraded my G4 to a new macBook Pro 2.4Ghz. The process of migrating data from the old to the new laptop was performed using the migration wizard over firewire. I had several gigs of data, therefore the process took a while but for most part it was smooth except for 1 thing:
Permissions to certain old files were denied as I changed the username on my new system.

So in order to access the old files owned by the old user account I had to add my new user to the old group.
The group information is stored in the netinfo database on mac os x unlike traditional unix/linux systems where it is stored in /etc/groups file.

The command I used was:
nicl -raw /var/db/netinfo/local.nidb -append /groups/olduserid users newuserid
I also added myself to the admin group which will give me access to root files.
nicl -raw /var/db/netinfo/local.nidb -append /groups/admin users newuserid