November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

hostnamectl and timedatectl and date and HWCLOCK

Modify CentOS 7 hostname

In CentOS, there are three definitions hostname: static (static), transient (transient), and flexible (pretty). “Static” host name is also called kernel hostname, is the system at boot time from /etc/hostname automatic initialization of the host name. “Transient” host name is in the system is running temporarily assigned host name, for example, […]

Remove logs after hack Linux

1.echo “unset MAILCHECK” >> /etc/profile 2.rm -rf /root/.bash_history 3.touch /root/.bash_history 4.history -r 5.cd /var/log > dmesg 6.cd /var/log > auth.log 7.cd /var/log > alternatives.log 8.cd /var/log > boot.log 9.cd /var/log > btmp 10.cd /var/log > cron 11.cd /var/log > cups 12.cd /var/log > daemon.log 13.cd /var/log > dpkg.log 14.cd /var/log > faillog 15.cd /var/log > […]

MBR vs GPT

MBR is the standard partitioning scheme that’s been used on hard disks since the PC first came out. It supports 4 primary partitions per hard drive, and a maximum partition size of 2TB.

GPT disks are new, and are readable only by Windows Server 2003 SP1, Windows Vista (all versions), and Windows XP x64 Edition. […]

Removing Linux BASH SHELLSHOCKER MALWARE

unknow processes dsfref, gfhddsfew, dsfref etc are starting automatically in centos 6.5

Virus mainly present in /etc/init.d/. Virus will run automatic on the time system start, so remove entry from /etc/init.d. These are virus and its locations

/etc/dsfref,

/etc/gfhddsfew

/etc/dsfref

To Remove Virus from linux

Note: I used chattr -i to change permissions and deleted […]