Using “yum install GD” or “yum install perl-GD” or any other didn’t help me installing GD perl module. However, an exceptional tricky yum did give me a success. So, let me put it here before I forget to do it in the future!
yum -y install perl-GD
Brain's Workbench
Well, Leading Edge Business Solution from South Africa- do created 2 excellent and to my view most essential tools for network administration to sniff users and warn them!
Actually they run on linux environment with Squid Proxy server running on the network to serve clients (likely network clients).
Have you ever forgotten the root password on one of your MySQL servers? No? Well maybe I’m not as perfect as you. This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server. If you have forgotten that password wait for another article. Original article posted on reset mysql root password.
Download the rpm and reinstall like so:
rpm -ivh –replacepkgs httpd-2.2.3-11.el5_1.centos.3.i386.rpm
For i386, you can grab the latest version here: http://mirror.centos.org/centos-5/5/os/i386/CentOS/
Backup your httpd.conf file first. User created files shouldn’t be affected, but it’s always wise to have a backup of those too.
Ok first off im no good at writing tutorials so feel free to flame me (hey that rymes). Anyway in this tutorial i will basically show you how to send and receive email via the command-line terminal emulation program called Telnet. Now where shall i start, hmm.. Sending Email!!
I came this morning to my office desk, tried to put something into my newly set up blog. God knows, why teh hell did i try to make a small change in my Blog URI settings!
Anyway, I tried to create some different URI path with Blog- by Date and Month wise. Which I did and WP generated a .htaccess parameters!
Then came the fucking real problem, i opened my WS_FTP browser, and tried to connect my account on my newly set-up virtualmin server. “LOGIN INCORRECT”- I just got tired on seeing this error over and over, but couldn’t find any good reason why is that doing so!
Checked Vortualmin “refresh cofiguration” button and came up suddenly this stupid error-
Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access
Step-1
I googled this for a while and concluded to a forum link-
http://www.howtoforge.com/forums/archive/index.php/t-2155.html (Quite helpful).
But anyway, it didn’t help me other than replacing my- /etc/shells file looking like this-
# /etc/shells: valid login shells
/bin/ash
/bin/bash
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/zsh
/bin/sash
/bin/zsh
/usr/bin/esh
/bin/rbash
/bin/dash
/bin/false
Step-2
Did modify the Proftpd config file with the smallest value-
# Set the user and group that the server normally runs at.
User root
Group root
It was previously like User and Group with “nobody”
Step-3
Went back to Webmin > system > users & Groups section, noticed users shell as /bin/false, tried to changed the required User shell to /bin/sh
All went in vein
Step-4
Using Putty, tried to login to the shell- WALLA! There’s the answer I just found!!! The desired account’s password was expired that’s why the shell denied to give any access. This is something which I tried 2 days back to check Virtualmin’s account expiery test!
Goddamn it! that worked!
Anyway, learned a small lesson on the Proftpd and the /etc/shell file too!