<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Mon, 06 May 2013 14:20:00 +0100</lastBuildDate><item><title>OS X: Sync'ing keychains in the iCloud</title><link>https://www.linickx.com/os-x-syncing-keychains-in-the-icloud</link><description>&lt;p&gt;Keychains hold passwords, certificates and general secret stuff - only
do this if you understand the Apple will have access to this.... well
assuming they can crack your keychain password (&lt;em&gt;which they probably
can&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;Synchronising a keychain across macs could be useful, for example,
having a dedicated keychain for WiFi credentials.&lt;/p&gt;
&lt;p&gt;I stumbled across &lt;a href="http://forums.appleinsider.com/t/135212/hidden-drop-box-feature-in-mac-os-x-lion-lets-you-sync-files-across-macs"&gt;this link (dated Nov
2011)&lt;/a&gt;
and found that this still works!&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;~Library/Mobile Documents/&lt;/code&gt; folder is pushed to all iCloud enabled
computers, so I have created a new folder, and copied my WiFi keychain
into it:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#!/bin/bash
$ mkdir ~/Library/Mobile\ Documents/com~linickx~icloud
$ cp ~/Library/Keychains/wifi.keychain ~/Library/Mobile\ Documents/com~linickx~icloud/
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;If you only have one keychain &lt;code&gt;login.keychain&lt;/code&gt;, consider splitting out
the really secret stuff and only sync'ing the stuff you want to share
with apple.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Now open "Keychain Access", delete the original keychain and add/open
the iCloud copy. On any other Mac, add/open the iCloud keychain. Once
complete, any change to the keychain will be pushed to all Macs,
simplifying password changes :)&lt;/p&gt;
&lt;p&gt;I'm also using this to sync &lt;a href="http://dotfiles.github.io"&gt;dotfiles&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;You could use dropbox for this, one reason to use dropbox is that iCloud
sync seems to be a bit hit n miss; however Dropbox already have enough
of my secrets, I'm not suggesting that iCloud is more secure, it's just
better to have many baskets.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;FOOTNOTE:&lt;/strong&gt; &lt;a href="http://blog.stevex.net/2012/03/icloud-mobile-documents-not-syncing/"&gt;If your mobile documents folder isn't sync'ing, see this
post by
SteveX&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 06 May 2013 14:20:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2013-05-06:os-x-syncing-keychains-in-the-icloud</guid><category>apple</category><category>iCloud</category><category>keychain</category><category>mac</category><category>OS X</category><category>Security</category></item><item><title>OS X: anonymous ftp directory on Mountain Lion</title><link>https://www.linickx.com/os-x-anonymous-ftp-directory-on-mountain-lion</link><description>&lt;p&gt;Pretty much every google search I tried landed me on a mountain lion
server page, given I'm using &lt;em&gt;normal&lt;/em&gt; mountain lion on a macbook the
results were not much use!&lt;/p&gt;
&lt;p&gt;I use FTP to transfer images to various appliances, firewalls, proxies
etc so for speed and simplicity I need anonymous ftp. The default home
directory on 10.8 for anonymous FTP is /var/empty which is a special
directory which I didn't want to tamper with, once I found the right
stuff in the man page changing the home of thr anonymous FTP user wasn't
actually that hard...&lt;/p&gt;
&lt;p&gt;To get started, in case you need it, the command to start the FTP
service is:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo launchctl load /System/Library/LaunchDaemons/ftp.plist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and to stop:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo launchctl unload /System/Library/LaunchDaemons/ftp.plist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The config file is &lt;code&gt;/etc/ftpd.conf&lt;/code&gt;, mine looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# match umask from Mac OS X Server ftpd
umask all 022
chroot GUEST /Users/linickx/ftp
modify guest off
umask  guest 0707
upload guest on
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, I have changed the home directory of my anonymous user
to a folder called &lt;em&gt;ftp&lt;/em&gt; inside &lt;strong&gt;my&lt;/strong&gt; home directory.&lt;/p&gt;
&lt;p&gt;Now, there's some special security stuff you can do to that folder, see
&lt;code&gt;man ftpd&lt;/code&gt; for full details, but this should do you as a &lt;em&gt;minimun&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;\~ftp Make the home directory owned by ``root'' and unwritable by
anyone.&lt;/p&gt;
&lt;p&gt;\~ftp/pub This directory and the subdirectories beneath it should be
owned by the users and groups responsible for placing files in them,
and be writable only by them (mode&lt;br /&gt;
 755 or 775). They should not be owned or writable by ftp or its
