<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-7552383</id><updated>2009-02-21T06:17:06.324-06:00</updated><title type='text'>Linux Tips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kevinuxtips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default?start-index=26&amp;max-results=25'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7552383.post-115656082742370630</id><published>2006-08-25T21:50:00.000-05:00</published><updated>2006-08-25T21:53:47.720-05:00</updated><title type='text'>LDAP Authentication In Linux</title><content type='html'>This howto will show you howto store your users in LDAP and authenticate some of the services against it.&lt;br /&gt;&lt;br /&gt;LDAP authentication is nice.. but it can also cause problems.&lt;br /&gt;Every time you do an "ls" you'll hit the ldap server to look up file ownership.&lt;br /&gt;Every time your webserver goes to get a file, it'll hit the ldap server to check permissions.&lt;br /&gt;&lt;br /&gt;Something tells me because it's called _Lightweight_ Directory Access Protocol that wont be a problem unless you're doing thousands upon thousands of lookups per second...and in any event, [open]ldap supports replication. It solves numerous more problems than it fixes.&lt;br /&gt;That's why there is something called Name Switch Cache Daemon (nscd)&lt;br /&gt;&lt;br /&gt;Authenticating systems to LDAP is great. Especially because there's so much possible versatility. For example, not only can you authenticate logins, but you can also setup AutoFS to pull automount information from LDAP, and even better, you can actually pull SUDO access rules from LDAP (to replace the sudoers file).&lt;br /&gt;&lt;br /&gt;This makes it *so* much easier to remove direct root login, and force administrators to use sudo. It also makes it easier to selectively grant additional access to users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115656082742370630?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.howtoforge.com/linux_ldap_authentication' title='LDAP Authentication In Linux'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115656082742370630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115656082742370630'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/08/ldap-authentication-in-linux.html' title='LDAP Authentication In Linux'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115607950404200458</id><published>2006-08-20T08:10:00.000-05:00</published><updated>2006-08-20T08:11:45.036-05:00</updated><title type='text'>MySQL Connection Management in PHP - How (Not) To Do Things</title><content type='html'>OK, I think I see what he is explaining, he has a point on the wordpress constructor... they should create the resource static and check if it has been defined already... he focuses on the reuse of the DB object, so if you create a new DB object only use 1 connection. I was hoping for sharing DB connection between sessions.&lt;br /&gt;&lt;br /&gt; Sharing a DB connection between PHP instances can be done with pconnect.. but it's not a good idea.&lt;br /&gt; &lt;br /&gt;  The problem with wordpress is that the connection is opened at the beginning of every page. Multiple times. (There's a separate connection for the body of the page, and the sidebar, and the individual includes in the sidebar, etc etc).&lt;br /&gt; &lt;br /&gt;  He solved this problem by only opening a connection if a page is actually going to make a request.&lt;br /&gt; &lt;br /&gt;  The other problem (which he didn't address), is that wordpress holds open a connection for too long, and does too many queries. Loading the frontpage of a standard configuration wordpress blog issues 27 queries over 3 separate connections. Basically, wordpress is a mess. They went include crazy (just look at how many different includes there are for the header alone.. he went 3 includes deep to find the mysql connection).&lt;br /&gt;&lt;br /&gt; #####################&lt;br /&gt; First off, Wordpress only uses one connection for everything. Really. Unless you have a plugin or some other code making its own connection, all Wordpress queries are handled through the same connection.&lt;br /&gt; &lt;br /&gt;  The way it works is that, at the beginning of the execution, an instance of the wpdb class is created. Every query Wordpress does is through this one instance. It has one connection and it maintains it for the life of the execution cycle (until you see the generated page, basically).&lt;br /&gt; &lt;br /&gt;  What he's talking about is "lazy loading". See, when the instance of this class is created, it connects to the database right then and there. If the rest of the code then goes on and never uses that instance, you wasted your time connecting, yeah? His solution is to wait to actually connect until you need that connection. Basically, his patch eliminates the connection from the class constructor and creates a separate connect() function. Then, the query function is modified to check that a connection exists, and if not, call the connect() function to build one.&lt;br /&gt; &lt;br /&gt;  The benefit here is that if your page never hits the database for anything, then it never connects at all. This is smarter than the current Wordpress code.&lt;br /&gt; &lt;br /&gt;  However, it's also unnecessary, really. With Wordpress in particular, it would be extremely difficult to imagine a scenario where it doesn't actually hit the database. Everything comes from the database. Posts, sidebar content, anything dynamic, it all hits it. So this really isn't saving you anything for your average blog. Yes, he is correct that making the connection lazy makes more sense. However, it's a poor example, because Wordpress virtually *always* uses that database connection. Several times.&lt;br /&gt; &lt;br /&gt;  He also goes on about caching, and yes, caching is good. He doesn't talk about caching with Wordpress, but there are caching hooks in there and plugins which can use them (WP-Cache, for example). This sort of thing implements caching in a very smart manner... smarter than what he's talking about in his code snippets there, certainly. The upshot is that if you use something like WP-Cache, you get everything he's talking about and then some, making Wordpress extremely quick indeed.&lt;br /&gt; &lt;br /&gt;  Takes some setup, but what doesn't?&lt;br /&gt; ##################&lt;br /&gt;&lt;br /&gt; Anyone who uses func_get_args() like that needs to look at how they code. That's some seriously ugly code.&lt;br /&gt; &lt;br /&gt;  But the general concept is completely right and should be used my most apps.&lt;br /&gt;&lt;br /&gt; #################&lt;br /&gt; So now that we got the caching idea into our heads what would be the most effective medium for storing your cache?&lt;br /&gt;  Is it filesystem? or could we maybe use something like SQlite for it?&lt;br /&gt;&lt;br /&gt; memcached from &lt;a id="bodyLinks" rel="nofollow" class="user" target="_blank" href="http://www.danga.com/memcached/"&gt;http://www.danga.com/memcached/&lt;/a&gt; is what you're looking for. It's amazing. I'm doing about a billion cache look-ups a day with it on some older hardware. I'm doing with one old server what previously took four nice big new servers.&lt;br /&gt;&lt;br /&gt; ####################&lt;br /&gt; Interesting - but he's failed on one minor problem - that his caching algorithm uses the file system - a bigger problem than the one he is solving - the only way that this will work efficiently is if the blocks he is including a very complex (either in the SQL queries used OR in the processing that is performed on the output)&lt;br /&gt; &lt;br /&gt;  It is admittedly easy to produce and reuse the files - but there are problems with large directories if the site is getting into the sort of traffic that requires this sort of caching...&lt;br /&gt; &lt;br /&gt;  On a test version of our work server we were using file caching (and having to store temporary images) - we managed to break the file system by creating millions of files overnight - the systems team worked out that it would be quicker to reformat the system disk - and re-install the operating system that deleting all the files with rm (calculated time was somewhere near 32 days to remove files created in 12 hours!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115607950404200458?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://jpipes.com/index.php?/archives/99-MySQL-Connection-Management-in-PHP-How-Not-To-Do-Things.html' title='MySQL Connection Management in PHP - How (Not) To Do Things'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115607950404200458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115607950404200458'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/08/mysql-connection-management-in-php-how.html' title='MySQL Connection Management in PHP - How (Not) To Do Things'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115419947410427851</id><published>2006-07-29T13:54:00.000-05:00</published><updated>2006-07-29T13:57:54.393-05:00</updated><title type='text'>Linux Printing with CUPS</title><content type='html'>CUPS (Common Unix Printing System) version 1.2 was released last month, bursting with over 90 fabulous new features and improvements. Today we'll take a look at them and decide how fabulous they really are. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876"&gt;Push Windows Printer Drivers with CUPS&lt;/a&gt;&lt;br /&gt;Today you shall learn how to use CUPS and Samba together to set up automagic client printer installations. That's right, my hardworking friends, none of this dashing about to individual workstations burdened with driver disks and Windows CDs. The goal here is to never leave your snug underground lair.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115419947410427851?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.linuxplanet.com/linuxplanet/tutorials/6282/1/' title='Linux Printing with CUPS'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419947410427851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419947410427851'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/linux-printing-with-cups.html' title='Linux Printing with CUPS'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115419888160932416</id><published>2006-07-29T13:45:00.000-05:00</published><updated>2006-07-29T13:48:02.226-05:00</updated><title type='text'>How To Test Your Linux Firewall</title><content type='html'>This article shows how you can test your Linux firewall with a tool called FTester (Firewall Tester). With FTester you can check your firewall's filtering policies. The tool consists of two perl scripts, a packet injector (ftest) and the listening sniffer (ftestd). Furthermore, FTester also provides Intrusion Detection System (IDS) capabilities.&lt;br /&gt;&lt;br /&gt;This has more akin to Tomahawk (mentioned above). People are just trying to flex their muscle by proving they know about one-or-two tools.&lt;br /&gt;&lt;br /&gt;I use quite a few tools in my job including Tomahawk, Spike, THC-AMAP, Etherape, dsniff, TCP traceroute, aircrack/airsnort/airereplay/kismet (for wireless), ettercap, ethereal, fping, nemesis, driftnet, vomit, john the ripper, hydra, nikto, ngrep, ntop, arpwatch, dsniff, fragroute, nmap, nessus, nessus inline, cheops, metasploit (rarely), honeyd, firewalk, lids, tripwire, aide, stunnel, tcpdump/tcpreplay, bile, paketto, ISS scanner, eEye Retina, nCircle 360, SkyBox and more.&lt;br /&gt;&lt;br /&gt;A direct comparison with nmap isn't really fair as nmap will not analyse the output or munge the packet properly to simulate a multi-network origin. If you've got an Enterprise firewall with 15,000 rules, going through the output of nmap is very difficult, plus you'll have to make the nmaps look like you're coming from multiple different locations. nmap is great as a single tool from a much larger toolbox.&lt;br /&gt;&lt;br /&gt;This looks interesting, but a similar open source tool called Tomahawk (which is mainly used for testing IDS/IPS systems) has been around for a while - &lt;a href="http://tomahawk.sourceforge.net/"&gt;http://tomahawk.sourceforge.net/&lt;/a&gt; - I have to admit a vested interest, I used to work for the company that started the original Tomahawk project. With the Tomahawk you can take pcaps using TCPDUMP/Ethereal and then reply them through a device and you can even amplify (capture 10 Mbps worth of traffic, but play out 1 Gbps worth of traffic) and munge source/destination packets.&lt;br /&gt;&lt;br /&gt;The Tomahawk is designed for a different purpose than this tool, but if you're interested in this have a look at it. Like I said, this is another tool for the toolbox. Those that rely on one tool are only seeing/testing a very limited aspect of the network/host.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115419888160932416?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.howtoforge.com/test_your_linux_firewall_with_ftester' title='How To Test Your Linux Firewall'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419888160932416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419888160932416'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/how-to-test-your-linux-firewall.html' title='How To Test Your Linux Firewall'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115419870649470745</id><published>2006-07-29T13:39:00.000-05:00</published><updated>2006-07-29T13:45:07.050-05:00</updated><title type='text'>How to set up a mail server on a GNU / Linux system</title><content type='html'>Easy to follow howto on setting up a mail server. Based on an Ubuntu distribution platform, but instructions are distro generic.&lt;br /&gt;&lt;br /&gt;If you want to use the Debian way to a Postfix mail server, there is a guide here:&lt;br /&gt;&lt;a href="http://johnny.chadda.se/2005/04/30/postfix-howto/"&gt;http://johnny.chadda.se/2005/04/30/postfix-howto/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Only PDF at the moment I'm afraid.&lt;br /&gt;&lt;br /&gt;Here is a step by step on Debian that includes antivirus and spam filtering:&lt;br /&gt;&lt;a href="http://www.fatofthelan.com/articles/articles.php?pid=22"&gt;http://www.fatofthelan.com/articles/articles.php?pid=22&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Zimbra includes all* this and makes install as simple as: "./install.sh".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbra.com"&gt;http://www.zimbra.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* AJAX UI rather than SquirrelMail&lt;br /&gt;Internal IMAP rather than Courier&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.qmailrocks.org"&gt;http://www.qmailrocks.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The most comprehensive mail server setup guide for freebsd, linux, solaris, etc... Oh yeah Qmail is the fastest and most badass mail server no the planet. Google (gmail) runs a modified version of it, same with yahoo.&lt;br /&gt;&lt;br /&gt;QmailRocks is good for most distro's, but for RPM Based distros, there is also the QmailToaster&lt;br /&gt;&lt;br /&gt;&lt;a href="http://digg.com/linux_unix/Qmail_Toaster_makes_mail_server_setup_easy"&gt;http://digg.com/linux_unix/Qmail_Toaster_makes_mail_server_setup_easy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This project has made it very easy for any RPM based Linux distro to become a full functioning mail server, complete with webmail and imap-ssl.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115419870649470745?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://flurdy.com/docs/postfix/' title='How to set up a mail server on a GNU / Linux system'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419870649470745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419870649470745'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/how-to-set-up-mail-server-on-gnu-linux.html' title='How to set up a mail server on a GNU / Linux system'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115419417085151446</id><published>2006-07-29T12:19:00.000-05:00</published><updated>2006-07-29T12:29:31.456-05:00</updated><title type='text'>Howto install a Debian GNU/Linux system onto a USB flash thumbdrive with the root partition encrypted</title><content type='html'>&lt;a href="http://www.althack.com/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=27"&gt;How to Run Linux on a USB Drive&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Simple instructions for anyone looking for a portable installation that they can easily carry with them for use as rescue media, system administration or as a private workstation.  This site offers a great guide to booting a distribution of Damn Small Linux on a Lexar 512mb Jump Drive. It includes complete instructions with screenshots. Definitely worth a look!&lt;br /&gt;&lt;br /&gt;For more information on LUKS (Linux Unified Key Setup) see: &lt;a href="http://luks.endorphin.org/"&gt;http://luks.endorphin.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm glad it's getting out to people. It's using device mapping encryption that will work with (just about) any linux box. If you have a 500mhz cpu there's no huge reason to not use encryption. And unlike windows crappy encryption, you can encrypt the entire root filesystem, not just non system files / folders&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gentoo-wiki.com/SECURITY_Encrypting_Root_Filesystem_with_DM-Crypt_with_LUKS"&gt;http://gentoo-wiki.com/SECURITY_Encrypting_Root_Filesystem_with_DM-Crypt_with_LUK&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"Does bartpe support ext2 filesystems?"&lt;br /&gt;&lt;br /&gt;It does, but read-only: &lt;a href="http://www.bootcd.us/BartPE_Plugin_Details/58/Explore2fs.html"&gt;http://www.bootcd.us/BartPE_Plugin_Details/58/Explore2fs.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;irc.chatjunkies.org #linuxhelp if you need help setting it up lowkey hangs out in there&lt;br /&gt;&lt;br /&gt;FTA:"NOTE: This howto will only work if your device has been detected as /dev/sda because of how mkinitrd.yaird works." ...."mkinitrd.yaird"? -Never heard of that.&lt;br /&gt;&lt;br /&gt;I'm familiar with the original Debian how-to, what I have yet to find is a concise how-to for installing an OS on a *hard drive* encrypted at time of install. Not just the root, but the whole thing.&lt;br /&gt;&lt;br /&gt;Yaird - Yet Another Mkinitrd&lt;br /&gt;For more infor: &lt;a href="http://yaird.alioth.debian.org/"&gt;http://yaird.alioth.debian.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have found it useful to just install Knoppix onto a 1GB thumbdrive.&lt;br /&gt;&lt;br /&gt;The 700MB CD-ROM image fits rather nicely, giving just under 300MB of free space remaining on the thumbdrive.&lt;br /&gt;&lt;br /&gt;Knoppix doesn't use encrypted partitions, instead, it uses a large file that contains an encrypted filesystem. This actually works out better for installations designed to be portable, like USB keys. The reason is that device letters can often change on various computers, depending on what other drives are installed: for example, sda, sdb, sdc....&lt;br /&gt;&lt;br /&gt;By using a file instead of a partition, Knoppix can just search for this file, on all devices it can see. It saves having to directly mount a device, and then having that mount fail because the location changed. Also, the size of this file can be changed without having to repartition/reformat!&lt;br /&gt;&lt;br /&gt;Also, the main Knoppix CD-ROM data doesn't need to be encrypted, as there's no secrets there, and it remains read-only. So, you get a little better speed, as the entire USB key doesn't need to be encrypted.&lt;br /&gt;&lt;br /&gt;Here's my writeup of how to get Knoppix nicely installed to a USB key:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.knoppix.net/forum/viewtopic.php?t=23558"&gt;http://www.knoppix.net/forum/viewtopic.php?t=23558&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is slightly different from the method described on the FAQ, for various reasons I mention in the forum.&lt;br /&gt;&lt;br /&gt;If you want to support the development of Damn Small Linux you can purchase it on a bootable USB drive from here: &lt;a href="http://damnsmalllinux.org/usb.html"&gt;http://damnsmalllinux.org/usb.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ubuntulite.org/drupal/?q=node/1"&gt;http://www.ubuntulite.org/drupal/?q=node/1&lt;/a&gt;&lt;br /&gt;UbuntuLite might be a good way to get Ubuntu on a smaller size USB drive.&lt;br /&gt;Not too sure how far they've got with yet though, but it might be worth a try.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I prefer &lt;a href="www.puppylinux.org"&gt;www.puppylinux.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are usb "sticks" available which run linux. I have the BlackDog (see &lt;a href="http://www.projectblackdog.com"&gt;http://www.projectblackdog.com&lt;/a&gt;) . Another would be Gumstix (&lt;a href="http://www.gumstix.com"&gt;http://www.gumstix.com&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Feather Linux, it's about 128MB but has way more functionality then DSL.&lt;br /&gt;&lt;a href="http://www.chipnick.com/thumbdrive-linux"&gt;http://www.chipnick.com/thumbdrive-linux&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115419417085151446?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://feraga.com/node/30' title='Howto install a Debian GNU/Linux system onto a USB flash thumbdrive with the root partition encrypted'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419417085151446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115419417085151446'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/howto-install-debian-gnulinux-system.html' title='Howto install a Debian GNU/Linux system onto a USB flash thumbdrive with the root partition encrypted'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115413264564643137</id><published>2006-07-28T19:19:00.000-05:00</published><updated>2006-07-28T19:24:07.073-05:00</updated><title type='text'>Managing Linux Through Windows Active Directory</title><content type='html'>A nice article about connecting Linux Authentication to Windows Authentication.&lt;br /&gt;&lt;br /&gt;Check this how-to posted here a while back on Linux/AD Integration&lt;br /&gt;&lt;br /&gt;&lt;a href="http://thelazyadmin.com/index.php?/archives/381-LinuxUnix-Active-Directory-Authentication-Integration-Part-1.ht"&gt;http://thelazyadmin.com&lt;/a&gt;/index.php?/archives/381-LinuxUnix-Active-Directory-Authentication-Integration-Part-1.html&lt;br /&gt;&lt;br /&gt;&lt;a href="http://thelazyadmin.com/index.php?/archives/383-LinuxUnix-Active-Directory-Authentication"&gt;http://thelazyadmin.com/&lt;/a&gt;index.php?/archives/383-LinuxUnix-Active-Directory-Authentication&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not a complete authentication solution. Kerberos against a Windows ADS does work, but as laid out in the article, this does not present a SSO solution nor does it work for all authentication operations. It does get you about "80%" there, but there are holes. For one, if you managed all your users in ADS, you'll still need to create the users on each of the linux machines that the user(s) are allowed to use. You can work around this using samba and some user/group mappings, but it is something that anyone trying to manage users in one place should be aware of. Also, not all the linux modules use krb5. You may need to recompile or install the appropriate module with krb5 support and that still may not be enough. I can't recall if it's KDE or GNOME, but one of them let's you authenticate at login using kerberos against ADS, but if you then attempt to use the manager's "network explorer", the authentication fails (one of them fails silently and just denies you access, the other at least prompts you for you domain, username, and password even though you just entered the information at login). It is a starting point but these are probably better resources (even if not fully complete themselves):&lt;br /&gt;&lt;br /&gt;&lt;a href="http://redmondmag.com/columns/article.asp?EditorialsID=858"&gt;http://redmondmag.com/columns/article.asp?EditorialsID=858&lt;/a&gt;&lt;br /&gt;&lt;a href="http://redmondmag.com/features/article.asp?EditorialsID=422"&gt;http://redmondmag.com/features/article.asp?EditorialsID=422&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This should work at least 95% of the time when the service/program/etc uses PAM for authentication. Some can even use winbind directly, some (like GDM, etc) support kerberos directly but i have never had any real luck with them, tends to make more of a mess than anything.&lt;br /&gt;&lt;br /&gt;As far as having to set up samba, you have to do that already for pam-&gt;winbind-&gt;AD to work. And you don't need to create the users/groups locally (winbind takes care of that, try getent passwd/groups or wbinfo -u/g after samba/winbind is configured), but you do need to script the creation of the home directory on the first login (from skeleton, or maybe even grab it from a roaming profile possibly? how to keep it in sync though...).&lt;br /&gt;&lt;br /&gt;The whole process isn't trivial, but it isn't that hard either. Good tutorials/howtos are hard to come by (at least were 4 years ago when I first did this) but are getting better.&lt;br /&gt;&lt;br /&gt;I set up our Linux boxes to authenticate to our Active Driectory domain using Samba's winbindd, pam_winbind and pam_mkhomedir. Works well and has reduced my management headache a fair bit. &lt;a href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html"&gt;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html&lt;/a&gt; has all the related information.&lt;br /&gt;&lt;br /&gt;Why stop there, integrate all of it, samba, ldap, mail, etc...&lt;br /&gt;&lt;a href="http://www.fatofthelan.com/articles/articles.php?pid=24"&gt;http://www.fatofthelan.com/articles/articles.php?pid=24&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While the forum linked to in the post here seems valuable, here's the actual article link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linux-watch.com/news/NS4820656867.html"&gt;http://www.linux-watch.com/news/NS4820656867.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Web app authentication is much better handled with a simple LDAP bind. If you're in PHP, for instance:&lt;br /&gt;&lt;br /&gt;// Given $username and $passwd, try domain auth...&lt;br /&gt;// DC = domain controller, yourdomain.local = domain name&lt;br /&gt;$ad = ldap_connect("DC");&lt;br /&gt;ldap_set_option($ad, LDAP_OPT_PROTOCOL_VERSION, 3);&lt;br /&gt;&lt;br /&gt;$bd = @ldap_bind($ad, "$username@yourdomain.local", $passwd);&lt;br /&gt;if (!$bd) {&lt;br /&gt;// bad username or password&lt;br /&gt;} else {&lt;br /&gt;// logged in&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115413264564643137?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.nuxified.org/managing_linux_through_windows_active_directory_0' title='Managing Linux Through Windows Active Directory'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413264564643137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413264564643137'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/managing-linux-through-windows-active.html' title='Managing Linux Through Windows Active Directory'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115413222252066875</id><published>2006-07-28T19:13:00.000-05:00</published><updated>2006-07-28T19:17:02.866-05:00</updated><title type='text'>Single-Sign-On on Linux using LDAP with Active Directory</title><content type='html'>This article discusses how you can integrate Linux into a Windows-based network by making it authenticate against an Active Directory server and having it get passwd and group information from Active Directory as well.&lt;br /&gt;&lt;br /&gt;Also Note, Check your AD Schema version before trying to update using the LDF files listed. Windows Server 2003 R2 will have the attributes already integrated for Unix Support.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/windowsserver2003/r2/unixinterop/default.mspx"&gt;http://www.microsoft.com/windowsserver2003/r2/unixinterop/default.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We use Quest's (formerly Vintela) VAS product to integrate the *NIX systems into AD. It offers other benefits founds in Windows systems, now on the Unix boxes (Cache'd logon most imporantly, Group Policy support,etc.)&lt;br /&gt;&lt;br /&gt;LDAP IS NOT AN AUTHENTICATION PROTOCOL!&lt;br /&gt;&lt;br /&gt;First of all, you are correct about LDAP not being an authentication protocol.&lt;br /&gt;&lt;br /&gt;Kerberos is an excellent solution for many people wanting to maintain a single AD management system, except there is one problem that Kerberos can't solve for our solution. If you try and maintain a list of servers that users can and cannot log into.&lt;br /&gt;&lt;br /&gt;So for example, in our domain, we have 3 machines, 1) AD running for a single realm 2) Linux machine with pam_krb5, which you wish to auth against the AD server, that allows everyone to access it (that has an account on the AD system), and 3) Linux machine with pam_krb5, which you wish to auth against the AD server, that you want a select few(er) people to access that also auth against the AD server.&lt;br /&gt;&lt;br /&gt;Using Kerberos, computer 2 can auth against the AD server (1), and gain access to the machine, however, there is no way to maintain user access control for server 3 in this example.&lt;br /&gt;&lt;br /&gt;The only real way to control access is to use an LDAP solution.&lt;br /&gt;&lt;br /&gt;Firstly, Microsoft will support you even if you make schema changes, thats what the schemas is there for, to use, there are many products that reauire schema changes. But Microsoft support is a thing of wonder anyway, we've had to use it a few times and this last time for a cluster playing up they could only offer a solution where we build a whole new cluster.&lt;br /&gt;&lt;br /&gt;For my enterprise I purchased Suns AD Sync identity managment product. It is very cheap as the JES directory server stuff is free anyway. It is supported by Sun so if it breaks you still have someone to call.&lt;br /&gt;&lt;br /&gt;A job copies any new AD members to the Sun directory, and Unix boxen authenticate off that, it caches the encrypted password. No need for AD schema changes.&lt;br /&gt;&lt;br /&gt;Maybe it's not SSO but at least you are using AD creds on Unix, and it is supported.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxjournal.com/article/8374"&gt;http://www.linuxjournal.com/article/8374&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Better article with better scaling. Comes in 4 parts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115413222252066875?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.oo-services.com/en/articles/sso.aspx' title='Single-Sign-On on Linux using LDAP with Active Directory'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413222252066875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413222252066875'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/single-sign-on-on-linux-using-ldap.html' title='Single-Sign-On on Linux using LDAP with Active Directory'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115413184098689524</id><published>2006-07-28T19:10:00.000-05:00</published><updated>2006-07-28T19:10:41.300-05:00</updated><title type='text'>Turn your Linux web server into Fort Knox</title><content type='html'>An in depth article on how to secure your Linux web server. Who says that security is ever "easy"? It's a must-have for anybody running a web server - even if it's at home.&lt;br /&gt;&lt;br /&gt;I'm really surprised he didn't mention Denyhosts. Excellent program that prevents brute force SSH logins.&lt;br /&gt;&lt;a href="http://denyhosts.sourceforge.net/"&gt;http://denyhosts.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Denyhosts has definitely helped out our production servers by keeping the load averages down by blocking abusive ssh denial of service attacks. With some of the hardening mentioned in the article applied alongside Hardened Gentoo Linux a server could withstand allot of abusive exploit attacks. By using a system which compiles binaries as position independent every binaries memory execution insertion address is randomized. While this can be something more suited to administrators with a moderate to advanced understanding of compilers and programming architecture when used alongside grsecurity framework execution of a binary uses a different hexadecimal memory address which enforces a policy akin to winning the lottery for any malicious cracker. Our production 64bit and 32bit servers all have been using hardened gentoo for years and to date we have never experienced a system compromise. &lt;a href="http://hardened.gentoo.org"&gt;http://hardened.gentoo.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anti-virus/Anti-malware/anti-rootkit items like chkrootkit or rootkit hunter are, unfortunately, pretty useless when it comes to security.&lt;br /&gt;&lt;br /&gt;There is two reasons:&lt;br /&gt;A. Because the rootkit writers have access to those tools also. So all they have to do to defeat them is setup a Linux server and run those programs. If they are detected, then they simply have to modify how thier program works so that they aren't detected anymore. It's almost trivially easy to defeat them with old fasion 'conventional' rootkits.&lt;br /&gt;&lt;br /&gt;B. Also kernel module rootkits are popular nowadays anyways. These are kernel modules that modify how a kernel behaves in order to mask the rootkit itself. These are nearly impossible to detect.&lt;br /&gt;&lt;br /&gt;BTW since Windows 2000 started having acceptable security kernel driver level rootkits for Windows have become popular.&lt;br /&gt;&lt;br /&gt;The only realy effective way to detect a rootkit is to setup a program like Tripwire.&lt;br /&gt;&lt;br /&gt;Tripwire is a program that you use to make checksums of all the files on your computer, then later you can run it to check the checksums. You have to store the checksums output on a secure computer or secure read-only medium (like a cdrom disk.). Also Tripwire is only usefull if you run it from a different operating system then the one your currently running (like say booted up in knoppix cdrom).. This is because it can be defeated by false reports created by a kernel module level rootkit.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OpenBSD folks are probably going to be the formost on things like this that don't require special propriatory stuff or charge you money for information and such things, and are stuff you can impliment yourself.&lt;br /&gt;&lt;a href="http://www.bytelabs.org/papers.html"&gt;http://www.bytelabs.org/papers.html&lt;/a&gt;&lt;br /&gt;Check out the paper Paper title: "Integration of Security Measures and Techniques in an Operating System (considering OpenBSD as an example)"&lt;br /&gt;&lt;br /&gt;For Linux and GCC Redhat took a lot of work into rewriting ProPolice SSP (developed originally out of IBM's japan branch) and getting into the GCC release. I beleive it's in GCC 4.1.&lt;br /&gt;&lt;br /&gt;Also introduced into the lifetime of the 2.6.x kernel release has been things like heap protection and support for the 'no execute' bit and such.&lt;br /&gt;&lt;br /&gt;A example of this being used to protect a vunerable program is outlined in this Debian-Administrator.org article..&lt;br /&gt;&lt;a href="http://www.debian-administration.org/articles/408"&gt;http://www.debian-administration.org/articles/408&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And of course Wikipedia has a good article on it.&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/StackGuard"&gt;http://en.wikipedia.org/wiki/StackGuard&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Other things for Linux (like he mentioned)&lt;br /&gt;grsecurity &lt;a href="http://www.grsecurity.net/"&gt;http://www.grsecurity.net/&lt;/a&gt;&lt;br /&gt;AppArmor (from Novell) &lt;a href="http://www.novell.com/apparmor"&gt;http://www.novell.com/apparmor&lt;/a&gt;&lt;br /&gt;SELinux (from the NSA (United States Government) and made workable by Redhat for their Enterprise Linux and Fedora Core stuff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115413184098689524?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.freesoftwaremagazine.com/articles/hardening_linux' title='Turn your Linux web server into Fort Knox'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413184098689524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115413184098689524'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/turn-your-linux-web-server-into-fort.html' title='Turn your Linux web server into Fort Knox'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115276207452254748</id><published>2006-07-12T22:35:00.000-05:00</published><updated>2006-07-12T22:41:15.056-05:00</updated><title type='text'>Insights for a quick and easy Ubuntu printer installation</title><content type='html'>For a long time, setting up a printer in Linux has been somewhat challenging. But, it's been getting easier and easier. And today, setting up a printer in Ubuntu as simple as it gets - this article is firm evidence!&lt;br /&gt;&lt;br /&gt;This also follows on previous printing advice found &lt;a href="http://kevinuxtips.blogspot.com/2005/04/review-of-slashdot-discussion-of-cups.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;We bought an Epson Stylus D68 today in fact, after searching for it in &lt;a href="http://linuxprinting.org/printer_list.cgi"&gt;http://linuxprinting.org/printer_list.cgi&lt;/a&gt; and seeing that it worked. The description was that it "mostly worked" but we can't find what _doesn't_ work on it.&lt;br /&gt;&lt;br /&gt;We weren't using Ubuntu, but stock Debian. Literally three clicks using the browser-based CUPS interface and it worked. not a single thing needed to be installed. Test prints work from Opera, Firefox, OpenOffice, Gimp, KPDF..&lt;br /&gt;&lt;br /&gt;If you're thinking of buying a printer for your desktop, see this page: &lt;a href="http://linuxprinting.org/suggested.html"&gt;http://linuxprinting.org/suggested.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115276207452254748?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.freesoftwaremagazine.com/articles/printing_ubuntu' title='Insights for a quick and easy Ubuntu printer installation'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115276207452254748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115276207452254748'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/insights-for-quick-and-easy-ubuntu.html' title='Insights for a quick and easy Ubuntu printer installation'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115275604700618128</id><published>2006-07-12T21:00:00.000-05:00</published><updated>2006-07-12T21:00:47.250-05:00</updated><title type='text'>Advanced Bash-Scripting Guide</title><content type='html'>An in-depth exploration of the art of shell scripting&lt;br /&gt;&lt;br /&gt;This is the BEST tutorial to learn bash scripting, which in turn is one of the best programming languages out there. I highly recommend it to anyone who uses linux. Bash scripting is at the heart of it all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115275604700618128?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.tldp.org/LDP/abs/html/' title='Advanced Bash-Scripting Guide'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115275604700618128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115275604700618128'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/advanced-bash-scripting-guide.html' title='Advanced Bash-Scripting Guide'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-115275557627698408</id><published>2006-07-12T20:49:00.000-05:00</published><updated>2006-07-12T20:52:57.003-05:00</updated><title type='text'>SSH tricks</title><content type='html'>The article describes in a human language some of the powerful, yet very useful (even for total newbies) capabilities of OpenSSH, such as passwordless login, automatic execution of commands on a remote system or even mounting a remote folder using SSH.&lt;br /&gt;&lt;br /&gt;Three problems with this article:&lt;br /&gt;- Most people use SFTP, not SCP.&lt;br /&gt;- It's easier to tunnel a Samba session (if you really need to) than to install and use SSHFS.&lt;br /&gt;- They didn't mention the "-D" option, which in conjunction with tsocks allows you to tunnel any application through the encrypted connection, whether it has support for SOCKS or not.&lt;br /&gt;&lt;br /&gt;SFTP is perhaps the next step for users that upgraded from FTP access to a hosted web server, but I suspect most ssh users have migrated from the r commands and are using scp in place of rcp.&lt;br /&gt;&lt;br /&gt;Comparison...&lt;br /&gt;&lt;a href="http://winscp.net/eng/docs/protocols#protocol_comparison"&gt;http://winscp.net/eng/docs/protocols#protocol_comparison&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My favorite tool though is rsync. While I use rsync over ssh, I never understood why ssync wasn't created to do this job...&lt;br /&gt;&lt;br /&gt;SSH is great for tunneling BonJour/DAAP:&lt;br /&gt;&lt;a href="http://www.shokk.com/blog/articles/2006/02/06/getting-ipods-and-itunes-everywhere"&gt;http://www.shokk.com/blog/articles/2006/02/06/getting-ipods-and-itunes-everywhere&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, if only there were a light daap client so I could avoid starting up iTunes...&lt;br /&gt;&lt;br /&gt;Ssh is also really neat as part of an ANT script - so you can use all these neatness for your java deployments and automation.&lt;br /&gt;&lt;a href="http://www.jcraft.com/jsch/index.html"&gt;http://www.jcraft.com/jsch/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-115275557627698408?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://en.jakilinux.org/apps/ssh-tricks/' title='SSH tricks'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115275557627698408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/115275557627698408'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2006/07/ssh-tricks.html' title='SSH tricks'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-113362169157034491</id><published>2005-12-03T08:54:00.000-06:00</published><updated>2005-12-03T08:54:51.610-06:00</updated><title type='text'>Setup the SSH server to use keys for authentication « Raoul’s Land Reloaded!</title><content type='html'>Raoul’s Land Reloaded! has a good tutorial on how to set up an SSH server to use keys for authentication.  Good read and something to save for future reference.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-113362169157034491?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.raoul.shacknet.nu/2005/11/10/ssh-with-keys/' title='Setup the SSH server to use keys for authentication « Raoul’s Land Reloaded!'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113362169157034491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113362169157034491'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/12/setup-ssh-server-to-use-keys-for.html' title='Setup the SSH server to use keys for authentication « Raoul’s Land Reloaded!'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-113218977047195720</id><published>2005-11-16T19:09:00.000-06:00</published><updated>2005-11-16T19:09:30.526-06:00</updated><title type='text'>SSH scanning continues, some simple advice</title><content type='html'>The SANS Handler's Diary has a good overview of advice on their site.  In a nutshell they say:&lt;br /&gt;1 Run ssh on a non-standard port&lt;br /&gt;2 Choose good passphrases&lt;br /&gt;3 Monitor your logs&lt;br /&gt;Their updates are well worth the read for anyone who is looking to.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-113218977047195720?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://isc.sans.org/diary.php?storyid=846' title='SSH scanning continues, some simple advice'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113218977047195720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113218977047195720'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/11/ssh-scanning-continues-some-simple.html' title='SSH scanning continues, some simple advice'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-113150290930498452</id><published>2005-11-08T20:21:00.000-06:00</published><updated>2005-11-08T20:21:49.303-06:00</updated><title type='text'>ssh tunnel with mysql or other ways of securing port 3306</title><content type='html'>&lt;a href="http://www.webmasterworld.com/forum40/1010.htm"&gt;ssh tunnel with mysql&lt;/a&gt;Another site I need to save and access at a later date&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-113150290930498452?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.webmasterworld.com/forum40/1010.htm' title='ssh tunnel with mysql or other ways of securing port 3306'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113150290930498452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113150290930498452'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/11/ssh-tunnel-with-mysql-or-other-ways-of.html' title='ssh tunnel with mysql or other ways of securing port 3306'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-113150270024984143</id><published>2005-11-08T20:18:00.000-06:00</published><updated>2005-11-08T20:18:20.250-06:00</updated><title type='text'>Wicked Cool Shell Script -- by Dave Taylor</title><content type='html'>&lt;a href="http://www.intuitive.com/wicked/wicked-cool-shell-script-library.shtml"&gt;Shell Script Library :: Wicked Cool Shell Scripts: Unix, Linux, Mac OS X, Bash, Bourne Shell, scripting -- by Dave Taylor&lt;/a&gt; I've bought the book and this is an excellent site to go with the book&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-113150270024984143?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.intuitive.com/wicked/wicked-cool-shell-script-library.shtml' title='Wicked Cool Shell Script -- by Dave Taylor'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113150270024984143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/113150270024984143'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/11/wicked-cool-shell-script-by-dave.html' title='Wicked Cool Shell Script -- by Dave Taylor'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112432642253657332</id><published>2005-08-17T19:53:00.000-05:00</published><updated>2005-08-17T19:53:42.536-05:00</updated><title type='text'>VNC &amp; SSH</title><content type='html'>&lt;a href="http://jollyblog.squarespace.com/recent1/2005/6/30/vnc-ssh.html"&gt;Passivemode &lt;/a&gt;has a good tutorial on how to install an SSh server onto a Windows machine.  Good job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112432642253657332?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://jollyblog.squarespace.com/recent1/2005/6/30/vnc-ssh.html' title='VNC &amp; SSH'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112432642253657332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112432642253657332'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/08/vnc-ssh.html' title='VNC &amp; SSH'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112432629023182218</id><published>2005-08-17T19:51:00.000-05:00</published><updated>2005-08-17T19:51:30.250-05:00</updated><title type='text'>Remote SSH access and SSH tunneling with the WRT54G</title><content type='html'>&lt;a href="http://hetos.de/sshtut.html"&gt;hetos.de&lt;/a&gt; has a good tutorial on how and why you would want to create a SSH tunnel to connect a couple of computers.  The writer goes into some fairly good detail explaining what to to do connect between two systems.  something to keep in mind when trying to set up a connection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112432629023182218?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112432629023182218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112432629023182218'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/08/remote-ssh-access-and-ssh-tunneling.html' title='Remote SSH access and SSH tunneling with the WRT54G'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112360636756759510</id><published>2005-08-09T11:52:00.000-05:00</published><updated>2005-08-10T12:35:19.556-05:00</updated><title type='text'>How do I create and use Public Keys with SSH?</title><content type='html'>&lt;a href="http://ask-leo.com"&gt;ask-leo.com&lt;/a&gt; has a series of quick tutorials about how to set up SSH and set up public keys to be used with SSH and the other different utilites that work with SSH. Like SFTP, SecureCRT, and psftp.&lt;br /&gt;&lt;br /&gt;The Ask Leo site seems pretty good overall and worth the time to take a quick look through.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112360636756759510?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://ask-leo.com/how_do_i_create_and_use_public_keys_with_ssh.html' title='How do I create and use Public Keys with SSH?'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112360636756759510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112360636756759510'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/08/how-do-i-create-and-use-public-keys.html' title='How do I create and use Public Keys with SSH?'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112352484950868874</id><published>2005-08-08T13:14:00.000-05:00</published><updated>2005-08-08T13:14:09.510-05:00</updated><title type='text'>Tech jobs up in July </title><content type='html'>&lt;a href="http://news.com.com/Tech+jobs+up+in+July/2100-1022_3-5820754.html?part=rss&amp;amp;tag=5820754&amp;amp;subj=news"&gt;CNET News.com &lt;/a&gt;carries their monthly strly regarding tech employment.  In it they also reference a Hudson report which stated that the tech emplyment woes seems to have turned the corner last year and is improving steadily.  Not much time to add anything to this today so you'll have to read it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112352484950868874?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://news.com.com/Tech+jobs+up+in+July/2100-1022_3-5820754.html?part=rss&amp;tag=5820754&amp;subj=news' title='Tech jobs up in July '/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112352484950868874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112352484950868874'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/08/tech-jobs-up-in-july.html' title='Tech jobs up in July '/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112310987203078325</id><published>2005-08-03T17:57:00.000-05:00</published><updated>2005-08-08T11:19:12.420-05:00</updated><title type='text'>CVS Camcorder download alpha - not disposable anymore</title><content type='html'>&lt;a href="http://www.hackaday.com/entry/1234000640052943/"&gt;hackaday.com &lt;/a&gt; has the best review of the hack for the CVS disposable camcorder.  &lt;a href="http://www.makezine.com/blog/archive/2005/08/cvs_camcorder_u.html"&gt;MAKE: &lt;/a&gt;has an overview of the chronology of the hack.  The sourcecode for the software can be found on sourceforge.net.&lt;br /&gt;&lt;br /&gt;I bought one of the camcorders last week to take to a concert with me. One of the things I'll say is that the general video quality is pretty good. The audio from the concert didn't pick up so well though. I think the best use for this camcorder will be to use as an emergency camcorder, for use at parties when you want to get small groups of people together, or to give to children to play with.&lt;br /&gt;Keep in mind these camcorders only work with the light that is available. I tried to record my trip home one night and it didn't record so well. The video from the concert that I took of the ladies walking around came out pretty good. It'll be fun to put together a cable and reuse these camcorders.&lt;br /&gt;&lt;br /&gt;#########################################&lt;br /&gt;MAKE has updated their site with the&lt;a href="http://www.makezine.com/blog/archive/2005/08/how_to_cvs_vide_1.html"&gt; step by step tutorial&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112310987203078325?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.hackaday.com/entry/1234000640052943/' title='CVS Camcorder download alpha - not disposable anymore'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112310987203078325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112310987203078325'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/08/cvs-camcorder-download-alpha-not.html' title='CVS Camcorder download alpha - not disposable anymore'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112170967470491236</id><published>2005-07-18T13:01:00.000-05:00</published><updated>2005-07-18T13:01:14.703-05:00</updated><title type='text'>Tattle</title><content type='html'>&lt;a href="http://sodaphish.com/files/tattle"&gt;Sodaphish.com &lt;/a&gt;has a nice script that attempts to automatically notify domain authorities of machines in their domain that are actively performing SSH brute-force attacks.  A nice tool to have in your arsenal to protect your network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112170967470491236?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://sodaphish.com/files/tattle' title='Tattle'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112170967470491236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112170967470491236'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/07/tattle.html' title='Tattle'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112170938960657591</id><published>2005-07-18T12:56:00.000-05:00</published><updated>2005-07-18T12:56:29.636-05:00</updated><title type='text'>Recent SSH Brute-Force Attacks</title><content type='html'>&lt;a href="http://www.whitedust.net/article/27/Recent%20SSH%20Brute-Force%20Attacks/"&gt;Whitedust &lt;/a&gt;has a good article focusing on the recent rash of  Brute Force attacks.  The attacks haven't been an outbreak, but there has been someone trying to brute force their way into a good number of servers.  The nice thing about this article is the solutions and conclusions that the authors provide.  The solutions can be broken into denying Root Login, audit the logs for which names are beign used by the hackers, tracking down the domain authority from which an attack is being launched from, and finally changing the port number that someone uses.  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112170938960657591?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.whitedust.net/article/27/Recent%20SSH%20Brute-Force%20Attacks/' title='Recent SSH Brute-Force Attacks'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112170938960657591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112170938960657591'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/07/recent-ssh-brute-force-attacks.html' title='Recent SSH Brute-Force Attacks'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112154224738387618</id><published>2005-07-16T14:30:00.000-05:00</published><updated>2005-07-16T14:30:47.433-05:00</updated><title type='text'>How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Server 2003</title><content type='html'>&lt;a href="http://pigtail.net/LRP/printsrv/cygwin-sshd.html"&gt;How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Server 2003. &lt;/a&gt;This looks like a pretty good step by step of how to install SSH on a Windows box and a Linux box.  I haven't had much time to go through everything but I do want to mark this site to come back to at a later time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112154224738387618?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://pigtail.net/LRP/printsrv/cygwin-sshd.html' title='How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Server 2003'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112154224738387618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112154224738387618'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/07/how-to-install-openssh-sshd-server-and.html' title='How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Server 2003'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry><entry><id>tag:blogger.com,1999:blog-7552383.post-112112164750299161</id><published>2005-07-11T17:40:00.000-05:00</published><updated>2005-07-11T17:40:47.526-05:00</updated><title type='text'>WRT54G SSH tunneling tutorial</title><content type='html'>&lt;a href="http://hetos.de/sshtut.html"&gt;hetos.de &lt;/a&gt;is carring a good basic tutorial for beginners to SSH tunneling locally and remotely using WRT54GS open source firmware. Putty/puttygen/pagent is used as client in demos and Sveasoft's Alchemy firmware config page is featured. &lt;br /&gt;&lt;br /&gt;Some items to take note of are the Advantages and Limitations section.  In the various SSH articles I've seen I don't remember anyone talking about the different limitations of SSH.  These limitations seem to be focused on the limitations of SSH tunneling and not so much as general limitations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7552383-112112164750299161?l=kevinuxtips.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://hetos.de/sshtut.html' title='WRT54G SSH tunneling tutorial'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112112164750299161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7552383/posts/default/112112164750299161'/><link rel='alternate' type='text/html' href='http://kevinuxtips.blogspot.com/2005/07/wrt54g-ssh-tunneling-tutorial.html' title='WRT54G SSH tunneling tutorial'/><author><name>crow930</name><uri>http://www.blogger.com/profile/00494030457204436888</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17535280866833989326'/></author></entry></feed>