Linux Forgotten Root Password Recovery

There is plenty of ways, how to recover forgotten Linux password. My method is:

1. Burn Knoppix Linux CD (See www.Knoppix.org website)

2. Start the system useing just burned CD.

3. In console window type:

sudo mount -o remount,rw

4. Navigate to your Linux system folder – /etc/

5. Open the file named shadow [...]

XSLT and XPath selecting distinct nodes

It is a complicated task to select distinct nodes or to use grouping useing xslt. There are no simple syntax to write this type XPath query.

The work arround is quite difficult to remember, thats why i decided to duplicate internet content in my blog.

Let’s say, that the XML source is:

<root> <MyData [...]