Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)



On Wed, 21 Jun 2023 19:26:55 -0400
Dan Ritter <dsr at randomstring.org> wrote:

> If you're packaging for a particular distro, you know where they
> put it.

For systems that implement merged /usr you just use /usr/bin/perl. For
systems with optional merged /usr then your post-install scripts will
need to adjust the interpreter line appropriately to match the OS.

#!/usr/bin/env perl is often used but it is not secure, and I advise
against it.

-- 
\m/ (--) \m/



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org