Setting Password For PDF File--Linux | Unix Linux Forums | Red Hat

  Go Back    

Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Setting Password For PDF File--Linux

Red Hat

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 12-18-2012
MKR MKR is offline
Registered User
Join Date: Dec 2012
Last Activity: 6 July 2013, 12:22 AM EDT
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
RedHat Setting Password For PDF File--Linux


I am in need of help. My requirements are :
1) To convert the existing files (irrespective of their format) in a directory to PDF format
2) To make the converted files password protected.

I did the attempt to do the same. Though the existing files (irrespective of their format) are getting converted to pdf, but when I take the the to local desktop, it is not opening as its pops "format not supported".
I did as " mv $i* $i.pdf " (variable i which holds the existing file name alone).
I have no idea how to make it password protected.

Please help me asap.
Sponsored Links
Old 12-18-2012
Yoda's Avatar
Yoda Yoda is offline Forum Advisor  
Jedi Master
Join Date: Jan 2012
Last Activity: 24 February 2015, 2:15 PM EST
Location: Galactic Empire
Posts: 3,401
Thanks: 240
Thanked 1,215 Times in 1,141 Posts
Just renaming the file by changing the extension to .pdf will not convert a file to PDF. You have to use an app, for example: text2pdf to convert a text file to PDF.

For applying password on your PDF file, you can install and use pdftk . A simple google search will yield results on how to use this app to apply password.

I hope this helps.
The Following User Says Thank You to Yoda For This Useful Post:
MKR (12-18-2012)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
default password setting cjashu Solaris 1 04-10-2012 01:58 PM
setting password in ldap programAngel UNIX for Advanced & Expert Users 0 01-13-2011 06:14 AM
Linux C - how to open a pdf file with default reader sunardo Programming 3 03-21-2010 08:18 PM
Password Setting mlsun Solaris 6 03-10-2009 10:11 PM
Help in setting up password without Interaction. syedifti UNIX for Dummies Questions & Answers 3 10-06-2001 05:11 PM

All times are GMT -4. The time now is 09:54 AM.