The most obviously moral/practical solution in my opinion would be to order the text used from Amazon and then read the pirated electronic version.
Ditto that. I see the above as the obvious ethical choice.
"You can have my Unix system when you pry it from my cold, dead fingers." -- Cal Keegan