Skip to content

Monthly Archives: January 2010

Locking down a publicly-exposed ssh server

26-Jan-10

I’ve disabled all authentication types (including PAM)–at least the ones that aren’t disabled by default. Since public key authentication is on by default, I don’t have to change it.

Bash script to search for 3-letter domains

23-Jan-10

Here it is for the TLD: And here it is for the TLD: You’ll note that the expression being ed for is different between the two: there’s no universal method of detecting the existence/non-existence of domains that works for all TLD’s. Be the first to like. Like Unlike

Using self-hosted URL shortener YOURLS

20-Jan-10

While setting this up, I noticed that there’s an option for a self-hosted URL shortener called YOURLS. This thing rocks! It shortens URL’s, collects statistics, and allows custom shortened URL’s.

Setting up automated ZFS snapshots on FreeBSD

20-Jan-10

Using the port sysutils/zfs-snapshot-mgmt. The make is taking a while, because it had to pull in Ruby. Luckily, my new FreeBSD machine has a whopping 160 GB hard drive. No worries. However, I wonder if I should’ve used the alternative. Just didn’t want to install something that doesn’t register with the FreeBSD packages/ports. Initially left […]

Sharing Samba shares between users

19-Jan-10

As far as the UNIX groups, etc., I created a UNIX group called [cci]Users[/cci] to house the entire family. The UNIX directory [cci]/tank/Users/Public[/cci] has the group set to [cci]Users[/cci]. So, only members of the group can read/write (at the UNIX) level, and only the wife and I can write at the Samba level.

Freebsd + Samba with ZFS

18-Jan-10

I then used the following script to create user ZFS filesystems under the /tank directory, for each user, and with compression on for the [cci]Documents[/cci] directory:

OpenSolaris dev b130 (Xorg crash) and SATA drive incompatibilities

15-Jan-10

I’ve recently got my OpenSolaris machine set up pretty much all right. During this set up, I disabled/disconnected a few hard drives. Namely, B) an external eSATA/USB Maxtor model 250 GB hard drive C) an internal SATA Maxtor model 250 GB hard drive, and D) an external 1 TB USB drive. Now that the set […]

OpenSolars 2009.06 to dev b130: Xorg modules, ICEauthority, ptmx

15-Jan-10

Following my previous investigation, it seemed like Xorg was looking for modules in the wrong place. I therefore edited Xorg.conf and removed the entire . That fixed the problem of X not starting. Then, I had a problem with .ICEauthority. Apparently, it used to be in , but is now in . The thing to […]

Follow up 1: OpenSolaris xorg failure after upgrading 2009.06 to dev b130

14-Jan-10

Update 8 AM This post on xwin-discuss explains the changes that caused this failure in xorg startup. Original Post OK. So, it seemed like a lot of stuff was missing. So, I tried to un-install and re-install the corresponding Xorg packages. I did a: When I tried to reinstall these packages, I got: The way […]

OpenSolaris Xorg failure after upgrading 2009.06 to dev b130

14-Jan-10

As I said in my previous post OpenSolaris image-update from 2009.06 to dev b130, I was worried that Xorg wouldn’t start up after I upgraded to b130. That’s exactly what happened: no Xorg. Luckily, there was an Xorg.log.0 (in /var/logs): Basically, a lot of stuff is missing from . I tried doing a , but […]