<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.townx.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>townx - Removing a password from a PDF on Linux - Comments</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux</link>
 <description>Comments for &quot;Removing a password from a PDF on Linux&quot;</description>
 <language>en</language>
<item>
 <title>THANK YOU!!!</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41545</link>
 <description>&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;THANK YOU&lt;/span&gt;!!!&lt;/p&gt;</description>
 <pubDate>Tue, 20 Sep 2011 20:29:27 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 41545 at http://www.townx.org</guid>
</item>
<item>
 <title>Worked like a charm.

thanks</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41474</link>
 <description>&lt;p&gt;Worked like a charm.&lt;/p&gt;

&lt;p&gt;thanks a bunch!&lt;/p&gt;</description>
 <pubDate>Mon, 29 Aug 2011 15:19:54 -0500</pubDate>
 <dc:creator>Rich</dc:creator>
 <guid isPermaLink="false">comment 41474 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks, works perfect. I had</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41319</link>
 <description>&lt;p&gt;Thanks, works perfect. I had a lot of files secured with the same password, installed the utilities and made a small script. 15 min and I am done on more than 100 files&lt;/p&gt;</description>
 <pubDate>Wed, 20 Apr 2011 01:10:57 -0500</pubDate>
 <dc:creator>Mijo</dc:creator>
 <guid isPermaLink="false">comment 41319 at http://www.townx.org</guid>
</item>
<item>
 <title>Awesome</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41145</link>
 <description>&lt;p&gt;So simple - worked for me.  Thanks a bunch!&lt;/p&gt;</description>
 <pubDate>Sat, 11 Dec 2010 21:09:57 -0600</pubDate>
 <dc:creator>oldmankit</dc:creator>
 <guid isPermaLink="false">comment 41145 at http://www.townx.org</guid>
</item>
<item>
 <title>special characters in password (qpdf &amp; ubuntu terminal)</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41139</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I guess qpdf works very well for most cases, however I&#039;m experiencing a problem where the password contains special characters:&lt;/p&gt;

&lt;p&gt;qpdf --password=ÖPViCiYJ --decrypt 1_pw.pdf 1.pdf&lt;br /&gt;
1_pw.pdf: invalid password&lt;/p&gt;

&lt;p&gt;(Yes, in Adobe Reader the very same password works.)&lt;/p&gt;

&lt;p&gt;Any ideas how to enter &quot;Ö&quot; in terminal so that qpdf understands it?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;Mike&lt;/p&gt;</description>
 <pubDate>Tue, 07 Dec 2010 12:16:46 -0600</pubDate>
 <dc:creator>Mike</dc:creator>
 <guid isPermaLink="false">comment 41139 at http://www.townx.org</guid>
</item>
<item>
 <title>I did it by using</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41081</link>
 <description>&lt;p&gt;I did it by using pdfshuffler, it is a linux tool for deleting,adding,and shuffling pages.&lt;/p&gt;</description>
 <pubDate>Sat, 06 Nov 2010 11:49:11 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 41081 at http://www.townx.org</guid>
</item>
<item>
 <title>It&#039;s also not free and a rip</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-41049</link>
 <description>&lt;p&gt;It&#039;s also not free and a rip off considering qpdf does the same thing at no cost.&lt;/p&gt;</description>
 <pubDate>Wed, 20 Oct 2010 10:03:18 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 41049 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks a lot</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40916</link>
 <description>&lt;p&gt;Very useful for me.&lt;/p&gt;</description>
 <pubDate>Fri, 27 Aug 2010 12:30:12 -0500</pubDate>
 <dc:creator>Deniz Ogut</dc:creator>
 <guid isPermaLink="false">comment 40916 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks!</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40913</link>
 <description>&lt;p&gt;Very useful tip. Thanks!&lt;/p&gt;</description>
 <pubDate>Thu, 26 Aug 2010 14:04:22 -0500</pubDate>
 <dc:creator>Kevin at UVic</dc:creator>
 <guid isPermaLink="false">comment 40913 at http://www.townx.org</guid>
</item>
<item>
 <title>qpdf works for me!</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40823</link>
 <description>&lt;p&gt;Thanks for this info.  qpdf worked perfectly for me.&lt;/p&gt;</description>
 <pubDate>Mon, 26 Jul 2010 09:13:27 -0500</pubDate>
 <dc:creator>Liberator</dc:creator>
 <guid isPermaLink="false">comment 40823 at http://www.townx.org</guid>
</item>
<item>
 <title>remove PDF Password</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40801</link>
 <description>&lt;p&gt;You can use &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt; Password Remover to Reremove password-protection or encryption from the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;&lt;/p&gt;

