Lock Down IP Addresses – SSH and Else
If you know the IP addresses that will be connecting to your machine, lock them down. Use the hosts.allow file as follows.
sshd : localhost : allow
sshd : 192.168.3. : allow
sshd : 192.168.1. : allow
sshd : ALL : deny
Using sshd : ALL : deny and listing various allow rules blocks everything other than the allowed rules. Therefore using sshd : IP : allow you will be able to connect to the machine from that IP only and everything else will be rejected. This procedure will substantially increase the security of the server.
No comments yet.
No trackbacks yet.
Remote Server Management in Local Facility – LTSP
February 13, 2010 - 9:26 am
Tags: boot sequence, dhcp, dhcp servers, domain default, local ip, ltsp, machine, Server, server option, sudo
Posted in Server, inet, ltsp, tftp | No comments
I’m using LTSP to manage a server remotely in a local facility. I setup an LTSP server on the host machine, and will place it in an air-conditioned room to preserve longevity. I configured a machine, of much lower power, to PXE boot from the server. There are several nuances to setting up an LTSP [...]
Detecting a Security Breach – Ubuntu and Linux Machine
January 25, 2010 - 12:46 pm
Tags: active processes, attempt, linux machine, login, login attempts, machine, password, root, security breech, ssh access
Posted in access, backup, breech, detect, linux, login, root, security, ubuntu | 2 comments
Detecting a security breech is sometimes as easy as logging into the machine, using ssh, and viewing the last login attempt from a completely unrecognized ip address or domain. Subsequently check your auth.log file, in /var/log, for login attempts. If you see countless failed login attempts you have been the victim of a brute from [...]
Extended VirtualBox Management – VBoxTool
December 9, 2009 - 10:13 am
Tags: Boot, command line tool, machine, script, script package, VBoxManage, VBoxTool, virtual machines, virtualbox, wrapper script
Posted in Boot, VBoxManage, VBoxTool, virtualbox | No comments
VBoxManage, the command line tool of VirtualBox, does its job. It also has its limitations. You can starts, pause, and save virtual machines, but there is no integrated way to automate various processes. To have a virtual machine boot with the host, in headless mode, you would have to create a custom init.d boot script. [...]
Using vi, or nano – Terminal Text Editors
December 6, 2009 - 9:40 am
Tags: command mode, graphical editors, graphical text editor, grub, mode, nano, Press, text, unix and linux, use, vi, wq
Posted in command, nano, terminal, text, vi | 1 comment
Vi was the original terminal based text editor created for Unix. It is as small and as simple as it gets. The binary resides within the Unix and Linux bins, and can easily be placed on a removable media for ultimate emergency portability. There are three modes to vi:
1. command mode
2. ex mode
3. insert mode
First [...]
Terminal Standard Output – Slowwwww Down
December 5, 2009 - 12:50 pm
Tags: grep, nvidia, nvidia drivers, page, space bar, use, way
Posted in less, output, standard, terminal | No comments
Have you ever hit an ls and it prints way to much? Have you ever hit a ps and its prints way too much? There are several things you can do. You can pipe it to a grep filter. If your search a downloads folder for NVIDIA drivers do:
ls | grep NVIDIA
You can also use [...]
VirtualBox Vista Images Coming Back
December 3, 2009 - 11:47 pm
Tags: copy, host network, host networking, license, machine, network bridge, page, virtual machine, Vista, vista host
Posted in Vista, host, image, virtualbox | No comments
I’m installing a copy of Vista in a virtual machine right now. The license will expire, but I’m not installing it for useful purposes. I’m going to re-add previously lost images to the most popular page on this website.
http://www.bgevolution.com/blog/virtualbox-windows-vista-host-network-bridge-and-tap/
Although I find the page quite unnecessary, being the way to implement host networking has changed significantly, [...]
VirtualBox Bridge and Tap no Longer Needed – Built in
November 3, 2009 - 5:07 pm
Tags: adapter, ethernet adapter, guest os, host, host networking, machine, machine settings, network, Server, server website, virtual ethernet, virtual machines, virtualbox
Posted in bridge, guest, host, network, port, tap, virtualbox | 4 comments
With recent version of VirtualBox you no longer need to create a bridge and tap to enable host networking. In the settings panel of the virtual machine, select the network tab, and make sure that its set on bridged adapter. VirtualBox automatically creates a virtual ethernet adapter, and bridges it to the network of the [...]
Server Memory Setup – To Swap or Not to Swap
October 28, 2009 - 12:21 pm
Tags: database queries, file, machine, Server, server configurations, swap, swap file, swap partition, System, system stability
Posted in file, machine, partition, swap, virtual | No comments
For a while I turned off the swap file on my virtual machine. It worked, but then I began to use more php pages and the server began acting funny, especially with database queries. After a day or two of the system crashing I turned on a swap file and the system stability came back [...]
How Nice are Your Running Processes – Renice Them
October 25, 2009 - 10:09 am
Tags: cpu, hd tv, host system, mac, machine, process, running processes, System, system processes, value, viewport
Posted in mac, mini, nice, ps, renice, top | No comments
The command to set the importance of a running process is called “nice”. The nice rating of a program determine how quicky and the priority in which running processes are handled by the CPU. If a process has a nice value of 19 it will essentially allow any other process to be handled by the [...]
Compiz Auto Move a Window to Another Desktop – Viewport
June 13, 2009 - 12:34 pm
Tags: desktop, desktops, graphical windows, plugin, repositories, use, variety, viewport, windowsxp, wmctrl
Posted in Compiz, MythTV, auto, desktop, viewport, windows xp, wmctrl | No comments
When you boot your machine you want to open a variety of windows or applications on different desktops, but they only seem to open on the main desktop even with use of the place plugin. The place plugin in compiz works for a variety of applications but does not work for VirtualBox graphical windows. Wmctrl [...]


