Four little Security tools you should install in Ubuntu

Linux, Sysadmin, Tricks, Ubuntu
These should probably also be installed under other linux distros (might already be). But for the sake of completeness here they are:1) denyhosts: great little package that's already 98% configured after apt-get install process. It runs as a daemon and monitors /var/log/auth.log file for unsuccessful ssh logins and takes measures to ban the originating IP in /etc/hosts.deny. The cool part is that it does not need access to firewall or anything. Config file is /etc/denyhosts.conf and is pretty self explanatory. Ubuntu package is called "denyhosts" and needs python to work.2) chkrootkit: another little gem that you install via apt-get install process. Ubuntu package is called "chkrootkit". After install do "man chkrootkit" for more info, but the gist of it is that when run from command line it uses it's own…
Read More

Some Unix/Linux Coolness…..

Linux, Ubuntu, Unix
I think every admin must do something stupid atleast once....right? Well my brain fart happened during a System upgrade (another story I'll be ranting about later). I made backups of all the files I thought were important (/home, /etc, /var/lib/mysql and other userdata we had on the system) and installed Ubuntu 8.04 on the server. Well, of course the second person who walks in to report problems, asks me about his personal crontab......DOOOHHHHH!!!! Yeah I forgot to back that sucker up. Now, the lucky part of all this is that I just deleted the old directories on that partition, I did not format it. So once I realized that, I figured why not just search for it. I mean I knew something about the file, why shouldn't I be able…
Read More

Asus EeePC: Installing Ubuntu 8.04 Desktop on a 16 GB SDHC card

EeePC, Ubuntu
I'm not quite done with all the install and optimization steps, but I thought I start this entry so that I won't forget what I've done. There are quite a number of steps involved. I've installed it on a Asus 701 4GB model using a 16 GB class 6 SDHC card. Hopefully this will help others as well. You will need a physical copy of the Ubuntu 8.04 CD, so download it and burn it with your favorite burning software. You will also need a USB DVD/CD reader, I used a old plextor external drive I had lying around. So here we go:Get the USB DVD hooked up to one of the USB ports on the Eee, doesn't matter which.Stick the boot CD in the DVD and turn everything on.Press…
Read More

Hardy Heron is out…..

Linux, Opensource, Ubuntu, Unix
Heha.....Ubuntu's newest release 8.04 LTS (aka. Hardy Heron) is out and ready for your consumption. This release is major in that it's LTS. For those of you who don't know LTS versions of Ubuntu are supported for 3 years for the desktop version and 5 years for server version. ALL FREE....so what are you waiting for.....head over to Ubuntu Land for more info or alternatively just go to the download page.
Read More

OSX Webmaster special: Shared webserver, bad umask settings, group permissions and filenames with spaces…

Apple, CLI, Linux, Macintosh, OSX, Reference, Shell Script, Tricks, Tutorial, Ubuntu, Unix
Okay so this all started with our users not being able to share files on our webserver. We use SSH only for upload/download and interactive access (ie: no ftp). Through trial and error we found out that the default umask (under OSX Server) for sftp uploaded files are 0033 (ie: rwxr--r--) and directories are 0022 (ie: rwxr-xr-x). This creates a problem when one user uploads a file and another user downloads/modifies and tries to re-upload it -- they simply can't because the group permissions are wrong.If we were using ftp (which we are not) there are some solutions on the net that allow you to modify the startup parameters for the ftp server so that the default umask for all files is 0013 -- which would allow a group of…
Read More

One for the Penguins….

Linux, Ubuntu
Right on the heels of our story on reconstructor, a tool that allows you to create custom Ubuntu distribution CD's, here is APTonCD for Ubuntu. It's basically a graphical tool that allows you to create a CD of all the applications you've installed on your Ubuntu system since you installed the system initially. This used to be a pain, if you had to take care of a lab of machines. The drill was: install the OS, add all the required software and then created a master image, followed by multiple image installs.Well thanks to APTonCD you don't have to do this anymore. You can install the base CD/DVD (or make your own using reconstructor), add all the extra software from the repositories and then run APTonCD. At which point you…
Read More

So you like Ubuntu….

Linux, Ubuntu
Came across this the other day. Reconstructor is the new cool tool that allows you to grab you favourite ubuntu distro (desktop, alternate or server). Now you can have your Ubuntu and eat it too :-). It's free and runs on linux (yeah there is a bit of a chicken and egg problem here). Well, I'm off to build Mabuntu (aka Many's Ubuntu).....hehehe.
Read More