group.&lt;/p&gt;
&lt;p&gt;\~ftp/incoming This directory is where anonymous users place files
they upload. The owners should be the user ``ftp'' and an
appropriate group. Members of this group will be&lt;br /&gt;
 the only users with access to these files after they have been
uploaded; these should be people who know how to deal with them
appropriately. If you wish anony-&lt;br /&gt;
 mous FTP users to be able to see the names of the files in this
directory the permissions should be 770, otherwise they should be 370.&lt;/p&gt;
&lt;p&gt;The following ftpd.conf(5) directives should be used:&lt;br /&gt;
 modify guest off&lt;br /&gt;
 umask guest 0707&lt;br /&gt;
 upload guest on&lt;/p&gt;
&lt;p&gt;This will result in anonymous users being able to upload files to this
directory, but they will not be able to download them, delete them, or
overwrite them, due&lt;br /&gt;
 to the umask and disabling of the commands mentioned above.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Happy FTP Everyone!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 22 Apr 2013 10:31:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2013-04-22:os-x-anonymous-ftp-directory-on-mountain-lion</guid><category>anonymous</category><category>ftp</category><category>mac</category><category>OS X</category></item><item><title>Secure your MAC to EAL3</title><link>https://www.linickx.com/secure-your-mac-to-eal3</link><description>&lt;p&gt;This hit my feed reader this morning...&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Atsec information security is pleased to announce the successful
