How to password protect a PDF document (on linux OS)

Install pdftk if needed

pdftk <source>.pdf output <destination>.pdf userpw <password>

example:

pdftk Mydocs.pdf output Mydocs_pass.pdf userpw secretword