From: cattyhouse <cattyhouse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: openssh: fix default path
Date: Thu, 27 Apr 2023 14:57:45 +0200 [thread overview]
Message-ID: <20230427125745.N68CBK6bLuGwjV6ZHCPDBc5wzah8R3y8-SMrmPn6c8Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43338@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
There's a closed pull request on the void-packages repository
openssh: fix default path
https://github.com/void-linux/void-packages/pull/43338
Description:
set default path to '/usr/local/sbin:/usr/local/bin:/usr/bin'.
by default, openssh's default path is `/usr/bin:/bin:/usr/sbin:/sbin`, according to `appendpath` function in `/etc/profile`, /usr/local/{bin,sbin} will be append to the end of user's $PATH when it is a **ssh connection**. This fixes the issue.
[ref1 : archlinux](https://github.com/archlinux/svntogit-packages/blob/0a37d1bd869f9f1e4e6f9d6f5b249510f84140f0/trunk/PKGBUILD#L79)
[ref2 : alpine linux](https://git.alpinelinux.org/aports/tree/main/openssh/APKBUILD#n116)
@leahneukirchen @classabbyamp
prev parent reply other threads:[~2023-04-27 12:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 3:42 [PR PATCH] " cattyhouse
2023-04-08 16:29 ` cattyhouse
2023-04-08 16:47 ` [PR PATCH] [Updated] " cattyhouse
2023-04-08 17:02 ` cattyhouse
2023-04-10 2:24 ` abenson
2023-04-10 2:49 ` cattyhouse
2023-04-10 2:55 ` abenson
2023-04-10 3:04 ` cattyhouse
2023-04-27 12:57 ` cattyhouse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230427125745.N68CBK6bLuGwjV6ZHCPDBc5wzah8R3y8-SMrmPn6c8Y@z \
--to=cattyhouse@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).