Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to resize a pdf file to crop its surrounding white border. I can crop it using PDF-Shuffler on Ubuntu. But cant save the change, because of owner password protection. When i try to open that file using PDF-Editor, it asked for that password.

Since I dont know that owner password, so cant use regular recovery system. There are lots of online system too, but thats very slow process even most of those cant remove owner password. Now looking for a script/software specially for Ubuntu to remove that owner password.

share|improve this question

1 Answer 1

Ubuntu repositories have a tool called pdfcrack that can be installed using the package manager. This can attempt to brute-force (guess) the password for you.

Important note: in many countries the penalties for circumventing encryption are very severe. Be sure you have the legal right to crack the password before continuing.

Open a terminal and do something like this:

sudo apt-get install pdfcrack
pdfcrack -f MYFILE.PDF
share|improve this answer
    
In the USA you could be performing illegal activities if PDF cracking falls under the DMCA. While I don't think they're going to knock down your doors, it's important to know. Since I'm in Canada, I appreciate now knowing about pdfcrack, for those one-off's. –  BloodyIron May 1 '12 at 16:43
    
@dwurf, thanks a lot. I will try it and remember your warning. –  Sadat May 1 '12 at 17:23
    
@dwurf,pdfcrack cant detect OWNER PASSWORD PROTECTION. –  Sadat May 1 '12 at 17:25
    
@Sadat from the website: - Supports cracking both owner and userpasswords –  dwurf May 1 '12 at 21:24

protected by slhck May 3 '12 at 8:53

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.