Common Criteria Certification of Mac OS X Snow Leopard at EAL 3&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;small&gt;Reference:
&lt;a href="http://www.atsec.com/us/news-atsec-apple-mac-os10-6-common-criteria-evaluation-snow-leopard-184.html"&gt;http://www.atsec.com/us/news-atsec-apple-mac-os10-6-common-criteria-evaluation-snow-leopard-184.html&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;It took me a few minutes to find it, but if you want a certifiably
secure mac you need to follow &lt;a href="http://images.apple.com/support/security/commoncriteria/CC_AdminGuide.pdf"&gt;Apple's Admin
Guide&lt;/a&gt;
on their &lt;a href="http://support.apple.com/kb/DL75"&gt;Common Criteria page&lt;/a&gt;, I
know what I'll be doing later :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 21 Jan 2010 19:18:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-01-21:secure-your-mac-to-eal3</guid><category>Blog</category><category>eal3</category><category>OS X</category><category>Security</category></item><item><title>Getting Terminal / Console Connectivity in MAC OS X</title><link>https://www.linickx.com/getting-terminal-console-connectivity-in-mac-os-x</link><description>&lt;p&gt;It took me a couple of Googles to work this out... I have a &lt;strong&gt;Belkin
f5u103v&lt;/strong&gt; USB-to-Serial adapter and needed a console connection to a
Cisco switch.&lt;/p&gt;
&lt;p&gt;To get started install &lt;a href="http://www.apple.com/downloads/macosx/drivers/pl2303usbtoserialdriver.html"&gt;this driver from
apple&lt;/a&gt;
(&lt;em&gt;I think it needed a reboot&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;If this was successful when you connect the USB-to-Serial you'll be
asked if you want to setup a modem / network connection... say no. From
a terminal you should now see a new device similar to mine...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NickBook:~ nick$ ls /dev/cu*
/dev/cu.Bluetooth-Modem /dev/cu.PL2303-00001004 /dev/cu.Bluetooth-PDA-Sync
NickBook:~ nick$
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;em&gt;PL&lt;/em&gt; device disappears when I unplug the USB adapter. Next you then
need a copy of &lt;a href="http://en.wikipedia.org/wiki/Minicom"&gt;minicom&lt;/a&gt;, I
installed &lt;a href="http://www.macports.org/"&gt;macports&lt;/a&gt; and did
&lt;code&gt;port install minicom&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Since I don't want to re-invent the wheel now go to
&lt;a href="http://www.macosxhints.com/article.php?story=20040521145713551"&gt;http://www.macosxhints.com/article.php?story=20040521145713551&lt;/a&gt; and
&lt;strong&gt;Start at STEP 3&lt;/strong&gt; to configure minicom (&lt;em&gt;Obviously you'll replace
/dev/cu.USA19QI191P1.1 with something similar to
/dev/cu.PL2303-00001004&lt;/em&gt; ) once finished you'll be set.. happy terminal
session!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 19 Jan 2010 18:38:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-01-19:getting-terminal-console-connectivity-in-mac-os-x</guid><category>Blog</category><category>Cisco</category><category>OS X</category></item><item><title>MacBook Pro UK Keyboard Layout for Windows</title><link>https://www.linickx.com/macbook-pro-uk-keyboard-layout</link><description>&lt;p&gt;I've imported my windows box into VirtualBox
(&lt;em&gt;&lt;a href="http://www.virtualbox.org/wiki/Migrate_Windows"&gt;howto&lt;/a&gt;&lt;/em&gt;) and noticed
that the keyboard layout is all screwed up.&lt;/p&gt;
&lt;p&gt;My Googling suggests that a
&lt;a href="http://www.miscdebris.net/blog/2009/04/17/apple-keyboard-keymap-german-for-windows-running-as-guest-on-mac-os-x-host-in-virtualbox/"&gt;German&lt;/a&gt;
and &lt;a href="http://www.virtualbox.org/ticket/1871#comment:11"&gt;Swedish&lt;/a&gt;
bloke/bird/person have fixed this issue but no-one in the UK.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2010/01/English-UK-Apple-MacBook-Pro.zip"&gt;Attached is my UK Keyboard
layout&lt;/a&gt;,
also &lt;a href="https://www.linickx.com/files/2010/01/SOURCE-FILE-For-English-UK-Apple-MacBook-Pro-Keyboard-Layout.klc.zip"&gt;the source
file&lt;/a&gt;
so you can use &lt;a href="http://msdn.microsoft.com/en-us/goglobal/bb964665.aspx"&gt;microsoft keyboard layout
creator&lt;/a&gt; to make
your own.&lt;/p&gt;
&lt;p&gt;To use, simply unzip, run setup, and then in your keyboard settings
(&lt;em&gt;control panel&lt;/em&gt;) change to "&lt;strong&gt;English UK - Apple MacBook Pro&lt;/strong&gt;" ... you
may wish to remove the default UK keyboard to avoid confusion.&lt;/p&gt;
&lt;p&gt;This works well for me in VirtualBox, I would expect it to work in
VMWARE / Parallels but I've not tested it, as with everything I do YMMV
:)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 18 Jan 2010 15:28:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-01-18:macbook-pro-uk-keyboard-layout</guid><category>OS X</category><category>virtualbox</category><category>Windows</category></item><item><title>Silence on LINICKX.com</title><link>https://www.linickx.com/silence-on-linickx-com</link><description>&lt;p&gt;It's been a bit quiet on here; x-mas was "louder" than normal there
seemed to be more to do than normal and I forgot to schedule some
seasons greetings on the 25/12 &amp;amp; 01/01 so my apologies. I've acquired
extra time-sinks, I'm now a MAC Fanboy as I've brought a &lt;a href="http://www.apple.com/macbookpro/" title="Mac Book Pro"&gt;shiny new
toy&lt;/a&gt; (&lt;em&gt;expect &lt;a href="https://www.linickx.com/archives/tag/os-x"&gt;mac
related posts&lt;/a&gt;&lt;/em&gt;) :D . My Cisco
Certification is due for renewal so I really really should study and I
have "&lt;em&gt;&lt;a href="https://www.linickx.com/archives/tag/project-r" title="Project R"&gt;Project
R&lt;/a&gt;&lt;/em&gt;" which is
a weekend project ... basically a website for a friend.... oh and thanks
to all the &lt;a href="http://news.bbc.co.uk/1/hi/uk/8455579.stm"&gt;recent snow&lt;/a&gt;
around here &lt;a href="https://www.linickx.com/archives/tag/audi"&gt;the car&lt;/a&gt; really
needs a clean!&lt;/p&gt;
&lt;p&gt;So, I should get on, get organised and be grateful that &lt;a href="https://www.linickx.com"&gt;this
time-sink&lt;/a&gt;helps organise my thoughts.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 13 Jan 2010 17:46:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-01-13:silence-on-linickx-com</guid><category>Blog</category><category>lifeblog</category><category>OS X</category><category>Project R</category></item></channel></rss>