| Category | shell |
| Added on | 2026-03-26 |
| Source | source |
$ pdftk [mydoc].pdf output [mydoc.128].pdf owner_pw [foo] user_pw [baz]
Both owner_pw and user_pw are needed.
From this page it seems that
owner_pw locks changing security settings;user_pw locks displaying the PDF without password.Additional permissions may be granted, see EXAMPLES in https://web.mit.edu/outland/arch/sun4x_58/build/pdftk-1.12/pdftk.1.html