Maybank2u Certificate Revoked

The issuer revoked maybank2u certificate?

Weird… Who is attacking this site?

WTF There is a HEAD at Chromium Browser Close Button!!

WTF?!

Ownership Issue at LS-CHL

Whenever you delete some file in your LS-CHL or Linkstation, it will move the file to trashbox instead of deleting it. Thus preserving files if you needed to recover it in the future.

But what if you want to delete it permanently? Or when your transmission (bittorrent client, which had been posted earlier on) by default create the file as root privilege?

Then head on to terminal and access it. If you still don’t know how to access, refer to this link.
In Linux, to change ownership from root to any other user:


# chown ‹user› /mnt/disk1/‹folder_name› -R
# chgrp ‹user_group› /mnt/disk1/‹folder_name› -R

which:

  • ‹user› – user that you want to assign
  • ‹user_group› – group of that particular user that you are going to assign
  • ‹folder_name› – folder name of course

LS-CHL by default use “nobody” as user and “nogroup” as user’s group for anonymous access and my folder name is “storage”. Thus:


# chown nobody /mnt/disk1/storage/trashbox -R
# chgrp nogroup /mnt/disk1/storage/trashbox -R

This will solve your privilege issues.

But wait, every time you add new file (through transmission) or delete file, you need to change the ownership of that particular file!
So, to soothe things out, I have created a bash script and put it as a cron job (which I have explained it previously).
And the script would be:


#!/bin/bash
/bin/chown nobody /mnt/disk1/storage/Download -R
/bin/chgrp nogroup /mnt/disk1/storage/Download -R
/bin/chown nobody /mnt/disk1/storage/trashbox -R
/bin/chgrp nogroup /mnt/disk1/storage/trashbox -R

Save it. (in my case, I save it as owner.sh). Don’t forget to change its mode to executable file.


# chmod +x owner.sh

Edit the crontab:


0 6 * * * /root/owner.sh

This will run the file every day at 6am.

Enjoy!

Cron Job LS-CHL (Buffalo LinkStation)

Ever wonder how on earth could you do scheduled command execution (cron) on this device?
The web interface does not cover this functionality, all it does is the wake up and sleep time.

To have this cron functionality, head on your terminal or command line and access your ls-chl.

For those that do not know how to access, refer to this post

I will be using nano editor instead of vi editor. If you haven’t install nano in your device:

# ipkg install nano

and change the default editor from vi to nano:

# export EDITOR=nano

Then edit the cron:

# crontab -e

and you will have screen like below:

The standard template would be:


#minute hour day month day_of_the_week command

Note: Detailed explanation can be found here.

The last two:


0 6 * * * /root/owner.sh
0 0 * * * /sbin/reboot

where the first job, every day at 6am will execute this file and second job will reboot every day at 12am.

HITBSecconf2009KL

The last time I went to this conference, which is on 2007, I had a headache of choosing which session should I choose. The organiser apparently introduce dual-track conference, meaning, two simultaneously session.

And now, they introduce goddamn TRIPLE-TRACK conference! Is like choosing between big apple, jco and krispy kreme donuts.

Anyhow, I have made my payment, so see you geeks there!