Hi,
a Goggle search turned up a tool called pdftk which seems to do the job. I tried the following:
$sudo aptitude install pdftk
$pdftk report.pdf output report_pw.128.pdf owner_pw robinson user_pw friday
$pdfinfo -upw friday report_pw.128.pdf
Title:
Subject:
Keywords:
Author:
Creator:
Producer: iText 2.1.5 (by
lowagie.com)
CreationDate: Thu Feb 4 15:33:40 2016
ModDate: Thu Feb 4 15:33:40 2016
Tagged: no
UserProperties: no
Suspects: no
Form: none
JavaScript: no
Pages: 3
Encrypted: yes (print:no copy:no change:no addNotes:no algorithm:RC4)
Page size: 595.28 x 841.89 pts (A4)
Page rot: 0
File size: 68573 bytes
Optimized: no
PDF version: 1.4
Kind Regards,
Alex