How To Change Username in LinuxDecember 30th, 2007 Use the command below as root after replacing new-login-name and old-login-name appropriately:
usermod -l new-login-name old-login-name
For NIS accounts don't forget to run:
cd /var/yp
make
How To Update OpenSSH on RedHat / Fedora CoreAugust 26th, 2006 In two simple steps:
1. Login as root.
Full Disclosure: NIS Security Hole / Full Access by NIS Client RootMay 15th, 2007 Several years ago I noticed a big issue with NIS security at Sun, which I promptly reported hoping for a patch. Today I found out it is still there.
How To Enable Root Account on Mac OSXApril 20th, 2008 1. Login to the Admin account (not the normal account)
2. Open up a command shell in the Terminal application by selecting - Macintosh HD -> Applications -> Utilities -> Terminal
At the command prompt type this command:
sudo passwd root
You will then get the following prompts.
How To Change MySQL PasswordApril 20th, 2008 Let's look at all the ways to change MySQL password, for root and other users:
In MySQL the default password is empty. This is inherently unsafe and should be immediately changed.
How to Hack Root Password in LinuxNovember 3rd, 2008 Today I am going to tell you the trick to hack your root passoword in Linux if you are too forgetful to remember it or you have legal permission to enter a server run by a different admin and by any chance he forgot to give you the root password. Those Who Have GRUB bootloader
The first step is to reboot server.
How to Set Up Root Password for Your MySQL ServerJanuary 17th, 2009 If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To set up a root password for the first time, use the mysqladmin command at the shell prompt as follows:
$ mysqladmin -u root password newpass
If you want to change (or update) a root password, then you need to use the following command:
$ mysqladmin -u root -p oldpassword newpass
I hope this will work for you perfectly.
Tip: How To Find MySQL VersionSeptember 1st, 2007 Try:
mysql -e status|grep 'Server version'
If that doesn't work then use:
mysql -u root -p -e status|grep 'Server version'
Provide root password when prompted. Default root password for MySQL is empty string, so just pressing enter when prompted for password will suffice by default.
How To Install Lighttpd On Fedora LinuxMay 31st, 2008 Login as or su to root and run:
yum -y install pcre zlib lighttpd
That's it folks!
Note: The -y saves you from ok'ing the download & installation.
Linux / Fedora Core: How To Use rdiff-backup To Pull BackupsMay 26th, 2007 rdiff-backup is a popular, free, open source mirroring and incremental backup system for posix based operating systems like linux & Mac OS X. It uses rysnc algorithm through librsync but it doesn't use rsync.
How To Disable IPv6 on Fedora / Linux & WhyAugust 21st, 2007 A guide to easily disable IPv6 support on your Linux workstation / server:
1. Add the two lines, if not already present, to /etc/modprobe.conf:
alias net-pf-10 off
alias ipv6 off
For Fedora 7 you should add the command to blacklist instead as shown below:
blacklist net-pf-10
Note: I haven't personally tested on Fedora 7.
How to auto-start synergyc in Fedora / CentOS / RHEL LinuxSeptember 14th, 2009 You may find several instructions to autostart synergyc during login and after login. I had a hard time using them.
mod_rewrite Lesson - How To Make It WorkJune 29th, 2006 I learnt a hard lesson today on mod_rewrite. I haven't had time to explore further to find the root cause.
How to Determine if your Sensitive Data is Safe in Shared HostingAugust 26th, 2005 One of the strong security concerns in shared hosting environments is whether your sensitive data like MySQL server login/password or other login/password is actually safe from other users sharing the same web hosting machine. Few shared hosting providers do not provide telnet/ssh.
How To Use Vanilla Forum On MySQL Database Without Password SetOctober 23rd, 2006 First of all I want to make it clear that having a MySQL database without a password set (on your root account) is a very very bad idea. However I wanted to set it up on my home machine which has XAMPP installed.
January 2nd, 2009 at 8:23 pm
Nice information, thanks. I archived that code althought I dont have hosting company