If you buy an O’Reilly ebook from oreilly.com, you may lend it to another person, provided that you do not retain any copies of the book after you lend it. This is the same as the situation when you lend a used print copy -- when you lend the copy, you deliver it to the buyer and no longer have a copy in your library. If you have bought a hard copy/ebook bundle, you may of course retain the hard copy, if you sell the ebook.
By the way, because the lifetime access is a special benefit available only to those who purchase ebooks directly from us, the lifetime access benefit is not transferable to the recipient of your used ebook.
Customer Service Rep,