How to mount NFS share on a Solaris 10 zone running on a Solaris 11 host

Hopefully this can help someone.   I’ve been struggling to get NFS client working and I could for a full day… unable to mount a NFS ??  This is basic!  I know :-)   Here is what I was missing : “sec=sys”!

Ok, now you know the solution… but let’s see how I finally got it :-)


[sourcecode language=”bash”]# mount -F nfs /mnt
nfs mount: mount: /mnt: Permission denied[/sourcecode]

I couldn’t mount the filesystem but I found that I could automount it!

[sourcecode language=”bash”]# cd /net/[/sourcecode]

Once automounted, I found out which options were used :

[sourcecode language=”bash”]# nfsstat -m
/net/ from
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

From this information I could figure out “sec=sys” was the solution to my problem!

[sourcecode language=”bash”]# mount -F nfs -o sec=sys / /mnt[/sourcecode]

My 5 top uses of Evernote

It’s been more than a year that I’ve been using Evernote for everything.   For you who aren’t sure why use it, there is plenty of blogs that will tell you their top 10.   Here are my top 5 uses:

Clipping webpages or, anything else in Windows

Whenever I see something interesting, I highlight it then press the WIN-A combination key (WIN = the Windows key that is between the CTRL and ALT key on the left side of your keyboard).   What that does is create a new note in Evernote with what you highlighted.

This is useful not just for website, I use it also within Google Talk/MSN.   Whenever I need to remember something said in a chat session, I use the WIN-A combination key!

Gift ideas

I’ve setup a Gift notebook and fill in all the ideas for me and everyone else in it.   Whenever I stumble upon a gift idea on the web or, hear a relative talk about an item during the year, I enter it in Evernote.  Easy!

Pictures of my kids creations/art

Whenever my kids bring collage, drawing, sculpture from the daycare, I snap a picture with my iPhone’s Evernote App and fill it in a notebook with my kid’s name.   I ever share it online so that their grand parents can see everything their little kids are making!   This will bring back good memories when they’ll get older!

Portfolios and investments

I use a different notebook for my portfolio and investment use.   There I can fill different papers about my accounts and articles about the companies I follow.

Backup of my blogs

Always have backups!   Whenever I post an article to my blogs, I send a copy to a notebook on my Evernote.   Instant backup!

I hope that gives you some ideas of things you can do with that product :)

How to sync KeePass to your iPhone

Updated June 2011:  This is just a small update to let you know that in the past few months I have been using MyKeePass instead of iKeePass and in my opinion it is much better and mostly much much faster.  Feel free to follow the following procedure for iKeePass or read the manual of MyKeePass (on their app download page).   If you require help/assistance with MyKeePass, let me know and I’ll post a tutorial.

In this Howto I will show you how to have your KeePass database with you, on your iPhone or iPod Touch.

Summary of the setup

  • Copy the KeePass DB to the Dropbox public folder
  • Tell iKeePass to download that KeePass database
  • Remove the KeePass database from the public folder

Copy the KeePass DB to the Dropbox public folder

  1. Copy your KeePass DB to the “My DropboxPublic” folder
  2. Then right-click on it, select Dropbox and Copy Public Link

You will now have a URL in your clipboard similar to this :

Tell iKeePass to download that KeePass database

  • Open iKeePass
  • Click on Edit (top right)

  1. Type in the first part of the public URL (do not type the filename)
  2. Click Done
  • Now click on the + sign (bottom right)
  • And enter the filename of your KeePass DB (the one you put in the Dropbox public folder)
  1. Select your KeePass DB
  2. Click Open

  • If you get any errors (like DB corrupted, that is simply because you typed in a wrong password)

That’s all that has to be done.    From here, you can simple click on your password and it will get copied to the iPhone’s clipboard
Or, use the Passwo… slider at the bottom to show your password.

Remove the KeePass database from the public folder

