I have a pdf file with confidential information on a usb flash drive. This document needs to be printed on a multi user Ubuntu system. I want to prevent other users from seeing the content of the document.
Assume the following procedure:
- The usb drive is inserted to the computer and mounted.
- The document is opened with
okular
orevince
and printed directly from the program. - The usb drive is unmounted and removed from the computer.
Question: What do I need to do to wipe any traces / copies of the document I printed?
First idea: I guess /tmp
would be a good place to look out for - though I do not know if there will be any copies stored there or at other places. Do I have to do additional steps to remove all traces / copies?
Further information: It is a local printer. Both me and other users have root privileges.
/var/spool/cups/
./var/spool/cups
!lpr
the pdf to the printer. This is then one less thing to worry about.lpr
is a good point. I assume that other users might carefully inspect all files on the drive after the printing and might even restore deleted files (so a thorough wipe is required), but I do not assume that they have made any preparations to preserve copies. Also, there is no access from other users to the computer between inserting and removing the usb drive / cleaning up.