Two ways to remove pdf passwords from Linux

  
                

In the Linux system, for some reasons, the password is set for the pdf file, but the password is too much to remember, and you want to remove the set password. The following small series will introduce you to Linux to delete the pdf password. Two big methods.

Methods:

Method One: Open the pdf document using evince document viewer, enter the password, and then select File -> Print - "Select & ldquo; Print to File & rdquo; -" The output format is selected pdf-"Click to print, so the password of the output pdf file is removed.

Method 2: Use ghostscript to remove pdf file passwords

Execution:

pdftops -upw your-pdf-paswsword input.pdf input.ps

An input.ps file will be generated

Execution:

ps2pdf input.ps output.pdf

The password of the newly generated output.pdf file has been removed.

The above is the introduction of Linux to delete the pdf password. The first method is to remove the pdf password through the evince article reader. The second method is to use ghostscript to operate. In contrast, the method is simpler.

Copyright © Windows knowledge All Rights Reserved