Do not forget to remove/delete the KeePass DB you copied to your “My Dropboxpublic” folder.   You do not need it there anymore as iKeePass has now a local copy of it!

Why am I using Dropbox, a tool that allows to sync my files across many computers

If you have been reading about my KeePass articles and have more than one computer, you probably already figured out that you need to have your KeePass database with you (the latest version) wherever you are.

Dropbox lets you do this -and more-!

Here is the big picture

If you have the desktop application installed.   Any files you put or edit/update in your Dropbox folder will get updated on the Dropbox servers.   Meaning that any other Dropbox client you have registered in your account will get the updated version pushed to them automatically.   For example: If I am on my laptop and create a new entry in my KeePass database and save it.  I could go on my desktop PC, open KeePass and see the new entry added!

  • You can also share files or folders from your Dropbox with others!
  • Think of it as your online backup.   Since everything is in sync, if your computer breaks, all your files are on Dropbox website (and your other computers!)
  • No more mistake; if you delete a file from your Dropbox folder, it is still available on the Dropbox website!  Just click undelete from their website and the file will be pushed back to your PC!
  • Keeps a version history of all your changes!  no need to rename a file to .old then edit it. 

Yes, it does look like a sale’s pitch :-)   It is in fact!   You see, Dropbox gives 2GB free to anyone.  I am already using 1 gig and, if you click on any of the Dropbox link on this page then register and install their client, I get 250MB free and You get 250MB free also! A “win-win” situation :-)

There is no need to do a guide for the installation as it is too step forward

  • Agree/next until you are asked if you have an account or not.
  • Fill-in user information
  • Select the Free account (2GB)
  • Watch the Tour
  • Use the default or select a different folder to sync

But once you have it installed, the first thing thing you should do is to move your KeePass Database in it so it is backed up and in sync.

  1. Close your KeePass (right-click on the KeePass icon on the taskbar then, “exit”)
  2. Move your KeePass Database (you remember where you have created it don’t you?) to the Dropbox folder (use the shortcut on your desktop…)
  3. Double-click on the KeePass Database (that is into your Dropbox folder)

Be sure to have a difficult password on your Dropbox account!

Next post will be about having your KeePass database on your iPhone by using iKeePass and DropBox apps!

Advance usage of KeePass – part 2

Ok, now that you’ve learned and used the automatic logon with CTRL-ALT-A, you have probably encountered some websites on which, it doesn’t work as expected.

That’s because KeePass assumes that the login and password boxes are next to each other.   Internally, KeePass pastes your username, “press” the TAB key, pastes your password then hit ENTER.   Here is a  website that won’t allow you to login automatically because between the login and password boxes is an email link :

You can test it.  Go to, click on the logon box and press TAB.   See, by default KeePass would try to paste your password on that email link which… wouldn’t work!

Let’s use that website as our example.   You already figured it out that we need to press the TAB key 2 times to get to the password box.   Well the way to tell KeePass to do that kind of work is to add a line to the Notes field of your entry.   Like this :


In my personal experience, it is not often I had to use this but I preferred to share it with you so that you could continue to only use the CTRL-ALT-A wherever you are.

Summary of my password management articles

Advance usage of KeePass

Updated June 2011:  This howto is for KeePass version 1.x.   If you are using version 2.x, please see this comment from Doug R.  

In this howto, I will show you how I am using KeePass in my day to day life.

Automatic login on websites

Lets pretend you want to login to Gmail.   So you are at this login screen :

You simply need to press CTRL-ALT-A !

  • KeePass will open
  • Prompt you for your passphrase
  • And fill in your username and password & submit the logon process!

As easy as that, CTRL-ALT-A is your friend :-)

Oh and if you have more then one account on a website, KeePass will show you a list of valid accounts once you typed in your passphrase.  You will just have to single click one entry.  See below for an example :

What if your username isn’t typed on your website after CTRL-ALT-A ?

