AdminUser.wOrdpress.cOm

Archive for February 2008

Changing mac address Ubuntu/Debian

Posted by: SiiN on: February 28, 2008

Yo!
Finally I managed to connect to the net using my laptop. DHCP server was not giving an IP from the lease when I try to connect
from my lappy. I found out the issue – my ISP was blocking the mac address of my laptops network card – why – who knows [...]

Linux Kernel “vmsplice()” System Call Vulnerabilities

Posted by: SiiN on: February 12, 2008

Subject: [SA28835] Linux Kernel “vmsplice()” System Call Vulnerabilities
Date: Tuesday 12 February 2008
From: Secunia Security Advisories
———————————————————————-
TITLE:
Linux Kernel “vmsplice()” System Call Vulnerabilities
SECUNIA ADVISORY ID:
SA28835
VERIFY ADVISORY:
http://secunia.com/advisories/28835/
CRITICAL:
Less critical
IMPACT:
Exposure of sensitive information, Privilege escalation, DoS
WHERE:
Local system
OPERATING SYSTEM:
Linux Kernel 2.6.x
http://secunia.com/product/2719/
DESCRIPTION:
Some vulnerabilities have been reported in the Linux Kernel, which
can be exploited by malicious, local users to cause a DoS (Denial of
Service), [...]

VIM QUICK REFERENCE

Posted by: SiiN on: February 12, 2008

http://tnerual.eriogerg.free.fr/vimqrc.html

Tags:

==
When I try to access phpmyadmin on a cPanel server, i get the following error:
Existing configuration file (./config.inc.php) is not readable.
==
Solution:
#cd /usr/local/cpanel/base/3rdparty/phpMyAdmin
#chown cpanel.cpanel config.inc.php

Change Hostname Permanently on Debian or Ubuntu

Posted by: SiiN on: February 10, 2008

Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/hostname.sh
We can edit the file /etc/hostname and change the hostname and then run:
/etc/init.d/hostname.sh start
Steps:
1. sudo gedit /etc/hostname
2. Save the file with the hostname you like to set
3. sudo /etc/init.d/hostname.sh start
Ref: [...]

1. Select Mail / Preferences.
2. Click the Accounts button, located at the top of the window
3. Click once on your account, as it appears in the Accounts list.
4. Click the Advanced tab.
5. To avoid exceeding your email account’s storage limits,
be sure that the Remove copy from the server after
6. To avoid exceeding your email [...]

Tags: , ,

Unmounting virtfs mounts ::: cPanel

Posted by: SiiN on: February 5, 2008

First of all, check if the user is running any jailshell process is running
ps aufx |grep user |grep jailshell
Kill’em
Unmount the mounts created by that user:
for i in `cat /proc/mounts |grep virtfs |grep user_name_here |awk ‘{print$2}’`; do umount $i; done

Tags: ,

How to convert charecterset :: mysql

Posted by: SiiN on: February 2, 2008

Two very useful links :
http://codex.wordpress.org/Converting_Database_Character_Sets
http://www.mydigitallife.info/2007/06/23/how-to-convert-character-set-and-collation-of-wordpress-database/