≡ Menu

chroot

Ubuntu: Mount Encrypted Home Directory (~/.private) From an Ubuntu Live CD

Recently my old desktop system crashed and I brought a new Ubuntu Laptop from Dell. To access my data from old hdd; I’ve attached my desktop harddisk using an external USB case. Now my old data is stored using external USB hard disk. How do I recover data from encrypted ~/.private home directory using an Ubuntu Live CD and copy it to existing laptop drive using known passphrase?
[click to continue…]

socat: Linux / UNIX TCP Port Forwarder

The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following format:
grep ‘Dump’ /var/named/chroot/var/named/data/named_stats.txt
outputs:

+++ Statistics Dump +++ (1263408025)
— Statistics Dump — (1263408025)
+++ Statistics Dump +++ (1263408071)
— Statistics Dump — (1263408071)
+++ Statistics Dump +++ (1268304218)
— Statistics Dump — (1268304218)
+++ Statistics Dump +++ (1268304248)
— Statistics Dump — (1268304248)

How do I convert date (e.g., 1263408025) in a human readable format?
[click to continue…]

What Is The Difference Between Authentication And Authorization?

Don’t Miss Any Linux Tips

Get nixCraft in your inbox. It's free: