Ireceived a secured pdf file, but I need to edit it and mail it. Is it possible to remove the password of a pdf file on Mac? You know I can't ask for the right password. Any help would be appreciated. Thanks.
All of these posts mentioning special software look to me like advertisements for software no one needs. All you have to do is (a) rename the file in Preview or (b) print PDF from Preview, or (c in Preview press File/Export as PDF. All of these remove the need for a password.
If you have the password and just want to save it as an unlocked .pdf, just open the password protected file (with the password) in Preview, choose Save, and change the name (don't select encrypt). The new .pdf file created should open without a password.
Remove pdf file password on Mac is not a easily question,unless you use some good tools or software,I know a tool can help you Remove pdf file password on Mac computer,you can try to try iStonsoft PDF Password Remover for Mac,This is a normal tool, very stable, simple operation, and fast speed,Believe it can help you Remove pdf file password on Mac and success!
Honestly, none of these programs mentioned above worked for me. May be they do not work with the latest version of protected PDF files. This is the only thing -pdf-restrictions-mac that helped me to get rid of pdf password restrictions on my MacBook Pro.
I've got lots of PDF files on my Mac computer, many of which contain passwords! This problem troubled me a lot when i wanted to use these files, but finally i found this guide - How to Unlock PDF Password on Mac, which solved my problems! And so i can now read them easily with the help of iPubsoft PDF Password Remover for Mac!
Yep, this works for me, no special tools required, so long as you already know the password and you just want to remove the protection from the PDF file. With OS X 10.10.1, I used Preview's File->Export as PDF... menu command to save the unprotected version.
I am the sole person using my system with 12.04.
Every time I issue a sudo command; the system asks for the user password (which is good in its own way).
However I was thinking; without activating the root account; how can I execute the sudo commands which will not ask for user password to authenticate.
NOTE: I want to execute sudo command without authenticating via password; only when they are executed via terminal.
I don't want to remove this extra layer of security from other functions such a while using 'Ubuntu software center' or executing a bash script by drag-drop something.sh file to the terminal.
Where $USER is your username on your system.Save and close the sudoers file (if you haven't changed your default terminal editor (you'll know if you have), press Ctl + x to exit nano and it'll prompt you to save).
where X is the timeout expiration in minutes. If you specify 0 you will always be asked the password. If you specify a negative value, the timeout will never expire. E.g. Defaults env_reset,timestamp_timeout=5.
(vi!) hit Escape to return to command mode. Now, if you're happy with your editing, type in :w Enter to write the file and :q Enter to exit vi. If you made a mistake, perhaps the easiest way is to redo from start, to exit without saving (hit Escape to enter the command mode) and then type :q! Enter.
Replace with your username (without the ). You can alternately use the group users or any other such group you are in if you prepend %. Just make sure you are in that group. This can be checked by going to System -> Administration -> Users and Groups.
Enabling the root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent root login, the best alternative is to simulate a Root login shell using the following command:
Another approach is to leave your sudoers file as is and, while doing something complicated to your umpteen hundred servers, enter sudo bash . That will give you a shell that will be authenticated as root until you exit it.
SECURITY CONSIDERATIONS: I agree there are some cases where an user with a password has little sense, and may also decrease security. For example, if you have a shared computer with dedicated admin accounts (trusted skilled coworkers, whatever) that access only via SSH keys: you already have military-level security, so, having an extra password may be not necessary, and it causes to have another secret to be kept secret. Do your evaluations. But in that case, or similar ones...
We have a number of documents that had been given to us password protected. We have the password for each document, but now we want to remove the protection so that our employees can freely access the PDF's on our fileserver. Is there a way or an open-source tool that can remove the protection? I want to emphasize that I am not looking for a cracker or something, we own the documents and have the passwords, we just want to avoid having to buy Acrobat to remove the protection.
Yes there is, as long as you are using a .xls format spreadsheet (the default for Excel up to 2003). For Excel 2007 onwards, the default is .xlsx, which is a fairly secure format, and this method will not work.
DISCLAIMER This worked for me and I have documented it here in the hope it will help someone out. I have not fully tested it. Please be sure to save all open files before proceeding with this option.
*NOTE: Be sure that you have changed the password to a new value, otherwise the next time you open the spreadsheet Excel will report errors (Unexpected Error), then when you access the list of VBA modules you will now see the names of the source modules but receive another error when trying to open forms/code/etc. To remedy this, go back to the VBA Project Properties and set the password to a new value. Save and re-open the Excel document and you should be good to go!
With my turn, this is built upon kaybee99's excellent answer which is built upon Đức Thanh Nguyễn's fantastic answer to allow this method to work with both 32/64 bit versions of Office.
Colin Pickard has an excellent answer, but there is one 'watch out' with this. There are instances (I haven't figured out the cause yet) where the total length of the "CMG=........GC=...." entry in the file is different from one excel file to the next. In some cases, this entry will be 137 bytes, and in others it will be 143 bytes. The 137 byte length is the odd one, and if this happens when you create your file with the '1234' password, just create another file, and it should jump to the 143 byte length.
This is not valid for Excel 2007/2010 files. The standard .xlsx file format is actually a .zip file containing numerous sub-folders with the formatting, layout, content, etc, stored as xml data. For an unprotected Excel 2007 file, you can just change the .xlsx extension to .zip, then open the zip file and look through all the xml data. It's very straightforward.
However, when you password protect an Excel 2007 file, the entire .zip (.xlsx) file is actually encrypted using RSA encryption. It is no longer possible to change the extension to .zip and browse the file contents.
It's simply a matter of changing the filename extension to .ZIP, unzipping the file, and using any basic Hex Editor (like XVI32) to "break" the existing password, which "confuses" Office so it prompts for a new password next time the file is opened.
Microsoft Office VBA Project passwords are not to be relied upon for security of any sensitive information. If security is important, use third-party encryption software.
In the event that your block of CMG="XXXX"\r\nDPB="XXXXX"\r\nGC="XXXXXX"in your 'known password' file is shorter than the existing block in the 'unknown password' file, pad your hex strings with trailing zeros to reach the correct length.
For Excel 2007 onward you need to change your file extension to .zipIn the archive there is a subfolder xl, in there you will find vbaProject.bin.Follow the step above with vbaProject.bin then save it back in the archive.Modify back your extension and voil! (meaning follow steps above)
Colin Pickard is mostly correct, but don't confuse the "password to open" protection for the entire file with the VBA password protection, which is completely different from the former and is the same for Office 2003 and 2007 (for Office 2007, rename the file to .zip and look for the vbaProject.bin inside the zip). And that technically the correct way to edit the file is to use a OLE compound document viewer like CFX to open up the correct stream. Of course, if you are just replacing bytes, the plain old binary editor may work.
If the file is a valid zip file (the first few bytes are 50 4B -- used in formats like .xlsm), then unzip the file and look for the subfile xl/vbaProject.bin. This is a CFB file just like the .xls files. Follow the instructions for the XLS format (applied to the subfile) and then just zip the contents.
Tom - I made a schoolboy error initially as I didn't watch the byte size and instead I copied and pasted from the "CMG" set up to the subsequent entry. This was two different text sizes between the two files, though, and I lost the VBA project just as Stewbob warned.
Using HxD, there is a counter tracking how much file you're selecting. Copy starting from CMG until the counter reads 8F (hex for 143) and likewise when pasting into the locked file - I ended up with twice the number of "..." at the end of the paste, which looked odd somehow and felt almost unnatural, but it worked.
3a8082e126