Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the best-selling Take Control ebooks.

 

 

Pick an apple! 
 
Find Text Leading from Acrobat PDF

Ever have to recreate a document from an Acrobat PDF? You can find out most everything about the text by using the Object Inspector, except the leading. Well, here's a cheesy way to figure it out. Open the PDF in Illustrator (you just need one page). Release any and all clipping masks. Draw a guide at the baseline of the first line of text, and one on the line below. Now, Option-drag the first line to make a copy, and position it exactly next to the original first line at baseline. Then put a return anywhere in the copied line. Now adjust leading of the copied lines, so that the second line of copy rests on the baseline of the second line of the original. Now you know your leading.

Or you could buy expensive software to find the leading. Your choice.

Visit Mac Production Artist Tips and Scripts

Submitted by
Greg Ledger

 
 

Hackers Can Root Macs by Going Back in Time

Send Article to a Friend

A bug in OS X 10.8 Mountain Lion and 10.7 Lion allows attackers to gain superuser access if they reset the clock to 1 January 1970. The bug shouldn’t affect most people, as the attacker also needs shell access to the Mac, and the user must have enabled superuser access in the past.favicon follow link

 

Comments about Hackers Can Root Macs by Going Back in Time
(Comments are closed.)

James Bailey  An apple icon for a TidBITS Supporter 2013-09-03 12:08
There is a partial workaround for this problem that I use. I edit the bash logout file .bash_logout to include this line:

sudo -K

(that's a capital K).

This will remove any past sudo shell access from your history and block this exploit but only when you logout from the shell. When using sudo for anything, I always create a new shell window in Terminal and exit when I'm done. This ensures that the logout script runs.

The best part is that if or when Apple fixes this, you don't really have to do anything because the only consequence to doing this is that you get the initial warning message each time you used sudo instead of just the first time.