&lt;p&gt;document. Advanced &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt; Password Remover is a free tool which removes encryption from &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;files. &lt;/p&gt;

&lt;p&gt;It removes all the basic restrictions on printing, copying and editing the content of &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;files. &lt;/p&gt;

&lt;p&gt;It also removes password protection, if any, from the file.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.advancedpdfconverter.com/products/pdfpasswordremover.html&quot; title=&quot;http://www.advancedpdfconverter.com/products/pdfpasswordremover.html&quot;&gt;http://www.advancedpdfconverter.com/products/pdfpasswordremover.html&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 09 Jul 2010 03:22:43 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 40801 at http://www.townx.org</guid>
</item>
<item>
 <title>xpdf-utils conflicts with</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40477</link>
 <description>&lt;p&gt;xpdf-utils conflicts with gutaprint packages wich needed for Epsons printers to work.&lt;br /&gt;
if you install xpdf-utils you will loose gutaprint&lt;/p&gt;</description>
 <pubDate>Tue, 30 Mar 2010 10:53:30 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 40477 at http://www.townx.org</guid>
</item>
<item>
 <title>The pdftops and pstopdf</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40436</link>
 <description>&lt;p&gt;The pdftops and pstopdf approach is sufficient.  It keeps the text and is searchable.  Page size is the same, everything is the same except now it doesn&#039;t ask me for a password.  No need to buy a commercial application that may not even run on Wine.&lt;/p&gt;</description>
 <pubDate>Sun, 14 Mar 2010 13:38:37 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 40436 at http://www.townx.org</guid>
</item>
<item>
 <title>nice</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40379</link>
 <description>&lt;p&gt;Thanks for the tip :)&lt;/p&gt;</description>
 <pubDate>Wed, 24 Feb 2010 18:44:59 -0600</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 40379 at http://www.townx.org</guid>
</item>
<item>
 <title>Just reprint as PDF?</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-40320</link>
 <description>&lt;p&gt;Not quite. A lot of secure &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;s will not print even after a password has been used successfully to open them.&lt;P&gt;As an Ubuntu user, I found the qpdf package mentioned above to be the best solution; &lt;BR&gt;&lt;b&gt;qpdf --password=********* --decrypt secure_version.pdf new_derypted_version.pdf&lt;/b&gt;&lt;/p&gt;</description>
 <pubDate>Sat, 06 Feb 2010 22:39:55 -0600</pubDate>
 <dc:creator>Lancer</dc:creator>
 <guid isPermaLink="false">comment 40320 at http://www.townx.org</guid>
</item>
<item>
 <title>Removing a password from a PDF on Linux</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux</link>
 <description>&lt;p&gt;I just bought a &lt;span class=&quot;caps&quot;&gt;PDF, &lt;/span&gt;legally, from a publisher&#039;s website. However, in their wisdom, they decided it would be a good idea to password protect all legally-purchased &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;s. This means that each time you open the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;using Acrobat Reader, you have to remember and type in the password to read it. (Evince, the built-in &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;viewer in Linux, allows you to permanently save the password, but I tend to use Acrobat as it copes better with some &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;s.)&lt;/p&gt;

&lt;p&gt;So, if you know the password for a &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;and want to remove it, you can use the command line tools &lt;strong&gt;pdftops&lt;/strong&gt; and &lt;strong&gt;ps2pdf&lt;/strong&gt; to free your &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;from its chains.&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;Install pdftops. On Ubuntu, you can do:&lt;br/&gt;&lt;tt&gt;apt-get install xpdf-utils&lt;/tt&gt;&lt;/li&gt;
&lt;li&gt;Install ps2pdf. I think this is already included with a default Ubuntu.&lt;/li&gt;
&lt;li&gt;Convert the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;to a postscript file, using the password:&lt;br/&gt;&lt;tt&gt;pdftops -upw &amp;lt;password&amp;gt; &amp;lt;file&amp;gt;.pdf&lt;/tt&gt;&lt;/li&gt;
&lt;li&gt;Convert the resulting postscript (which is now sans password) back to a &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;:&lt;br/&gt;&lt;tt&gt;ps2pdf &amp;lt;file&amp;gt;.ps&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;The only thing you lose are any &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;-specific features which don&#039;t translate to postscript, e.g. hyperlinks.&lt;/p&gt;

&lt;p&gt;Remember, this only works if you know the password for the &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;: it doesn&#039;t break the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;password for you.&lt;/p&gt;</description>
 <comments>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comments</comments>
 <category domain="http://www.townx.org/tech">tech</category>
 <category domain="http://www.townx.org/howtos">howtos</category>
 <pubDate>Sun, 12 Aug 2007 04:31:26 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">660 at http://www.townx.org</guid>
</item>
</channel>
</rss>

