Monday, January 17, 2005
An obscure frailty at the base of all unix systems, including OS X
MacInTouch Home Page
[Scott Boone] The 'short name' used by the system is mapped to a (supposed to be) unique user identifier (number). This mapping can be seen using NetInfo Manager. It is an age-old problem whereby these 'unique' identifiers collide, and is a legacy reminder that unix was NOT invented in the Internet era. Combined with the fact that the unique identifiers are used sequentially (typically starting at 500 or 1000) when creating user accounts, such problems are nearly inevitable; the first user you create on each account, even with different names or passwords, will have the same ID.This is a bit amazing on first glance. The fundamental UNIX user identifier is an integer that increments with each user added. The text username is a convenience that's mapped to that integer. It's ok that usernames aren't unique (neither are text usernames, but they don't overlap as much as the first 25 integers do!), but it's a poor behavior that to mislead the universe about the nature of the fundamental user indentifier. Of course this wasn't designed, this behavior arose as an accident of the evolution of UNIX. It's an example of how very early decisions persist as environments change. This kind of forgotten vestige of prior evolution is fodder for crackers. There are biological equivalents -- bits of protein that viruses need but may no longer have much value for us.
Also because of the inherent 'trust' given to a mounted volume, passwords are NOT USED AT ALL to protect files on an individual basis. This is, in fact, a common vector for getting to other users' files--you need only to utilize a second system that can mount the target volume and then change your UID to match the target user's to gain access to that user's data. Backup tapes and backup files are historical favorites.
An easy way to see these numerical IDs in action is to perform this command in the Terminal: ls -aln - that will spit out a long directory listing, with the -n switch causing the output to NOT convert the user/group IDs.
Sunday, January 16, 2005
Yahoo! Desktop Search (X1) review by PC Magazine
Yahoo! Desktop Search review by PC Magazine
They liked it. It's quite a good review, they make some of the same points I made.
Lookout for Outlook + YDS covers what I need at work. At home I need to search Eudora. Looks like YDS doesn't do that, but X1 commercial does. So X1 + Lookout together would do the job. I'll have to see if X1 will offer an upgrade path at less than list price.
They liked it. It's quite a good review, they make some of the same points I made.
Lookout for Outlook + YDS covers what I need at work. At home I need to search Eudora. Looks like YDS doesn't do that, but X1 commercial does. So X1 + Lookout together would do the job. I'll have to see if X1 will offer an upgrade path at less than list price.
Moving iTunes Libraries: the SMB version
iBook, iPod and OS X: News, Notes and References
On the one hand, iTunes is very adaptive. It can handle a lot of upset in where files are stored. On the other hand, Apple provides NO help with moving an iTunes library between machines or between files stores. Their support site mentions using an iPod to make the move; a technique that that's roughly the equivalent of moving a house by chopping it into pieces and throwing it in a large bin.
There are many ways to move an iTunes Library. OS X Hints has mentioned a few. This is only my experience -- and it's very anomalous.
Background
There are 3 parts to an iTunes Library. The first tow of these always travel together. The third can be anywhere, but the default location is set by iTunes. (Music folder, My Music, etc)
There are two techniques. The first technique leaves the iTunes database in the default location (user folder if you're using a Mac). The second technique, which is riskier but is the one I started with, moves the iTunes Library database too.
Technique One: Move the music only
This is the more official technique. Configure iTunes so it manages music (keep library consolidated). Use Consolidate Library menu item in the Advanced menu. In the advanced preferences change the location of the library. When asked if you wish to move the files, say yes. iTunes moves the files. The database doesn't move.
Technique Two: Move music and database to a remote drive
Once upon a time I moved all my iTunes music from my iBook to an SMB share. Alas, I'm not sure how I did it! I've since moved that music to a different SMB share. I sort of know how I did that. So this is really a reconstruction of what I think I did. It is probably not correct, but it might provide some insights.
Technique Three: Moving to a new machine
I haven't done this yet. I think it would go something like this:
On the one hand, iTunes is very adaptive. It can handle a lot of upset in where files are stored. On the other hand, Apple provides NO help with moving an iTunes library between machines or between files stores. Their support site mentions using an iPod to make the move; a technique that that's roughly the equivalent of moving a house by chopping it into pieces and throwing it in a large bin.
There are many ways to move an iTunes Library. OS X Hints has mentioned a few. This is only my experience -- and it's very anomalous.
Background
There are 3 parts to an iTunes Library. The first tow of these always travel together. The third can be anywhere, but the default location is set by iTunes. (Music folder, My Music, etc)
- iTunes 4 Music Library (PC version has the extension .itl): This is a binary file. This is the true iTunes database. I think iTunes gets the location of this binary database file from the plist file (Mac) or registry (PC).
- iTunes Music Library.xml: This is an ascii file. I think iTunes generates this from the binary file. It's used by applications other than iTunes. I believe one could delete this file and iTunes would regenerate it, I've not tested that.
- iTunes Music (may have other names): This is the folder iTunes uses for music it manages. If you import from CD, the compressed files are stored here. The iTunes database poins to music in this folder. In fact you can have many different folders with music on many different machines, all indexed by the iTunes database, but only one of them is actively managed.
There are two techniques. The first technique leaves the iTunes database in the default location (user folder if you're using a Mac). The second technique, which is riskier but is the one I started with, moves the iTunes Library database too.
Technique One: Move the music only
This is the more official technique. Configure iTunes so it manages music (keep library consolidated). Use Consolidate Library menu item in the Advanced menu. In the advanced preferences change the location of the library. When asked if you wish to move the files, say yes. iTunes moves the files. The database doesn't move.
Technique Two: Move music and database to a remote drive
Once upon a time I moved all my iTunes music from my iBook to an SMB share. Alas, I'm not sure how I did it! I've since moved that music to a different SMB share. I sort of know how I did that. So this is really a reconstruction of what I think I did. It is probably not correct, but it might provide some insights.
- Copy the iTunes music folder, database files and music folders alike, to the server.
- Create a shortcut (alias) to the new music files.
- Remove the default iTunes folder and replace it with the shortcut.
- Start iTunes. You may need to use the Advanced consolidate library feature. (Astoundingly I think I did this and it worked, but I don't see why it worked. I think iTunes may use relative paths in the binary database, and updates the XML with abolute paths.)
Technique Three: Moving to a new machine
I haven't done this yet. I think it would go something like this:
- Consolidate the library as in Technique One.
- Copy the database files and the music to the default location in the new machine.
- Start iTunes.
- Remove the shortcut.
- Copy the music files and database over to replace the shortcut.
- Fire it up and see what happens!
Saturday, January 15, 2005
Biggest iPod usability issue: the alarm design
Apple - Discussions - Biggest usability issue: the alarm
I like using my iPod as an alarm clock (3G). This taught me the biggest usability issue for an iPod.
When you set the alarm, it stays on. So set it at 6am. Wake up. Turn off the iPod. Pack it. At 6am the next day, the iPod starts up. If one doesn't check it, the iPod gets bounced around all day with the disk spinning -- until it finally runs out of power. It doesn't matter whether the iPod is locked off, it will still power up.
Ok, so I'm an older demented gomer. Maybe everyone else remembers to turn off the device. Or, forgetting about the alarm, maybe they decide their iPod is broken (powering on by itself) and send it in for repairs.
Perhaps Apple should change the behavior so the alarm turns off after it activates.
Frontpage Server Extensions for Windows XP
Where can I get Frontpage Server Extensions for Windows XP?
I"m still, sigh, dependent on FrontPage. I run FrontPage 98, the application went down the toilet after that version. I need to install the extensions on XP. This page is a good resource for that.
I"m still, sigh, dependent on FrontPage. I run FrontPage 98, the application went down the toilet after that version. I need to install the extensions on XP. This page is a good resource for that.
Friday, January 14, 2005
Technorati Tags: another small step towards the semantic web
Technorati: Using Technorati Tags
We seem to be approach the ancient vision of a semantic web one inch at a time. It feels like evolution in action.
This isn't practical for blogger yet.
We seem to be approach the ancient vision of a semantic web one inch at a time. It feels like evolution in action.
This isn't practical for blogger yet.
Subscribe to:
Posts (Atom)