Script to check weather user is root or not

if [ "$UID" -ne "$ROOT_UID" ]
then
 echo "Must be root to run this script."
 exit $E_NOTROOT
fi

Script to check weather user is root or not

if [ "$UID" -ne "$ROOT_UID" ]
then
 echo "Must be root to run this script."
 exit $E_NOTROOT
fi

How to Restore Vyatta grub

 grub> linux /boot/vmlinuz root=/dev/sda1

 grub> initrd /boot/initrd

 grub> boot

once we boot OS using this commands, We have to re-install grub to make it perminant

grub-install /dev/sda

will install grub now just reboot and relax !!

Make a Deal fraud in Hyderabad Victim's Society, In orbit mall city center

Hi all,
ha ha... laughing seeing the title Victim's society......

I am one of the victim of "make a deal" fraud done in hyderabad ( lost 50K)
My name is Naresh
Contact no : 9000608609

 this fraud happened in "In-Orbit" and "City Center" Malls in Hyderabad.

Here is what happened..
Stalls were setup in these malls attracting customers to pay Rs 50 and get gift vouchers/mobile recharge worth Rs 250, immediately.
Customers were promised to get Reebok vouchers to be mailed to their address.
The caveat however is the customer has to use his/her "Debit Card" to make initial Rs 50 payment.
As soon as the card is swiped and pin entered the details were captured, i believe in the card swipe machine.
After a few days when salaries were credited to the account, these fraudsters had cleaned the account.
I heard of customers who were happy getting Baskin Robins vouchers immediately, and these "satisfied customers" informed friends and family to avail this amazing "Make a deal" offer.


Lets all fight in common.....Lets join our hands 


I posted this to unite all victims so that we can fight back !!!


Feel free to contact me and join in group


Police told we will be gathered to record a statement...Don't know how far police will help us.





Lessons we learnt:
--------------------------------


1) Use credit cards, We have time to block the transaction if it is Unauthorized
2) Don't reveal Debit Card pins even to your friends.
3) Don't use Debit card of your salary account anywhere. ( Transaction done once salary got credited)
   Maintain alternative Debit cards with small amounts
4) Frequently change ATM pins, account passwords. 


News about this scam on DC
-----------------------------------------

How to add apache user to SVN repository ?

Add user and password

htpasswd -m /etc/apache2/dav_svn.passwd username1

Add entry for that user in the following file

vi /etc/apache2/dav_svn.authz