KeePass looks at the title on the website/webpage you are at then, looks in your database for an entry name with that name.  
In my first article, I suggested you name the entry “Gmail” but what if you prefer to use “Primary email account” instead?  Then CTRL-ALT-A will do nothing, KeePass doesn’t know that it has to copy/paste your “Primary email account” entry onto the Gmail’s website.    In this case, you have 2 choices :
  • Change the entry name to “Gmail” (so that your entry matches the website’s name)
  • Add a note to your “Primary email account”

I always prefer to add a note like this in my entry’s notes field so that I can organize and name my entries the way I like :

Auto-Type-Window: Gmail: Email from Google*

A quick note before ending this howto guide, when you need to open KeePass for something other then to login on a website, use CTRL-ALT-K to open it instead of double-clicking on the icon from the taskbar!  You will save some time!


  • CTRL-ALT-A is for automatic logons
  • CTRL-ALT-K is for simply opening KeePass
  • CTRL-F is for searching an entry (useful when using in combination with CTRL-K)

Basic usage of KeePass

If you have no idea why you should use KeePass, please read my other post here first

Ok, let’s install KeePass real quick.

Make sure to download version 1.XX and not 2.XX (version 2.XX is not as compatible as version 1 between platforms (Windows, OS X, Linux, iPhone, etc..)

  • Run it and accept the agreement.
    • Then simply click next and approve all defaults.
    • At the end, check “Launch KeePass” and uncheck “Visit plugins web page (….)”
  • We need to create a Master Key.   That Master Key is the passphrase you will be using each time you want to retrieve information from inside your KeePass database.

You must understand 2 things

    • That has to be a long phrase, the longer the better and feel free to use number, capital letters, etc…  If this password is easy to guess then people could get access to all your accounts if they have a physical copy of your KeePass database.
    • There is no way, I repeat -NO WAY- to retrieve a lost/forgotten passphrase.   If you do not remember your initial passphrase, you cannot open the database anymore!
    1. Click on the 1st icon to create a new database
    2. Enter your passphrase (you can click on the 3 dots icon on the right to show your passphrase while you type it)
      • Do not check “Use master password and key file”

    1. Then re-enter your passphrase to confirm
  • You will get an empty screen.   In the future, that screen will hold all your password and entries.

Now lets create an entry and show you how to use it and that will be all for this guide

Let say that you want to create a new Gmail account

  • Click the Add Entry button (or CTRL-Y)

  1. Fill-in the 4 first lines which are :
    • Title : Helps you remember which entry it is.   You can type whatever you want there
    • User name: The username you chose at that particular website
    • Password & Repeat: Leave them auto generated
  1. Then use the Notes field to enter data related to your secret questions/answers
    • Click Save and give it a filename

There it is.   Next time you want to log in to Gmail :

  • Double-click the KeePass icon in your taskbar
  • Enter your passphrase
  • Double-click on the password field (*********) of the Gmail account
  • Paste it (CTRL-V or right click+paste) in the Password: field of Gmail’s website.

Ok ok.. it looks like it is more time consuming to use KeePass than simply use a mid-secure password and just remember it but, in the following article, I will show you how to automate the login process in a way that you will just have to type a hotkey and enter your passphrase.   On most site, that will type in your username and password and have you logged on automatically!

Small introduction to password management

You are probably like me, having literally tons of password (Windows password, email password, Skype password, Dropbox password, and so on…).   You should already have different passwords on each different services.  If not, we’ll imagine someone stealing a user database from one service.   They can get your password!  If they do and it is the same password you are using at other websites/services, they could gain access to those accounts also!

Without being too technical, you could pick any one of your service and simulate you have lost/forgotten your password.   Most site will confirm your identity by asking you your “personal” questions then, will either :
  • Allow you to reset your password
  • Send you your actual password (!!!!!!)
I cannot believe that some business still doesn’t encrypt their user’s password!  No one, I said no one should ever store a password non-encrypted!  If they send you your password, it means that it isn’t encrypted on their server!
Small situation just to show you my point of view :
  • My primary email is :
  • My Gmail password is : ad978bh!fhn__  (real hard to guess password.  That way I am sure it is safe!)
  • My mother’s maiden name is : ThatsHerName

I am subscribing to a well known online news site.

    • I use the username : howtos
    • Type in my email
    • Give answer to my “personal” questions (my mother’s maiden name) : ThatsHerName
    • And, type in a password.  I decide to use my hard-to-remember Gmail password since it is hard to guess so, I think it is secure!.
Everythings looks fine… but what if, the well known online news site have their password unencrypted in their database ?   That means that any employees having access to that database (all the database administrators and probably the system administrators and operators) have access to your user account information (email, username, secret answer AND your secure-hard-to-guess password!!).
See, no one had to hack thru firewall or use any other means!   And now, all those employees could try the password on my Gmail account and see if that works.  Then who knows what all the information in my email account they will find!
Since I do not trust any services as secure as they should be, I use a different password on each of them.   Better, all my “personal answers” to their mandatory questions aren’t real answers, they are randomly generated.   So there is no way, if some employees or actual hacker have access to my information  on one site, that my account could be used elsewhere as all the information they got it is only used on their site!
Now, there is no way to remember all the password in my head.  I know some people like to use some kind of pattern to help them memorized all their password like :
  • Using the same password but changing a digit
  • Using the first letters of each word of a song that was playing on radio while registering on the website
  • Using a pattern on keyboard (qwerty….)
I prefer to use KeePass!   It is a free software that is protected by either a master passphrase, a keyfile or both (I use it with a passphrase only).  Everything is encrypted localy on your computer.

When I registering myself to a new website, I fill in my desired username, my Spam email address (I’ll talk to you about the SpamGourmet service in another post) and a generated password from KeePass.   I enter the same thing in KeePass then submit my registration.    I do not have to learn the new password, all I must remember is my master passphrase to open KeePass.

I do hope that you understand the need to have strong password and most important, a different password per website.

My next post will be about installing and using KeePass.

Using KeePass as your password manager

Let me show you how to install and use KeePass the way I do :

First, download the latest KeePass version 1.XX from (please do not user version 2.XX as it is not yet as compatible with Linux, Mac, iPhone, etc…)


Accept everything my default and once installed, open the application from the Start Menu

now, the fun part.   You do now have to always open KeePass (double-click on the KeePass icon on the taskbar) and search for your entry (Gmail in this case) then copy your password and lasty, past it on the Gmail website.

KeePass register the shortcut CTRL-ALT-A.  Use it to automaticly log on a website.   For eemple, I go on


it will prompt you for your passphrase then fill-in your username and password!

KeePass looks for the browser’s title bar.  In this case “Gmail: Email from Google” then search for an entry “Gmail………..” in KeePass.  If there is a match, it pastes the user/password.

More advance
What if I want to call my KeePass entry “Internet Mail from Google”.   It will never log me in automaticly using CTRL-ALT-A..   Well I just have to enter this line in my KeePass entry’s note field :

Auto-Type-Window: Gmail*

How about, if the login window isn’t “standard” lie this one:


on following post I’ll show you how to have your keepass synchronized accross different computer

How to synchronize your Google Calendar & Contacts with your iPhone/iPod Touch

Edited Jan 7th:  You have an iPhone or iPod Touch and want to have your GMail contacts and Google Calendar synchronized ?   So that is you add an appointment on the Web, the change goes to your device.   And if you update a contact information, it goes automaticly in your GMail contacts ?  Google has everything for you!

I won’t make a guide this time because the one Google made is clear enough.   Read their How-To :

If you are using multiple calendar on Google Calendar and want to select which calendar to sync with your device.  Please use this procedure :

To select which calendars to sync to your iPhone, follow the steps below:

  1. Open the Safari browser on your phone and go to
  2. Sign in with your account and select your phone from the list of devices you’ve set up for Google Sync.
  3. Bookmark this page so you can return to it easily.