From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [STABLE][PATCH] /etc/profile: stricter root PATH - require absolute pathname for bins in cwd
Date: Tue, 30 Jun 2009 20:15:18 +0200 [thread overview]
Message-ID: <h2dknm$t4n$1@ger.gmane.org> (raw)
In-Reply-To: <20090629174435.GD5905@denix.org>
On 29-06-09 19:44, Denys Dmytriyenko wrote:
> On Wed, Jun 24, 2009 at 06:23:57PM -0400, Denys Dmytriyenko wrote:
>> Having current directory (either '.' or empty string) in PATH is considered
>> dangerous for root.
>>
>> Signed-off-by: Denys Dmytriyenko<denis@denix.org>
>> Acked-by: Phil Blundell<philb@gnu.org>
>> Acked-by: Koen Kooi<koen@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
>> ---
>> recipes/base-files/base-files/profile | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/base-files/base-files/profile b/recipes/base-files/base-files/profile
>> index 5797535..b5ce69d 100644
>> --- a/recipes/base-files/base-files/profile
>> +++ b/recipes/base-files/base-files/profile
>> @@ -12,7 +12,7 @@ if [ ! -e /etc/localtime ]; then
>> fi
>>
>> if [ "`id -u`" -eq 0 ]; then
>> - PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
>> + PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
>> fi
>> if [ "$PS1" ]; then
>> # works for bash and ash (no other shells known to be in use here)
>> --
>> 1.6.0.6
>>
>
> ping?
next prev parent reply other threads:[~2009-06-30 18:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 17:44 RFC: [PATCH] /etc/profile: stricter root PATH - require absolute pathname for bins in cwd Denys Dmytriyenko
2009-06-22 18:09 ` Phil Blundell
2009-06-22 18:31 ` Koen Kooi
2009-06-22 19:47 ` Marcin Juszkiewicz
2009-06-24 5:56 ` RFC: [PATCH] /etc/profile: stricter root PATH -requireabsolute " Douglas Royds
2009-06-24 22:23 ` [STABLE][PATCH] /etc/profile: stricter root PATH - require absolute " Denys Dmytriyenko
2009-06-29 17:44 ` Denys Dmytriyenko
2009-06-30 18:15 ` Koen Kooi [this message]
2009-07-14 12:39 ` Marcin Juszkiewicz
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='h2dknm$t4n$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.