NetBeans IDE: Date Formatting in Templates

I've been trying out the NetBeans IDE and have created some templates for my new files. However, I don't like the standard date format returned by the ${date} variable. I found this page, which gives a hint at the solution:

The ${date} variable returns a string. Since the string is already formatted "wrong", standard string manipulation won't help. The trick is to cast the date string back to a date, and then apply your formatting. Here are some examples:

Resetting your VCS Password

If you've manged to get locked out of your Veritas Cluster Server Cluster Manager, but you have root access to the server(s), you can reset your password(s) using the following procedure.

As root on one of the cluster nodes, run the following command:

hauser -list

This should give a list of VCS users for the cluster, perhaps similar to the following:


To reset the password of one of the users in the list, run the following command: