svn commit: r343440 - head/bin/sh

Conrad Meyer cem at freebsd.org
Sat Jan 26 19:11:27 UTC 2019


I didn't really feel the need to weigh in on this bikeshed thread
previously, but apparently some folks are calling for a revert.  Why?
I don't really understand how this meets the high bar for summary
revert, even if you disagree with the change made (and disagreement is
fine, of course).

So I'll raise my hand for "leave it in" and encourage talking out your
bikeshed.  It would be persuasive to come up with a specific list of
complaints, ideally excluding ones that have been shown to be
baseless.  So far there has been a lot of mudslinging and it's
difficult to sort out the preference complaints from the security
complaints from the (well-intentioned, but ultimately inaccurate)
fiction.  I don't think a "heckler's veto" should be granted.

If you don't use root/toor, that's fine!  But I think that sort of
(heavily) discounts how much weight your opinion of root/toor defaults
should be given.

If you use Expect, great.  You should be setting a specific PS1 anyway
(both before and after this change).  After all, this is just the
default.  Users have been free to set a custom PS1 for root in
.profile since time began.

Has anyone verified the claim that freebsd-update will actually modify
a user's home directory contents, or was that just speculation?  I
don't know one way or the other and I think it's still an open
question.

Best regards,
Conrad

On Fri, Jan 25, 2019 at 9:09 AM Edward Tomasz Napierala
<trasz at freebsd.org> wrote:
>
> Author: trasz
> Date: Fri Jan 25 17:09:26 2019
> New Revision: 343440
> URL: https://svnweb.freebsd.org/changeset/base/343440
>
> Log:
>   Comment out the default sh(1) aliases for root, introduced in r343416.
>   The rest of this stuff is still to be discussed, but I think at this
>   point we have the agreement that the aliases should go.
>
>   MFC after:    2 weeks
>   Sponsored by: DARPA, AFRL
>
> Modified:
>   head/bin/sh/dot.shrc
>
> Modified: head/bin/sh/dot.shrc
> ==============================================================================
> --- head/bin/sh/dot.shrc        Fri Jan 25 17:08:28 2019        (r343439)
> +++ head/bin/sh/dot.shrc        Fri Jan 25 17:09:26 2019        (r343440)
> @@ -18,13 +18,13 @@
>  # set -o vi
>
>
> -# some useful aliases
> -alias h='fc -l'
> -alias j=jobs
> -alias m="$PAGER"
> -alias ll='ls -laFo'
> -alias l='ls -l'
> -alias g='egrep -i'
> +# # some useful aliases
> +# alias h='fc -l'
> +# alias j=jobs
> +# alias m="$PAGER"
> +# alias ll='ls -laFo'
> +# alias l='ls -l'
> +# alias g='egrep -i'
>
>  # # be paranoid
>  # alias cp='cp -ip'
>


More information about the svn-src-all mailing list