<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://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://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>The pdftops and pstopdf</title>
 <link>http://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://townx.org</guid>
</item>
<item>
 <title>nice</title>
 <link>http://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://townx.org</guid>
</item>
<item>
 <title>Just reprint as PDF?</title>
 <link>http://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://townx.org</guid>
</item>
<item>
 <title>That&#039;s a tip FTW. Thx man.</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-40296</link>
 <description>&lt;p&gt;That&#039;s a tip &lt;span class=&quot;caps&quot;&gt;FTW.&lt;/span&gt; Thx man. How I&#039;m not thought this before? &lt;/p&gt;</description>
 <pubDate>Sat, 30 Jan 2010 15:08:38 -0600</pubDate>
 <dc:creator>fscosta</dc:creator>
 <guid isPermaLink="false">comment 40296 at http://townx.org</guid>
</item>
<item>
 <title>Thanks elliot.</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-40238</link>
 <description>&lt;p&gt;Thanks elliot.&lt;/p&gt;</description>
 <pubDate>Thu, 07 Jan 2010 15:42:25 -0600</pubDate>
 <dc:creator>Guest101</dc:creator>
 <guid isPermaLink="false">comment 40238 at http://townx.org</guid>
</item>
<item>
 <title>Thank you!</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-40106</link>
 <description>&lt;p&gt;Thank you!&lt;/p&gt;</description>
 <pubDate>Mon, 23 Nov 2009 10:20:15 -0600</pubDate>
 <dc:creator>jarlz0r</dc:creator>
 <guid isPermaLink="false">comment 40106 at http://townx.org</guid>
</item>
<item>
 <title>This helped me</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-39913</link>
 <description>&lt;p&gt;This helped me ... Thanks&lt;/p&gt;</description>
 <pubDate>Wed, 23 Sep 2009 11:16:17 -0500</pubDate>
 <dc:creator>Michel</dc:creator>
 <guid isPermaLink="false">comment 39913 at http://townx.org</guid>
</item>
<item>
 <title>+1 for qpdf</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-39844</link>
 <description>&lt;p&gt;qpdf ftw! works like a charm, and keeps all the fancy pdf attributes like index etc.&lt;/p&gt;</description>
 <pubDate>Thu, 27 Aug 2009 17:15:19 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 39844 at http://townx.org</guid>
</item>
<item>
 <title>Ubuntu</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-39642</link>
 <description>&lt;p&gt;I don&#039;t know about the other distro&#039;s but in Ubuntu but if you know the password you can simply open up the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;and then print to file (pdf)&lt;/p&gt;</description>
 <pubDate>Thu, 18 Jun 2009 09:21:31 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 39642 at http://townx.org</guid>
</item>
<item>
 <title>Thanks</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-39562</link>
 <description>&lt;p&gt;It was really handy thanks&lt;/p&gt;</description>
 <pubDate>Fri, 05 Jun 2009 09:56:41 -0500</pubDate>
 <dc:creator>Eka</dc:creator>
 <guid isPermaLink="false">comment 39562 at http://townx.org</guid>
</item>
<item>
 <title>Glad to be of assistance :)</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-38910</link>
 <description>&lt;p&gt;Glad to be of assistance :)&lt;/p&gt;</description>
 <pubDate>Sun, 01 Mar 2009 17:07:08 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38910 at http://townx.org</guid>
</item>
<item>
 <title>opensuse works great</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-38902</link>
 <description>&lt;p&gt;opensuse 11.1 &lt;span class=&quot;caps&quot;&gt;KDE &lt;/span&gt;version has &lt;span class=&quot;caps&quot;&gt;ALL &lt;/span&gt;of those programs already pre-installed. This tut worked perfectly for my password protected &lt;span class=&quot;caps&quot;&gt;PDF.&lt;/span&gt; Thanks for posting!&lt;/p&gt;

&lt;p&gt;Felipe&lt;/p&gt;</description>
 <pubDate>Fri, 27 Feb 2009 20:40:47 -0600</pubDate>
 <dc:creator>Felipe Alvarez</dc:creator>
 <guid isPermaLink="false">comment 38902 at http://townx.org</guid>
</item>
<item>
 <title>Sounds like a good solution.</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-38491</link>
 <description>&lt;p&gt;Sounds like a good solution.&lt;/p&gt;</description>
 <pubDate>Mon, 29 Sep 2008 13:39:25 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38491 at http://townx.org</guid>
</item>
<item>
 <title>wine app</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-38490</link>
 <description>&lt;p&gt;Hi, I tried using the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;to PS then PS to &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;method but I found the resulting pdf quality unsatisfactory, ( loss of bookmarks navigation, page sizing wrong, resolution pixelated etc...)&lt;/p&gt;

&lt;p&gt;I ended up using this windows app:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.a-pdf.com/security/restrictions_remover.htm&quot; title=&quot;http://www.a-pdf.com/security/restrictions_remover.htm&quot;&gt;http://www.a-pdf.com/security/restrictions_remover.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and installed it on Ubuntu under Wine ( &lt;a href=&quot;https://help.ubuntu.com/community/Wine&quot; title=&quot;https://help.ubuntu.com/community/Wine&quot;&gt;https://help.ubuntu.com/community/Wine&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;The pdf tool trial version is fully functional for 15 days&lt;/p&gt;

&lt;p&gt;It worked fine and was a very simple process.&lt;/p&gt;

&lt;p&gt;The resulting &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;was unlocked and a perfect clone of the original.&lt;/p&gt;

&lt;p&gt;Note: I used this on an E-Book I&#039;ve just purchased and have the rights to. I just don&#039;t like entering my password everytime I open it! :-)&lt;/p&gt;</description>
 <pubDate>Mon, 29 Sep 2008 04:34:57 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 38490 at http://townx.org</guid>
</item>
<item>
 <title>what permissions</title>
 <link>http://townx.org/blog/elliot/removing-password-pdf-linux#comment-38468</link>
 <description>&lt;p&gt;does this pdftops,pstopdf scheme allow me to modify the permissions of the file? for example, if the &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;does not allow me to print me, can I modify this setting?&lt;/p&gt;</description>
 <pubDate>Tue, 16 Sep 2008 04:23:43 -0500</pubDate>
 <dc:creator>Adolix Split &amp; Merge PDF</dc:creator>
 <guid isPermaLink="false">comment 38468 at http://townx.org</guid>
</item>
<item>
 <title>Removing a password from a PDF on Linux</title>
 <link>http://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://townx.org/blog/elliot/removing-password-pdf-linux#comments</comments>
 <category domain="http://townx.org/tech">tech</category>
 <category domain="http://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://townx.org</guid>
</item>
</channel>
</rss>
