From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 22:05:01 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C834B38; Fri, 12 Sep 2014 22:05:01 +0000 (UTC) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34850FD2; Fri, 12 Sep 2014 22:05:01 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id kq14so2162581pab.33 for ; Fri, 12 Sep 2014 15:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=hBPKsbPicBvp3ABzZBz7E1fgjn1pTioW6TH2F3e4AAY=; b=GbShbqVEKx3mI7UbfkPIwZCXVKnA4mEH8JoKguKHKr9e/gyxhPxzQipcGD5fjmlJxU I/5AkWKguVUjjbHXFDX8eA3A9PpHZrhWqUwp8O7ku1/Q1tpwWzH5h9lyasG1NlQTvmkC gU/gOEFB2C5xzMsFp3DK00zVCWu3Vi5yhZyrJjyki3DpvtmSEBsyEMdZiVtJ3xRaKMgZ lCjdkjSvmtwle6DvaDsmgvHUPJVkIoFEBs2GUmnxy9VQDUONWLb/pl4yIb1T5vqQJ+Uy 5eKnUQsXQ/DBvg/MnzGlEm+d9EN8S06vHHuYVj0cqCFndpKzs8ZeW3iVwrpQO9w3J6Gc PBFA== X-Received: by 10.66.229.8 with SMTP id sm8mr16398179pac.66.1410559500826; Fri, 12 Sep 2014 15:05:00 -0700 (PDT) Received: from [192.168.242.58] (c-67-182-131-225.hsd1.wa.comcast.net. [67.182.131.225]) by mx.google.com with ESMTPSA id x3sm4854476pdq.10.2014.09.12.15.04.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Sep 2014 15:04:59 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? From: Garrett Cooper In-Reply-To: Date: Fri, 12 Sep 2014 15:04:57 -0700 Message-Id: <756A4BFA-6BFB-4008-8B5E-85A2EBBBA1BD@gmail.com> References: <20140912214004.GT6096@ivaldir.etoilebsd.net> To: Benjamin Kaduk X-Mailer: Apple Mail (2.1878.6) Cc: "Rang, Anton" , freebsd-current Current , ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 22:05:01 -0000 --Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 12, 2014, at 14:53, Benjamin Kaduk wrote: > On Fri, 12 Sep 2014, Rang, Anton wrote: >=20 >>> If you want interoperability just use /usr/bin/env bash as a = shebang. >>=20 >> That doesn't work for this use case -- the user shell coming from = LDAP >> -- but I agree that the port shouldn't be modifying /usr/bin. >=20 > Here at MIT, where our Athena environment has a long history of = providing > a consistent experience across many different platforms, we ended up > limiting the login shells a user could select, to a whitelist we = provide > (/bin/sh, /usr/athena/bin/bash, and /usr/athena/bin/tcsh). (The = latter > two are now symlinks to the normal system shells, but they used to be > custom binaries.) >=20 > Some people did not like being so restricted, and set their login = shell to > /bin/sh, with logic in their dotfiles to re-exec a different shell > depending on the current runtime environment. +1 user rc files (not that it would fix this particular case...): - = https://github.com/yaneurabeya/scratch/blob/master/bayonetta/home/ngie/dot= .bashrc - = https://github.com/yaneurabeya/scratch/blob/master/bayonetta/home/ngie/dot= .shrc-local Cheers, -Garrett --Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUE24JAAoJEMZr5QU6S73e8HEH/18lYVZ57uiTR2G7dc/09dlI Pvhma7ktGMRmH5mD6Mk6zCUPM9jwc7ju8HZ4Kt7falB41Nvzb/9uGcY4SmwVJfXt h1491edCcpk0r51W/v5vEFGzYAlQ/LbLfZVTOQzelbJap+ktOKIQW7NxXZW9Ducs OdNzKpSJ5/Px1iP5PpgCC85Upcn7MARORJfmPGJnavPz7ltn0fszG1KJghWDqT+S TzoogdZPfAUtGtq3v7fpRivhlAWTaOL7lFm/Vo3ENmApEpLMGSl065SEppFxK+pJ L6IaWlPYe88YELWl3T/YQDo1FkQSyjEWN1XWvNXeTuZiWC0ynMu2L5i1CFJU6cU= =yJPB -----END PGP SIGNATURE----- --Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1--