🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #89

Re: spam pdf, a safer way to view it using Firejail

#89
From: derlyne
Date: Sun, 11 Oct 2026 08:40
85 lines
5803 bytes
------=_Part_299485_22548958.1791706919658
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Until the community creates and maintains a Debian package for the =E2=80=
=9Cexperimental software=E2=80=9D presented earlier, Firejail remains a fle=
xible and cautious, though not foolproof, solution.


Oct 11, 2026, 06:18 by tomas@tuxteam.de:

> On Sun, Oct 11, 2026 at 07:31:12AM +0200, derlyne wrote:
>
>> sudo apt install firejail firejail-profiles
>> firejail --net=3Dnone evince ~/Downloads/file.pdf
>> (replace evince with the name of your viewer)
>> ----------------------Suspicious .pdf :Move the file to a dedicated fold=
er first, then use the `--private` option:
>> mkdir -p ~/pdf-to-open
>> cp ~/Downloads/file.pdf ~/pdf-to-open/
>> firejail --net=3Dnone --private=3D~/pdf-to-open evince ~/pdf-to-open/fil=
e.pdf
>>
>> a bit complicated no ?
>>
>
> That's what scripting is for. Hey, this is Linux!
>
>> ------------------------------... a virtual machine could be a better op=
tion ...
>>
>
> They do different things. Firejail is more akin to containers
> (separate namespaces, chroot, etc.) but you share the same
> kernel. VMs have separate kernels (at first blush, they are
> tighter, but OTOH much more complex, thus they bring along their
> whole share of vulnerabilities).
>
> Cheers
> --=20
> t
>


------=_Part_299485_22548958.1791706919658
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
<div dir=3D"auto">Until the community creates and maintains a Debian packag=
e for the =E2=80=9Cexperimental software=E2=80=9D presented earlier, Fireja=
il remains a flexible and cautious, though not foolproof, solution.<br></di=
v><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto"=
>Oct 11, 2026, 06:18 by tomas@tuxteam.de:<br></div><blockquote class=3D"tut=
anota_quote" style=3D"border-left: 1px solid #93A3B8; padding-left: 10px; m=
argin-left: 5px;"><div dir=3D"auto">On Sun, Oct 11, 2026 at 07:31:12AM +020=
0, derlyne wrote:<br></div><blockquote><div dir=3D"auto">sudo apt install f=
irejail firejail-profiles<br></div><div dir=3D"auto">firejail --net=3Dnone =
evince ~/Downloads/file.pdf<br></div><div dir=3D"auto">(replace evince with=
 the name of your viewer)<br></div><div dir=3D"auto">----------------------=
Suspicious .pdf :Move the file to a dedicated folder first, then use the `-=
-private` option:<br></div><div dir=3D"auto">mkdir -p ~/pdf-to-open<br></di=
v><div dir=3D"auto">cp ~/Downloads/file.pdf ~/pdf-to-open/<br></div><div di=
r=3D"auto">firejail --net=3Dnone --private=3D~/pdf-to-open evince ~/pdf-to-=
open/file.pdf<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">a bit =
complicated no ?<br></div></blockquote><div dir=3D"auto"><br></div><div dir=
=3D"auto">That's what scripting is for. Hey, this is Linux!<br></div><block=
quote>------------------------------... a virtual machine could be a better=
 option ...<br></blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">T=
hey do different things. Firejail is more akin to containers<br></div><div =
dir=3D"auto">(separate namespaces, chroot, etc.) but you share the same<br>=
</div><div dir=3D"auto">kernel. VMs have separate kernels (at first blush, =
they are<br></div><div dir=3D"auto">tighter, but OTOH much more complex, th=
us they bring along their<br></div><div dir=3D"auto">whole share of vulnera=
bilities).<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Cheers<br=
></div><div dir=3D"auto">-- <br></div><div dir=3D"auto">t<br></div></blockq=
uote><div dir=3D"auto"><br></div>  </body>
</html>

------=_Part_299485_22548958.1791706919658--
Technical Details
Message-ID: <NMXg5-4QR7-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NMUBz-4PuO-1@gated-at.bofh.it> <NMV4B-4PP7-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: derlyne <heck-schneider@tutamail.com>
Newsgroups: linux.debian.user
Subject: Re: spam pdf, a safer way to view it using Firejail
Date: Sun, 11 Oct 2026 10:40:01 +0200
Message-ID: <NMXg5-4QR7-5@gated-at.bofh.it>
References: <NMUBz-4PuO-1@gated-at.bofh.it> <NMV4B-4PP7-3@gated-at.bofh.it>
X-Original-To: Tomas <tomas@tuxteam.de>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sun Oct 11 08:39:08 2026
Old-Return-Path: <heck-schneider@tutamail.com>
X-Amavis-Spam-Status: No, score=-2.797 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_299485_22548958.1791706919658"
Feedback-ID: 019f123c3f30fe49c0e4304937b5fbf68b92066f0b70d7d91a8009b8f82ae2b51837238dc60dfd0136573ee871c2b4c9575d0ede9d6b0180acfc4d096dc761fff5:TurnOnPrivacy!:tutamail
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832362
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/P3e2QNJ--F-9@tutamail.com
Approved: robomod@news.nic.it
Lines: 85
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Debian User <debian-user@lists.debian.org>
X-Original-Date: Sun, 11 Oct 2026 10:21:59 +0200 (CEST)
X-Original-Message-ID: <P3e2QNJ--F-9@tutamail.com>
X-Original-References: <P3dRKQu--c-9@tutamail.com> <assqI3lnNJsujNhC@tuxteam.de>