Thursday, September 20, 2007

My_personal_data Virus

วันก่อนไปทำนามบัตร โดย copy logo ของบ. ใส่ handy drive ไป
กลับมาเจอ virus เลยแถม nod32 ไม่เตือนอีกว่าเจอ virus ก็เลยต้องไปค้นๆ หาวิธีการทำลาย
ในที่่สุดก็เจอเวบที่บอกวิธีฆ่า โดยเค้าเขียน app สำหรับฆ่าไว้เรียบร้อย

อาการของ virus คือ มันจำสร้างไฟล์ autorun.inf กับ My_personal_data.exe ไว้ทุก drive ที่เป็น usb( usb hdd มี 4 partition ก็โดนไป 4 partition เลย T-T)

วิธีการแก้ UZA_Eliminator_x2.exe

ปล. หลังจากใช้โปรแกรมแล้วใส่ handy drive ไป nod32 เตือนครับพี่น้อง
ปล2. ขอบคุณ แหล่งข้อมูลจาก http://cyryx.blogspot.com/2007/08/i-was-infected-by-u.html

Saturday, September 15, 2007

How to reset mysql root password

เคยเขียนไปแล้วรอบหนึ่ง ตอนนี้วิธีที่เคยเขียนใช้ไม่ได้ ดังนั้นต้องเขียนใหม่
ให้ทำตาม step ดังนี้
[root@host]# /etc/init.d/mysqld stop

[root@host]# mysqld --skip-grant-tables --user=root
แล้วก็ login mysql ใหม่โดยใช้ mysql client

[root@host]# mysql
mysql> USE mysql
mysql> UPDATE user SET password=password("newpassword") WHERE user="root";
mysql> flush privileges;
mysql> exit;
[root@host]# /etc/init.d/mysqld restart