The following method can be used when a user login to a linux machine, an email will be sent with IP information. For this to work, you need to have the program mutt installed. Then add the following to the user’s .bashrc file, which is located in /home/$user/.bashrc echo `who` | /usr/bin/mutt -s “SSH Alert” [...]
Doing visudo you get nano instead of your favorite text editor? Mine is vim therefore I issue: DEBIAN/UBUNTU way # update-alternatives –config editor There are 4 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /usr/bin/vim.tiny 2 /bin/ed *+ 3 /bin/nano 4 /usr/bin/vim.basic Press enter to keep the default[*], or type selection number: Selecting 4 I’m [...]
I’ve come across multiple ways of doing it but so far the best way is the following (I assume you are on i386 platform and you have access to the net): 1. Download boot.img.gz from Debian website 2. Download the net-install image choosing i386. 3. Plug your USB drive into a Linux PC, open the [...]
Setting multiple IPs on Linux or in this case Debian is rather straight forward… All the network info is stored in the file /etc/network/interfaces and you just need to add the info to the file… Before making changes to this file, I recommend you check your values at least 3 times! If you have made [...]
It is pretty easy when it comes to gaining root password to any Linux System as long as you have physical access. This is how to change Fedora’s ROOT Password. When your box starts up, You will see the GRUB screen… What you need to do is, press the a Key instead of Enter You [...]