Got Passwords?
Here a script I found that generates various passwords.
Here a script I found that generates various passwords.
I found this command a long time ago, and I forgot where. But, I wanted to share it with everyone. It will tell you what IP addresses are connected to your web server, and how many connections there are.
netstat -ant | grep \:80 | awk '{ print $5 }' | awk -F \: '{ print $1 }' | sort | uniq -c | sort -n
Note: Again, I don’t remember where I found this, and you are the author please let me know and I will link it back to you.
If you are using CentOS 5 and enable FTP and when your users try to FTP in, they get the following error:
500 OOPS: cannot change directory:/home/their_directory
The problem isn’t with FTP (as I first thought), the issue is actually with SELinux.
To fix, edit the file: /etc/selinux/config
Look for the line that says:
SELINUX=enforcing
and change it to:
SELINUX=disabled
There are lots of reports of issues with CentOS 5 and the newest Nvidia chipset. The biggest one that I have found is the network settings are forgotten on each reboot. So, if you set your machine with a static IP only to find when you reboot the machine switches to DHCP mode, then here’s a simple and easy way to fix (note: the proper fix would be to recompile the network card drivers, however this is a bit time consuming).
The simple fix is to turn off Kudzu. From the command line type:
chkconfig --levels 345 kudzu off